From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030305AbcJRPy7 (ORCPT ); Tue, 18 Oct 2016 11:54:59 -0400 Received: from mx2.suse.de ([195.135.220.15]:59871 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964988AbcJRPym (ORCPT ); Tue, 18 Oct 2016 11:54:42 -0400 Subject: Re: [PATCH 7/8] xen/pvh: PVH guests always have PV devices To: Boris Ostrovsky , david.vrabel@citrix.com References: <1476468318-24422-1-git-send-email-boris.ostrovsky@oracle.com> <1476468318-24422-8-git-send-email-boris.ostrovsky@oracle.com> Cc: roger.pau@citrix.com, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org From: Juergen Gross Message-ID: Date: Tue, 18 Oct 2016 17:54:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1476468318-24422-8-git-send-email-boris.ostrovsky@oracle.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/10/16 20:05, Boris Ostrovsky wrote: > Signed-off-by: Boris Ostrovsky Reviewed-by: Juergen Gross > --- > arch/x86/xen/platform-pci-unplug.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/xen/platform-pci-unplug.c b/arch/x86/xen/platform-pci-unplug.c > index 90d1b83..33a783c 100644 > --- a/arch/x86/xen/platform-pci-unplug.c > +++ b/arch/x86/xen/platform-pci-unplug.c > @@ -73,8 +73,8 @@ bool xen_has_pv_devices(void) > if (!xen_domain()) > return false; > > - /* PV domains always have them. */ > - if (xen_pv_domain()) > + /* PV and PVH domains always have them. */ > + if (xen_pv_domain() || xen_pvh_domain()) > return true; > > /* And user has xen_platform_pci=0 set in guest config as >