From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] kvm: device-assignment: Add PCI option ROM support Date: Mon, 22 Jun 2009 11:38:04 +0300 Message-ID: <4A3F42EC.1090806@redhat.com> References: <20090615162815.4830.38216.stgit@host.lart> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, sheng.yang@intel.com To: Alex Williamson Return-path: Received: from mx2.redhat.com ([66.187.237.31]:57532 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751552AbZFVIhP (ORCPT ); Mon, 22 Jun 2009 04:37:15 -0400 In-Reply-To: <20090615162815.4830.38216.stgit@host.lart> Sender: kvm-owner@vger.kernel.org List-ID: On 06/15/2009 07:29 PM, Alex Williamson wrote: > The PCI code already knows about option ROMs, so we just need to > mmap some space for it, load it with a copy of the contents, and > complete the plubming to the generic code. > > With this a Linux guest can get access to the ROM contents via > /sys/bus/pci/devices//rom. This might also enable the BIOS > to execute ROMs by loading them dynamically from the device > rather than hoping they all fit into RAM. > Applied, thanks. -- error compiling committee.c: too many arguments to function