From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: q35 in xen? vfio in xen? Date: Fri, 21 Feb 2014 16:50:11 -0500 Message-ID: <20140221215011.GB16731@phenom.dumpdata.com> References: <3B22ECA2D19A3D408C83F4F15A9CB7D4507B70D6@G9W0737.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <3B22ECA2D19A3D408C83F4F15A9CB7D4507B70D6@G9W0737.americas.hpqcorp.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Zhang, Eniac" Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org 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