projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51cf07a
)
xen/pvh: set xen_domain_type to HVM in xen_pvh_init
author
Roger Pau Monne
<roger.pau@citrix.com>
Tue, 23 Apr 2019 13:04:15 +0000
(15:04 +0200)
committer
Boris Ostrovsky
<boris.ostrovsky@oracle.com>
Thu, 25 Apr 2019 14:36:15 +0000
(10:36 -0400)
Or else xen_domain() returns false despite xen_pvh being set.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: stable@vger.kernel.org # 4.19+
arch/x86/xen/enlighten_pvh.c
patch
|
blob
|
history
diff --git
a/arch/x86/xen/enlighten_pvh.c
b/arch/x86/xen/enlighten_pvh.c
index 35b7599d2d0be8df7b8c355c62791b00e3c33871..bbffa409e0e880cc4f93d468c7002e8f7a5c1b65 100644
(file)
--- a/
arch/x86/xen/enlighten_pvh.c
+++ b/
arch/x86/xen/enlighten_pvh.c
@@
-27,6
+27,7
@@
void __init xen_pvh_init(void)
u64 pfn;
xen_pvh = 1;
+ xen_domain_type = XEN_HVM_DOMAIN;
xen_start_flags = pvh_start_info.flags;
msr = cpuid_ebx(xen_cpuid_base() + 2);