From: Ian Campbell Subject: Re: Re: [PATCH 03 of 15] hvmloader: setup PCI bus in a common function again Date: Wed, 1 Jun 2011 11:44:07 +0100 Message-ID: <1306925047.775.230.camel@zakaz.uk.xensource.com> References: <8a7fb25fff1980aa4fcf.1306921198@cosworth.uk.xensource.com> <1306922740.775.227.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1306922740.775.227.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Wed, 2011-06-01 at 11:05 +0100, Ian Campbell wrote: > On Wed, 2011-06-01 at 10:39 +0100, Ian Campbell wrote: > > # HG changeset patch > > # User Ian Campbell > > # Date 1306916881 -3600 > > # Node ID 8a7fb25fff1980aa4fcf963da1aa82d4dfd34bda > > # Parent 062bc0a35d9933cc64c11f861609559e11994778 > > hvmloader: setup PCI bus in a common function again. > > Reposting, updated for changed patch 2/15. Gah, not sure what I build tested, but it obviously wasn't this code... Incremental fix (to avoid reposting both 2/15 and 3/15) below. diff -r 439f07b2d43e tools/firmware/hvmloader/pci.c --- a/tools/firmware/hvmloader/pci.c Wed Jun 01 11:04:18 2011 +0100 +++ b/tools/firmware/hvmloader/pci.c Wed Jun 01 11:43:30 2011 +0100 @@ -81,7 +81,6 @@ void pci_setup(void) { case 0x0300: /* If emulated VGA is found, preserve it as primary VGA. */ - if ( virtual_vga == VGA_none ) if ( (vendor_id == 0x1234) && (device_id == 0x1111) ) { vga_devfn = devfn;