lkml.org 
[lkml]   [2016]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 7/8] xen/pvh: PVH guests always have PV devices
    Date
    Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
    ---
    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
    --
    1.8.3.1
    \
     
     \ /
      Last update: 2016-10-14 20:12    [W:4.182 / U:0.212 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site