pci-assign: Catch missing KVM support
commit420fe74769cc67baec6f3d962dc054e2972ca3ae
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 7 Nov 2010 13:08:01 +0000 (7 14:08 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 9 Nov 2010 10:43:15 +0000 (9 12:43 +0200)
tree2b2cab5a9dcebe5d162e6588d6cfc64c8b592c15
parentb2ca03af8204d79b8c290cadbd2e4442a7281b64
pci-assign: Catch missing KVM support

Report an error instead of raising a SEGV when a pci-assign device is
about to be initialized without KVM enabled.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/device-assignment.c