]> git.proxmox.com Git - mirror_qemu.git/commit - kvm-all.c
kvm: add detail error message when fail to add ioeventfd
authorAmos Kong <akong@redhat.com>
Wed, 22 May 2013 04:57:35 +0000 (12:57 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 3 Jul 2013 08:38:19 +0000 (10:38 +0200)
commitfa4ba923bd539647ace9d70d226a848bd6a89dac
treec0e13b09fdc311891fce46093c942f9ab63fecaa
parent1acd5a373905ddb28957842256a038956941f332
kvm: add detail error message when fail to add ioeventfd

I try to hotplug 28 * 8 multiple-function devices to guest with
old host kernel, ioeventfds in host kernel will be exhausted, then
qemu fails to allocate ioeventfds for blk/nic devices.

It's better to add detail error here.

Signed-off-by: Amos Kong <akong@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
kvm-all.c