mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
virtio-ccw: Wire up ioeventfd.
On hosts that support ioeventfd, make use of it for host-to-guest notifications via diagnose 500. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
This commit is contained in:
parent
6504a93011
commit
b4436a0b4d
6 changed files with 161 additions and 1 deletions
|
@ -68,7 +68,7 @@ int css_create_css_image(uint8_t cssid, bool default_image)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static uint16_t css_build_subchannel_id(SubchDev *sch)
|
||||
uint16_t css_build_subchannel_id(SubchDev *sch)
|
||||
{
|
||||
if (channel_subsys->max_cssid > 0) {
|
||||
return (sch->cssid << 8) | (1 << 3) | (sch->ssid << 1) | 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue