cody
2012-Mar-08 11:40 UTC
[question] PCI passthrough: when does Xen map device''s BARs to guest?
Hi, I checked the assign_device code path but seems only found IOMMU mapping table setup code in there. When does Xen map device''s BARs to guest? Where''s related code? Thanks. -cody
cody
2012-Mar-09 16:42 UTC
Re: [question] PCI passthrough: when does Xen map device''s BARs to guest?
Does anyone know this? Or it is not handled by Xen? Thanks for help. -cody On 03/08/2012 07:40 PM, cody wrote:> Hi, > > I checked the assign_device code path but seems only found IOMMU > mapping table setup code in there. When does Xen map device''s BARs to > guest? Where''s related code? Thanks. > > -cody
cody
2012-Mar-09 16:44 UTC
Re: [question] PCI passthrough: when does Xen map device''s BARs to guest?
Does anyone know this? Or it is not handled by Xen? Thanks for help. -cody On 03/08/2012 07:40 PM, cody wrote:> Hi, > > I checked the assign_device code path but seems only found IOMMU > mapping table setup code in there. When does Xen map device''s BARs to > guest? Where''s related code? Thanks. > > -cody
Zhang, Xiantao
2012-Mar-12 07:53 UTC
Re: [question] PCI passthrough: when does Xen map device''s BARs to guest?
It is handled by Xen eventually, but the caller is in qemu-dm. Please refer to pass-through.c for your answer. Thanks! Xiantao> -----Original Message----- > From: xen-devel-bounces@lists.xen.org [mailto:xen-devel- > bounces@lists.xen.org] On Behalf Of cody > Sent: Saturday, March 10, 2012 12:45 AM > To: Xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] [question] PCI passthrough: when does Xen map > device''s BARs to guest? > > Does anyone know this? Or it is not handled by Xen? Thanks for help. > > -cody > On 03/08/2012 07:40 PM, cody wrote: > > Hi, > > > > I checked the assign_device code path but seems only found IOMMU > > mapping table setup code in there. When does Xen map device''s BARs to > > guest? Where''s related code? Thanks. > > > > -cody > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel