diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-01-10 13:50:05 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-01-10 14:44:16 +0200 |
commit | d2f2b8a740c82319f9eea51ebed50815fbc3da3e (patch) | |
tree | c4ef0f8473f35374ce472fd9212596d2a45cce3f /hw/ide/cmd646.c | |
parent | 85cf2a8d7435754f685a26f95dcb43a93a84ff60 (diff) | |
download | hqemu-d2f2b8a740c82319f9eea51ebed50815fbc3da3e.zip hqemu-d2f2b8a740c82319f9eea51ebed50815fbc3da3e.tar.gz |
kvm: test for ioeventfd support on old kernels
There used to be a limit of 6 KVM io bus devices in the kernel.
On such a kernel, we can't use many ioeventfds for host notification
since the limit is reached too easily.
Add an API to test for this condition.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/ide/cmd646.c')
0 files changed, 0 insertions, 0 deletions