how to assign a pci device to guest [with qemu.git upstream]?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,
I'm using kvm and qemu upstream on https://github.com/avikivity
The following command line was right for me about three weeks ago, but now I meet some error.
# qemu-system-x86_64 -m 1024 -smp 2 -device pci-assign,host=0e:00.0 -hda /root/rhel6u1.img
output error is like following.
qemu-system-x86_64: -device pci-assign,host=0d:00.0: Parameter 'driver' expects a driver name
Try with argument '?' for a list.

But I found the qemu document docs/qdev-device-use.txt said the following.
"The new way is
    -device pci-assign,host=ADDR,iommu=IOMMU,id=ID "
Even if I add "iommu=IOMMU,id=ID" to my command line, I will meet the same error.

I also found this page said the same command line with mine. 
http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM

Anybody know what's wrong with my command line? or this is a qemu bug ? thanks very much.

Best Regards,
     Yongjie Ren  (Jay)
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux