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

Re: [Xen-devel] Regression in PCI pass-through from qemu-xen changeset "

To: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Subject: Re: [Xen-devel] Regression in PCI pass-through from qemu-xen changeset "passthrough: Fix older kernel assigned device resume failure problem"
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Wed, 6 May 2009 09:17:38 +1000
Cc: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, "Ke, Liping" <liping.ke@xxxxxxxxx>, "Zhao, Yu" <yu.zhao@xxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Tue, 05 May 2009 16:18:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EADF0A36011179459010BDF5142A45751555F2AA@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <EADF0A36011179459010BDF5142A45751555F260@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090502021015.GB13195@xxxxxxxxxxxx> <20090502021802.GC13195@xxxxxxxxxxxx> <18944.17925.226884.931244@xxxxxxxxxxxxxxxxxxxxxxxx> <EADF0A36011179459010BDF5142A45751555F2AA@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Wed, May 06, 2009 at 12:23:27AM +0800, Cui, Dexuan wrote:
> Ian Jackson wrote:
> > Simon Horman writes ("Re: [Xen-devel] Regression in PCI pass-through
> > from qemu-xen changeset "passthrough: Fix older kernel assigned
> > device resume       failure problem""): On Sat, May 02, 2009 at 12:10:15PM
> > +1000, Simon Horman wrote:  
> >> Changeset "passthrough: Fix older kernel assigned device resume
> >> failure 
> >> problem" (dbb8aafa702b8b4f5568e08641d98471fd04e0f8) in
> >> qemu-xen-unstable.git appears to cause a regression. This changeset
> >> was 
> >> applied between the xen-3.4.0-rc2 and xen-3.4.0-rc3 tags of
> >> qemu-xen-unstable.git.
> > ...
> >> The problem that I am seeing is that with this changeset applied
> >> I am not able to correctly initialise Intel network cards. Though
> >> I assume the problem is not specific to this hardware.
> > 
> > Thanks ...
> > 
> > Cui, Dexuan writes ("[PATCH][ioemu] fix PCI bar mapping"):
> >> dbb8aafa702b8b4f5568e08641d98471fd04e0f8 has a bug:
> >> The virtual CMD value we get from reg_entry->data is not the proper
> >> value because reg_entry->data only holds the emulated bits and the
> >> PCI_COMMAND_IO/PCI_COMMAND_MEMORY bits are not in it. Instead, we
> >> can use pt_pci_read_config(&ptdev->dev, PCI_COMMAND, 2) to get the
> >> proper value.   
> > 
> > ... Cui, do you think this is likely to fix Simon's problem ?
> Yes, I think this should fix Simon's problem since actually I meet with the 
> same symptom and I made the patch to fix it.

Hi,

I did some testing this morning and Dexuan's patch appears
to solve the problem that I was seeing.

Thanks

-- 
Simon Horman
  VA Linux Systems Japan K.K. Satellite Lab in Sydney, Australia
  H: www.vergenet.net/~horms/            W: www.valinux.co.jp/en


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