[Qemu-devel] Re: [PATCHv2 02/12] kvm: add API to set ioeventfd

2010-03-02 Thread Michael S. Tsirkin
On Thu, Feb 25, 2010 at 01:19:30PM -0600, Anthony Liguori wrote: > On 02/25/2010 12:28 PM, Michael S. Tsirkin wrote: >> Comment on kvm usage: rather than require users to do if (kvm_enabled()) >> and/or ifdefs, this patch adds an API that, internally, is defined to >> stub function on non-kvm build

[Qemu-devel] Re: [PATCHv2 02/12] kvm: add API to set ioeventfd

2010-02-25 Thread Anthony Liguori
On 02/25/2010 12:28 PM, Michael S. Tsirkin wrote: Comment on kvm usage: rather than require users to do if (kvm_enabled()) and/or ifdefs, this patch adds an API that, internally, is defined to stub function on non-kvm build, and checks kvm_enabled for non-kvm run. While rest of qemu code still u