From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wright Subject: Re: how to assign a pci device to guest [with qemu.git upstream]? Date: Wed, 28 Sep 2011 17:56:47 -0700 Message-ID: <20110929005647.GD19141@sequoia.sous-sol.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: KVM General To: "Ren, Yongjie" Return-path: Received: from sous-sol.org ([216.99.217.87]:44009 "EHLO sequoia.sous-sol.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754101Ab1I2A4z (ORCPT ); Wed, 28 Sep 2011 20:56:55 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: * Ren, Yongjie (yongjie.ren@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