Boot up guest with 232 virtio-blk disk, qemu will abort for fail to
allocate ioeventfd. This patchset changes kvm_has_many_ioeventfds(),
and check if available ioeventfd exists. If not, virtio-pci will
fallback to userspace, and don't use ioeventfd for io notification.
---
Amos Kong (2):
return available ioeventfds count in kvm_has_many_ioeventfds()
virtio-pci: fallback to userspace when there is no enough available
ioeventfd
hw/virtio-pci.c | 5 ++++-
kvm-all.c | 9 +++------
2 files changed, 7 insertions(+), 7 deletions(-)
--
Amos Kong