Chris, Thanks very much for you kind help. I can't find hw/device-assignment.c in the qemu.git tree. Avi, I clone qemu from git://github.com/avikivity/qemu.git So device assignment is not available. But qemu-kvm.git has device-assignment code before kernel.org is down. Any update for this issue?
Best Regards, Yongjie Ren (Jay) > -----Original Message----- > From: Chris Wright [mailto:chr...@sous-sol.org] > Sent: Thursday, September 29, 2011 8:57 AM > To: Ren, Yongjie > Cc: KVM General > Subject: Re: how to assign a pci device to guest [with qemu.git upstream]? > > * Ren, Yongjie (yongjie....@intel.com) wrote: > > 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. > > Looks like you don't have device assignment support compiled in. > Start with the basics (assuming tree has hw/device-assignment.c): > > did your ./configure output show: > > KVM device assig. yes > > and does your binary agree? > > qemu-system-x86_64 -device ? 2>&1 | grep pci-assign > > thanks, > -chris -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html