|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [PATCH] support HVM guests with more than 3.75G memory
>Interesting - the crash is in the [optional] 'guess_wrmap' function
>which is trying to fast path the lookup of a particular va. Can you
>try temporarily disabling this optimization and retrying? Just edit
>xen/include/asm-x86/shadow2.c to replace
>
>#define SHADOW2_OPTIMZATIONS 0x03
>
>with
>
>#define SHADOW2_OPTIMZATIONS 0x02
>
Your suggestion works for me, and windows 2003 server can boot with 5G
memory on 64bit xen.
But after I played with it for some time, qemu dm window disappeared,
and xen console reported:
(XEN) sh2 error: sh2_remove_shadows(): can't find all shadows of mfn
1b2ddd (shadow2_flags=00000100)
(XEN) domain_crash called from shadow2-common.c:2251
(XEN) Domain 8 (vcpu#0) crashed on cpu#3:
(XEN) ----[ Xen-3.0-unstable Not tainted ]----
(XEN) CPU: 3
(XEN) RIP: 0008:[<0000000080862ca2>]
(XEN) RFLAGS: 0000000000010256 CONTEXT: hvm
(XEN) rax: 0000000067e97001 rbx: 0000000000000000 rcx:
0000000000000010
(XEN) rdx: 00000000ba482b68 rsi: 0000000000000000 rdi:
00000000f7aa82a0
(XEN) rbp: 00000000ba482b94 rsp: 00000000ba482b54 r8:
0000000000000000
(XEN) r9: 0000000000000000 r10: 0000000000000000 r11:
0000000000000000
(XEN) r12: 0000000000000000 r13: 0000000000000000 r14:
0000000000000000
(XEN) r15: 0000000000000000 cr0: 0000000080010031 cr3:
00000000001a17a0
(XEN) ds: 0023 es: 0023 fs: 0030 gs: 0000 ss: 0010 cs: 0008
(XEN) sh2_update_paging_modes: postponing determination of shadow2 mode
(XEN) vmx_do_launch(): GUEST_CR3<=001a17a0, HOST_CR3<=222b8b000
>
>and recompile.
>
>It'd also be good to see if you can reproduce the above error on a
>guest with < 4G memory.
>
With less than 4G RAM, I didn't see this error.
Thanks
-Xin
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|