From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: PCI pass-through of multi-function device Date: Sun, 17 May 2009 22:51:04 +0300 Message-ID: <4A106AA8.4080707@redhat.com> References: <0199E0D51A61344794750DC57738F58E67D160A241@GVW1118EXC.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org" To: "Fischer, Anna" Return-path: Received: from mx2.redhat.com ([66.187.237.31]:56176 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754599AbZEQTvG (ORCPT ); Sun, 17 May 2009 15:51:06 -0400 In-Reply-To: <0199E0D51A61344794750DC57738F58E67D160A241@GVW1118EXC.americas.hpqcorp.net> Sender: kvm-owner@vger.kernel.org List-ID: Fischer, Anna wrote: > Does KVM allow passing through a full multi-function PCI device to a guest, and make that device appear as a whole multi-function device rather than as multiple PCI single-function devices (e.g. Xen only does the latter where all PCI devices appear with function ID being 0 in the guest)? > Not that I know of. It shouldn't be difficult to add though - all the necessary changes should be in qemu, not the kernel. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.