Only call kvm_set_irqfd() if CONFIG_KVM is defined
commitfee8dc4956f4608f514cf41639873613b0f53b70
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 22 Jun 2010 12:25:39 +0000 (22 14:25 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 22 Jun 2010 12:40:16 +0000 (22 15:40 +0300)
treea2b51c0f1fbb25fd11c0701a74a253bf2def0936
parent97011c7fce92f8c0928c9e94e9896f0dca1bdeb9
Only call kvm_set_irqfd() if CONFIG_KVM is defined

This avoids breaking the build for non KVM targets where
kvm_set_irqfd() is not defined.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/virtio-pci.c