于 2011年10月29日 03:46, Eric Blake 写道:
On 10/28/2011 03:57 AM, Xu He Jie wrote:
Then can't startup qemu, the error message as below:
virsh # start test-vm
error: Failed to start domain test-vm
error: internal error process exited while connecting to monitor:
qemu-system-x86_64: -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3: PCI: slot 3
function 0 not available for virtio-balloon-pci, in use by
virtio-blk-pci
qemu-system-x86_64: -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3: Device
'virtio-balloon-pci' could not be initialized
So adding check for bus type and address type. Only the address of
pci type support by virtio bus.
Signed-off-by: Xu He Jie<xuhj@xxxxxxxxxxxxxxxxxx>
---
src/qemu/qemu_command.c | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
Looks better, and passed testing.
ACK and pushed.
Thanks.
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list