All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: q35 in xen?  vfio in xen?
@ 2014-02-22  0:31 Konrad Rzeszutek Wilk
  2014-02-22  8:06 ` Zhang, Eniac
  0 siblings, 1 reply; 11+ messages in thread
From: Konrad Rzeszutek Wilk @ 2014-02-22  0:31 UTC (permalink / raw)
  To: Zhang, Eniac; +Cc: xen-devel


On Feb 21, 2014 4:58 PM, "Zhang, Eniac" <eniac-xw.zhang@hp.com> wrote:
>
> Hi Konrad, 
>
> Thanks for your reply.  
>
> Yes, I am aware of the pciback.  Unfortunately it doesn't seem to support pci-e passthrough. (I could be wrong here)

I just did PCIe pass through of an VF of an SR-IOV device. It certainly is PCIe.

>
> There are two reason that I am interested in this.  For one, my project calls for pci-e device passthrough, which can't be accomplished with 440fx chipset emulation.  Secondly, I feel we ought to move on with the technology.  440fx is ancient in computer terms.  Qemu is good and all that, but if it refuses to support pci-e natively then it's just a matter of time that it will become obsoleted.  The trend is clear that pci-e is taking over the world. 
>

I am not sure what you are saying but it does not matter whether QEMU emulates 440fx or q35 for PCI pass through .

> Regards/Eniac 
>
> -----Original Message----- 
> From: Konrad Rzeszutek Wilk [mailto:konrad.wilk@oracle.com] 
> Sent: Friday, February 21, 2014 2:50 PM 
> To: Zhang, Eniac 
> Cc: xen-devel@lists.xen.org 
> Subject: Re: [Xen-devel] q35 in xen? vfio in xen? 
>
> On Fri, Feb 21, 2014 at 09:41:39PM +0000, Zhang, Eniac wrote: 
> > Hi all, 
> > 
> > I am playing with q35 chipset in qemu (1.6.1).  It seems we can't enable q35 machine under xen yet.  I made a few quick hacks which all fail miserably (linux kernel oops and window BSOD).  I was wondering why this hasn't been done (q35 was introduced into qemu in 2009). 
> > 
> > Next question, vfio works very well for me in standalone qemu (with Linux host handling iommu), but is that supported under xen?  I haven't tried anything there yet because my gut-feeling is that it won't work.  Because passing vfio device to qemu can only be done on qemu commandline, and xen is not aware of this passing through device, thus not able to make iommu arrangement for this device.  Am I on the right track here? 
>
> Yes and no. VFIO won't work - but QEMU does do PCI passthrough under Xen. It uses a different mechanism (and you need to bind the device to pciback). 
>
> > 
> > I am interested in implementing both these two features.  I'd like to connect with anyone who's already on this so we don't duplicate the efforts. 
>
> What do you need Q35 for? 
>
> > 
> > Regards/Eniac 
>
> > _______________________________________________ 
> > Xen-devel mailing list 
> > Xen-devel@lists.xen.org 
> > http://lists.xen.org/xen-devel 
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread
* q35 in xen?  vfio in xen?
@ 2014-02-21 21:41 Zhang, Eniac
  2014-02-21 21:50 ` Konrad Rzeszutek Wilk
  2014-02-21 22:09 ` Fabio Fantoni
  0 siblings, 2 replies; 11+ messages in thread
From: Zhang, Eniac @ 2014-02-21 21:41 UTC (permalink / raw)
  To: xen-devel@lists.xen.org; +Cc: Zhang, Eniac


[-- Attachment #1.1: Type: text/plain, Size: 880 bytes --]

Hi all,

I am playing with q35 chipset in qemu (1.6.1).  It seems we can't enable q35 machine under xen yet.  I made a few quick hacks which all fail miserably (linux kernel oops and window BSOD).  I was wondering why this hasn't been done (q35 was introduced into qemu in 2009).

Next question, vfio works very well for me in standalone qemu (with Linux host handling iommu), but is that supported under xen?  I haven't tried anything there yet because my gut-feeling is that it won't work.  Because passing vfio device to qemu can only be done on qemu commandline, and xen is not aware of this passing through device, thus not able to make iommu arrangement for this device.  Am I on the right track here?

I am interested in implementing both these two features.  I'd like to connect with anyone who's already on this so we don't duplicate the efforts.

Regards/Eniac

[-- Attachment #1.2: Type: text/html, Size: 3068 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

end of thread, other threads:[~2014-02-26 13:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-22  0:31 q35 in xen? vfio in xen? Konrad Rzeszutek Wilk
2014-02-22  8:06 ` Zhang, Eniac
2014-02-24 16:40   ` Konrad Rzeszutek Wilk
2014-02-24 19:28     ` Zhang, Eniac
2014-02-24 19:43       ` Konrad Rzeszutek Wilk
2014-02-26 11:58         ` Stefano Stabellini
2014-02-26 13:25           ` Fabio Fantoni
  -- strict thread matches above, loose matches on Subject: below --
2014-02-21 21:41 Zhang, Eniac
2014-02-21 21:50 ` Konrad Rzeszutek Wilk
2014-02-21 21:58   ` Zhang, Eniac
2014-02-21 22:09 ` Fabio Fantoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.