All of lore.kernel.org
 help / color / mirror / Atom feed
* how to assign a pci device to guest [with qemu.git upstream]?
@ 2011-09-25  3:48 Ren, Yongjie
  2011-09-29  0:56 ` Chris Wright
  0 siblings, 1 reply; 7+ messages in thread
From: Ren, Yongjie @ 2011-09-25  3:48 UTC (permalink / raw)
  To: KVM General

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)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-10-02 10:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-25  3:48 how to assign a pci device to guest [with qemu.git upstream]? Ren, Yongjie
2011-09-29  0:56 ` Chris Wright
2011-09-29  3:04   ` Ren, Yongjie
2011-09-29  3:59     ` Chris Wright
2011-09-29  4:33       ` Chris Wright
2011-09-29  5:28         ` Ren, Yongjie
2011-10-02 10:00           ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.