xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [question] PCI passthrough: when does Xen map device's BARs to guest?
@ 2012-03-08 11:40 cody
  2012-03-09 16:42 ` cody
  2012-03-09 16:44 ` cody
  0 siblings, 2 replies; 4+ messages in thread
From: cody @ 2012-03-08 11:40 UTC (permalink / raw)
  To: Xen-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [question] PCI passthrough: when does Xen map device's BARs to guest?
  2012-03-08 11:40 [question] PCI passthrough: when does Xen map device's BARs to guest? cody
@ 2012-03-09 16:42 ` cody
  2012-03-09 16:44 ` cody
  1 sibling, 0 replies; 4+ messages in thread
From: cody @ 2012-03-09 16:42 UTC (permalink / raw)
  To: Xen-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [question] PCI passthrough: when does Xen map device's BARs to guest?
  2012-03-08 11:40 [question] PCI passthrough: when does Xen map device's BARs to guest? cody
  2012-03-09 16:42 ` cody
@ 2012-03-09 16:44 ` cody
  2012-03-12  7:53   ` Zhang, Xiantao
  1 sibling, 1 reply; 4+ messages in thread
From: cody @ 2012-03-09 16:44 UTC (permalink / raw)
  To: Xen-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [question] PCI passthrough: when does Xen map device's BARs to guest?
  2012-03-09 16:44 ` cody
@ 2012-03-12  7:53   ` Zhang, Xiantao
  0 siblings, 0 replies; 4+ messages in thread
From: Zhang, Xiantao @ 2012-03-12  7:53 UTC (permalink / raw)
  To: cody, Xen-devel@lists.xensource.com; +Cc: Zhang, Xiantao

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-12  7:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08 11:40 [question] PCI passthrough: when does Xen map device's BARs to guest? cody
2012-03-09 16:42 ` cody
2012-03-09 16:44 ` cody
2012-03-12  7:53   ` Zhang, Xiantao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).