projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32db853
)
x86/pvh: Adjust dom0's starting state
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Mon, 10 Feb 2020 18:33:26 +0000
(18:33 +0000)
committer
Andrew Cooper
<andrew.cooper3@citrix.com>
Tue, 11 Feb 2020 11:04:26 +0000
(11:04 +0000)
Fixes: b25fb1a04e "xen/pvh: Fix segment selector ABI"
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wl@xen.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/dom0_build.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/dom0_build.c
b/xen/arch/x86/hvm/dom0_build.c
index 831325150b36c7791eba07221e246b23566c7e64..380412151bb32d94c15729d0c5f278ff168088a3 100644
(file)
--- a/
xen/arch/x86/hvm/dom0_build.c
+++ b/
xen/arch/x86/hvm/dom0_build.c
@@
-626,10
+626,12
@@
static int __init pvh_setup_cpus(struct domain *d, paddr_t entry,
.cpu_regs.x86_32.cr0 = X86_CR0_PE | X86_CR0_ET,
.cpu_regs.x86_32.cs_limit = ~0u,
.cpu_regs.x86_32.ds_limit = ~0u,
+ .cpu_regs.x86_32.es_limit = ~0u,
.cpu_regs.x86_32.ss_limit = ~0u,
.cpu_regs.x86_32.tr_limit = 0x67,
.cpu_regs.x86_32.cs_ar = 0xc9b,
.cpu_regs.x86_32.ds_ar = 0xc93,
+ .cpu_regs.x86_32.es_ar = 0xc93,
.cpu_regs.x86_32.ss_ar = 0xc93,
.cpu_regs.x86_32.tr_ar = 0x8b,
};