Re: [Qemu-devel] [PATCH for-1.3] vfio-pci: Fix KVM disabled path

2012-11-30 Thread Peter Maydell
On 27 November 2012 19:45, Alex Williamson alex.william...@redhat.com wrote: kvm_check_extension() explodes when KVM isn't enabled so we need to first test whether KVM is enabled. Use kvm_irqchip_in_kernel() for this since it matches the test we do before using this result. ---

Re: [Qemu-devel] [PATCH for-1.3] vfio-pci: Fix KVM disabled path

2012-11-30 Thread Alex Williamson
On Fri, 2012-11-30 at 18:57 +, Peter Maydell wrote: On 27 November 2012 19:45, Alex Williamson alex.william...@redhat.com wrote: kvm_check_extension() explodes when KVM isn't enabled so we need to first test whether KVM is enabled. Use kvm_irqchip_in_kernel() for this since it matches

[Qemu-devel] [PATCH for-1.3] vfio-pci: Fix KVM disabled path

2012-11-27 Thread Alex Williamson
kvm_check_extension() explodes when KVM isn't enabled so we need to first test whether KVM is enabled. Use kvm_irqchip_in_kernel() for this since it matches the test we do before using this result. Signed-off-by: Alex Williamson alex.william...@redhat.com --- hw/vfio_pci.c |3 ++- 1 file