From: Sander Eikelenboom Subject: Re: Xen 4.5 development update Date: Wed, 4 Jun 2014 16:41:31 +0200 Message-ID: <723686721.20140604164131@eikelenboom.it> References: <20140527180640.6053D1BF275@phenom.dumpdata.com> <538F1D0A.3070606@xen.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WsCNp-00008m-Eg for xen-devel@lists.xenproject.org; Wed, 04 Jun 2014 14:41:41 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Zytaruk, Kelly" Cc: "feng.wu@intel.com" , "ufimtseva@gmail.com" , "JBeulich@suse.com" , Artem Mygaiev , "daniel.kiper@oracle.com" , "stefano.stabellini@eu.citrix.com" , "zoltan.kiss@citrix.com" , "avanzini.arianna@gmail.com" , "xen-devel@lists.xenproject.org" , "olaf@aepfle.de" , "julien.grall@linaro.org" , "Paul.Durrant@citrix.com" , "msw@amazon.com" , "boris.ostrovsky@oracle.com" , "andrew.bennieston@citrix.com" , "Wei.Liu2@citrix.com" , "andrew.cooper3@citrix.com" , dsl List-Id: xen-devel@lists.xenproject.org Wednesday, June 4, 2014, 3:50:12 PM, you wrote: >> >>Adding Artem from Globallogic to that thread on request >>Lars >> >>On 27/05/2014 19:06, konrad.wilk@oracle.com wrote: >>Below is a summary of the projects / features being worked on for the 4.5 >>time frame that I had been gathering. >> >>* Kelly Zytaruk Prognosis: 100 % >> AMD Radeon PCI GPU passthrough >> > Due to a shift in focus on my side it looks like I am stuck in a Xen 4.2 spiral. I can't guarantee any Xen 4.5 support until I get my Xen 4.2 issues out of the way. I know that Konrad has been working on some of the issues that were identified so I am not sure how much more remains to be done for 4.5. > Thanks, > Kelly I assume the target here is to passthrough and use the GPU as a primary GPU in the guest (and also showing boot etc from the start like as it was native) ? Passing through AMD radeon GPU as secondary, which gets enabled somewhere during boot when the radeon driver loads, already works (for me) when using a HVM guest. All seems to work for me: - console + X - opengl - hardware video acceleration - powermanagement (but only on first boot, see below) The main issue with that setup is resetting the card when shutting down the guest and later booting it again. That also seems to work when using "radeon.hard_reset=1" as kernel parameter. Accept for the powermanagement part (dpm), that still fails to initialize on a second or later boot (but works fine on the first boot). I don't known if the radeon cards have some sort of full reset function somewhere that completely "posts" the card ? That could be used by xen and kvm or more generally .. wired up to a /sysfs/bus/pci/device//reset entry (which can be used by both). -- Sander