From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Han, Weidong" Subject: RE: Failed to use PCI device assignment Date: Sat, 13 Dec 2008 10:12:46 +0800 Message-ID: <715D42877B251141A38726ABF5CABF2C018E6FB3F6@pdsmsx503.ccr.corp.intel.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT To: 'Courtay Olivier' , "'kvm@vger.kernel.org'" Return-path: Received: from mga02.intel.com ([134.134.136.20]:43391 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753569AbYLMCMx convert rfc822-to-8bit (ORCPT ); Fri, 12 Dec 2008 21:12:53 -0500 In-Reply-To: Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: Courtay Olivier wrote: > Hi, > > I try to use PCI device assignment on a 2.6.28-rc8 with kvm-80 on a > Intel that support VT-D. > > I have a error: > > # qemu-system-x86_64 -pcidevice host=00:19.0 -hda WinXP.img -cdrom > /dev/scd0 -m 1024 Warning: No DNS servers found > create_userspace_phys_mem: Invalid argument > kvm_cpu_register_physical_memory: failed > > Where 00:19.0 is a e100e intel Ethernet card. I have removed the > driver before launch. > > I have compiled qemu in DEBUG mode but none interesting information. > You can enable DEVICE_ASSIGNMENT_DEBUG in qemu/hw/device-assignment.c to get more information. I suspect your error is not related to device asisgnment. Otherwise, it should output "assigned_dev_iomem_map: Error: create new mapping failed". Regards, Weidong