From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: unable to assign devices with VT-d in KVM Date: Sun, 27 Dec 2009 13:10:13 +0200 Message-ID: <4B374095.6000006@redhat.com> References: <2ED289D4E09FBD4D92D911E869B97FDD0227DF25@mtlexch01.mtl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Erez Shitrit Return-path: Received: from mx1.redhat.com ([209.132.183.28]:57142 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751371AbZL0LKp (ORCPT ); Sun, 27 Dec 2009 06:10:45 -0500 In-Reply-To: <2ED289D4E09FBD4D92D911E869B97FDD0227DF25@mtlexch01.mtl.com> Sender: kvm-owner@vger.kernel.org List-ID: On 12/27/2009 12:07 PM, Erez Shitrit wrote: > Hi, > I am KVM newbie, trying to run and use the KVM. > When I tried to assign pci device to new virtual machine I got the next > error: > > /usr/local/bin/qemu-system-x86_64: invalid option -- '-pcidevice' > > I followed the instructions in the > http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM > page, > I am using RH5_4 with the new kernel for rh5.5: 2.6.18-prep (2.6.18.197) > I run the next command > /usr/local/bin/qemu-system-x86_64 -m 512 -boot c -net none -hda > /sdb5/images/test2.img -pcidevice host=04:00.0 > > And I got > > /usr/local/bin/qemu-system-x86_64: invalid option -- '-pcidevice' > > > The qemu-system-x86_64 version is: > QEMU PC emulator version 0.11.91, Copyright (c) 2003-2008 > Fabrice Bellard > > What I missed? > > You're running the upstream qemu, which doesn't support device assignment. Download qemu-kvm-0.12.1.1 from http://linux-kvm.org. -- error compiling committee.c: too many arguments to function