WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 2/3] ioemu: add libpci fixup to handle recent change in PCIUtils
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=SLU6hg0vcBYEJsn2xLaDJ/nBC6eA0rd5I6XXZArTow4=; b=isM5BsVt37s1z7v0+JmHQzf0BUZAPHO25CXchynw9PDE8AqEPQ7uWNDV6NgiObiZdj PF+RY1Hn7dnq9TSTUDMCG0pochUr6rl5HIA8HyHODWCM7gvPNNDPoNe5JZfynLLwy6r4 osPp7v3IPWKh9S+OJKXkIzWO7+bpvu/4CevrQ=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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