From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] tools: libxl: allow permissive qemu-upstream pci passthrough. Date: Tue, 7 Jul 2015 16:41:30 +0100 Message-ID: <1436283690.25646.255.camel@citrix.com> References: <1433260042.15036.332.camel@citrix.com> <1435934969.9447.147.camel@citrix.com> <20150707134025.GA5869@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150707134025.GA5869@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: Anthony PERARD , xen-devel@lists.xensource.com, Ian Jackson , JBeulich@suse.com, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Tue, 2015-07-07 at 14:40 +0100, Wei Liu wrote: > On Fri, Jul 03, 2015 at 03:49:29PM +0100, Ian Campbell wrote: > > On Tue, 2015-06-02 at 16:47 +0100, Ian Campbell wrote: > > > > Anyone fancy (n)acking this followup to XSA-131? I think we probably > > want this for 4.6. > > > > > From c395657b03a1e2b7616d987e7078694874981979 Mon Sep 17 00:00:00 2001 > > > From: Ian Campbell > > > Date: Mon, 1 Jun 2015 11:32:23 +0100 > > > Subject: [PATCH] tools: libxl: allow permissive qemu-upstream pci > > > passthrough. > > > > > > EMBARGOED UNTIL 2015-06-02 12:00 (WITH XSA-131 ET AL) > > > > > > Since XSA-131 qemu-xen now restricts access to PCI cfg by default. In > > > order to allow local configuration of the existing libxl_device_pci > > > "permissive" flag needs to be plumbed through via the new QMP property > > > added by the XSA-131 patches. > > > > > > Versions of QEMU prior to XSA-131 did not support this permissive > > > property, so we only pass it if it is true. Older versions only > > > supported permissive mode. > > > > > > qemu-xen-traditional already supports the permissive mode setting via > > > xenstore. > > > > > > Signed-off-by: Ian Campbell > > > Cc: Stefano Stabellini > > > Cc: Anthony PERARD > > Acked-by: Wei Liu Applied, thanks, Ian.