Revision c8852121 hw/vhost.c
b/hw/vhost.c | ||
---|---|---|
515 | 515 |
file.fd = event_notifier_get_fd(virtio_queue_get_host_notifier(vvq)); |
516 | 516 |
r = ioctl(dev->control, VHOST_SET_VRING_KICK, &file); |
517 | 517 |
if (r) { |
518 |
r = -errno; |
|
518 | 519 |
goto fail_kick; |
519 | 520 |
} |
520 | 521 |
|
521 | 522 |
file.fd = event_notifier_get_fd(virtio_queue_get_guest_notifier(vvq)); |
522 | 523 |
r = ioctl(dev->control, VHOST_SET_VRING_CALL, &file); |
523 | 524 |
if (r) { |
525 |
r = -errno; |
|
524 | 526 |
goto fail_call; |
525 | 527 |
} |
526 | 528 |
|
Also available in: Unified diff