[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 2/3] ioemu: add libpci fixup to handle recent change in PCIUtils


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Alexia Benington <alexbenington@xxxxxxxxx>
  • Date: Fri, 27 Feb 2009 00:03:44 -0500
  • Cc: "Zhao, Yu" <yu.zhao@xxxxxxxxx>
  • Delivery-date: Thu, 26 Feb 2009 21:04:11 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=bOjp9ePTkcrxYKfpWJQNyLzWk5pQpwD8EnzfazFUbCeghcDqb3czIUr5FnJxvp9Mim ev3CSfivMM6kyw5/qJr+qsJvPaw1no0VxTrXNCmqN9QXIneXktPM13eIdVulK4W/gKrp 8GEudfprNjBud7X5MV1qk9CRYEsK61Wbb4rhA=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi Yu,

What were the changes in libutils that triggered this patch?

I've been trying to get a domu guest to correctly use a passed through
VGA card, and noticed that some IO mappings are not as what the driver
in the guest expects to see. For example, one of the I/O range starts
from C000h. After the fixup, it was changed to C200h. I'm suspecting
this causes the guest driver not to work correctly, although there may
be other reasons. What do you think?

Thanks. :)

-Alex

Date: Sat, 24 Jan 2009 12:47:09 +0800
From: Yu Zhao <yu.zhao@xxxxxxxxx>
Subject: [Xen-devel] [PATCH 2/3] ioemu: add libpci fixup to handle
       recent  change in PCIUtils
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: Yu Zhao <yu.zhao@xxxxxxxxx>
Message-ID: <1232772430-11079-2-git-send-email-yu.zhao@xxxxxxxxx>

The following commit of PCIUtils changes what 'base_addr' contains.
Add a fixup to make sure the pass-through works when building against
different versions of PCIUtils.

 commit 6d143c3283855c474445a3cf27c65280ed7ab1b7
 Author: Yu Zhao <yu.zhao@xxxxxxxxx>
 Date:   Fri Dec 26 09:59:28 2008 +0800

   Fix base address flags when using sysfs method

   The base address flags are ignored when using sysfs method, while
   the proc and generic methods combined the flags into 'base_addr'.
   This inconsistency may fail some applications using libpci.

Signed-off-by: Yu Zhao <yu.zhao@xxxxxxxxx>
---
=== deprecated ===

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.