[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH v3 3/3] virtio-pci: Don't use ioeventfd on old k
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] Re: [PATCH v3 3/3] virtio-pci: Don't use ioeventfd on old kernels |
Date: |
Fri, 12 Nov 2010 14:00:04 +0000 |
On Fri, Nov 12, 2010 at 1:24 PM, Stefan Hajnoczi
<address@hidden> wrote:
> @@ -1046,6 +1087,11 @@ int kvm_has_xcrs(void)
> return kvm_state->xcrs;
> }
>
> +int kvm_has_many_ioeventfds(void)
> +{
> + return kvm_state->many_ioeventfds;
> +}
> +
Missing if (!kvm_enabled()) { return 0; }. Will fix in next version,
would still appreciate review comments on any other aspect of the
patch.
Stefan