* PVH guess crash with memory < maxmem
@ 2016-08-08 10:40 Marek Marczykowski-Górecki
2016-08-08 11:38 ` Jan Beulich
0 siblings, 1 reply; 3+ messages in thread
From: Marek Marczykowski-Górecki @ 2016-08-08 10:40 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1.1: Type: text/plain, Size: 1762 bytes --]
Hi,
I'm having troubles with starting PVH guest when memory < maxmem. Exact
crash message:
(XEN) d2v0 EPT violation 0x182 (-w-/---) gpa 0x0000003e7ff000
mfn 0xffffffffffffffff type 4
(XEN) d2v0 Walking EPT tables for GFN 3e7ff:
(XEN) d2v0 gfn exceeds max_mapped_pfn 19000
(XEN) d2v0 --- GLA 0xffff88003e7ff000
(XEN) domain_crash called from vmx.c:3022
(XEN) Domain 2 (vcpu#0) crashed on cpu#2:
(XEN) ----[ Xen-4.7.0 x86_64 debug=n Not tainted ]----
(XEN) CPU: 2
(XEN) RIP: 0010:[<ffffffff813b4d62>]
(XEN) RFLAGS: 0000000000010016 CONTEXT: hvm guest (d2v0)
(XEN) rax: 0000000000000000 rbx: 0000000000000001 rcx: 000000000000003f
(XEN) rdx: 000000003e7ff000 rsi: 0000000002b96000 rdi: ffff88003e7ff000
(XEN) rbp: ffffffff81c03b68 rsp: ffffffff81c03b40 r8: 0000000000000200
(XEN) r9: 0000000000000000 r10: 0000000002b96000 r11: 0000000000000000
(XEN) r12: 0000000000000001 r13: 000000000003e7ff r14: ffff880000000000
(XEN) r15: ffff880001c10828 cr0: 0000000080050033 cr4: 0000000000000020
(XEN) cr3: 0000000001c0e000 cr2: 0000000000000000
(XEN) ds: 0000 es: 0000 fs: 0000 gs: 0000 ss: 0000 cs: 0010
(XEN) Guest stack trace from rsp=ffffffff81c03b40:
(XEN) Fault while accessing guest memory.
Guest kernel: 4.1.13, guest config attached.
Is there any way around it, or such configuration isn't supported yet?
Or maybe it is possible to increase maxmem later using some trick
(memory hotplug or something)?
--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
[-- Attachment #1.1.2: pvhtest.cfg --]
[-- Type: text/plain, Size: 703 bytes --]
name = "pvhtest"
uuid = "ac823572-853b-4c8c-ba77-47aa515ccd63"
maxmem = 400
memory = 1000
pvh = 1
vcpus = 4
localtime = 0
on_poweroff = "destroy"
on_reboot = "destroy"
on_crash = "destroy"
kernel = "/var/lib/qubes/vm-kernels/4.1.13-6/vmlinuz"
ramdisk = "/var/lib/qubes/vm-kernels/4.1.13-6/initramfs"
extra = "root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH 3 nopat"
disk = [ "/var/lib/qubes/vm-templates/fedora-23-clone/root.img,raw,xvda,r,backendtype=phy",
"/var/lib/qubes/appvms/pvhtest/private.img,raw,xvdb,w,backendtype=phy",
"/var/lib/qubes/appvms/pvhtest/volatile.img,raw,xvdc,w,backendtype=phy",
"/var/lib/qubes/vm-kernels/4.1.13-6/modules.img,raw,xvdd,r,backendtype=phy" ]
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
[-- Attachment #2: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PVH guess crash with memory < maxmem
2016-08-08 10:40 PVH guess crash with memory < maxmem Marek Marczykowski-Górecki
@ 2016-08-08 11:38 ` Jan Beulich
2016-08-08 12:14 ` Marek Marczykowski-Górecki
0 siblings, 1 reply; 3+ messages in thread
From: Jan Beulich @ 2016-08-08 11:38 UTC (permalink / raw)
To: Marek Marczykowski-Górecki; +Cc: xen-devel
>>> On 08.08.16 at 12:40, <marmarek@invisiblethingslab.com> wrote:
> I'm having troubles with starting PVH guest when memory < maxmem. Exact
> crash message:
>
> (XEN) d2v0 EPT violation 0x182 (-w-/---) gpa 0x0000003e7ff000 mfn 0xffffffffffffffff type 4
> (XEN) d2v0 Walking EPT tables for GFN 3e7ff:
> (XEN) d2v0 gfn exceeds max_mapped_pfn 19000
> (XEN) d2v0 --- GLA 0xffff88003e7ff000
> (XEN) domain_crash called from vmx.c:3022
> (XEN) Domain 2 (vcpu#0) crashed on cpu#2:
> (XEN) ----[ Xen-4.7.0 x86_64 debug=n Not tainted ]----
> (XEN) CPU: 2
> (XEN) RIP: 0010:[<ffffffff813b4d62>]
> (XEN) RFLAGS: 0000000000010016 CONTEXT: hvm guest (d2v0)
> (XEN) rax: 0000000000000000 rbx: 0000000000000001 rcx: 000000000000003f
> (XEN) rdx: 000000003e7ff000 rsi: 0000000002b96000 rdi: ffff88003e7ff000
> (XEN) rbp: ffffffff81c03b68 rsp: ffffffff81c03b40 r8: 0000000000000200
> (XEN) r9: 0000000000000000 r10: 0000000002b96000 r11: 0000000000000000
> (XEN) r12: 0000000000000001 r13: 000000000003e7ff r14: ffff880000000000
> (XEN) r15: ffff880001c10828 cr0: 0000000080050033 cr4: 0000000000000020
> (XEN) cr3: 0000000001c0e000 cr2: 0000000000000000
> (XEN) ds: 0000 es: 0000 fs: 0000 gs: 0000 ss: 0000 cs: 0010
> (XEN) Guest stack trace from rsp=ffffffff81c03b40:
> (XEN) Fault while accessing guest memory.
>
> Guest kernel: 4.1.13, guest config attached.
>
> Is there any way around it, or such configuration isn't supported yet?
Indeed iirc PVHv1 and PoD are incompatible with one another,
and I don't know any possible workaround. And then I'm not
sure it's worth your time playing with PVHv1 in the first place.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PVH guess crash with memory < maxmem
2016-08-08 11:38 ` Jan Beulich
@ 2016-08-08 12:14 ` Marek Marczykowski-Górecki
0 siblings, 0 replies; 3+ messages in thread
From: Marek Marczykowski-Górecki @ 2016-08-08 12:14 UTC (permalink / raw)
To: Jan Beulich; +Cc: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 452 bytes --]
On Mon, Aug 08, 2016 at 05:38:56AM -0600, Jan Beulich wrote:
> Indeed iirc PVHv1 and PoD are incompatible with one another,
> and I don't know any possible workaround. And then I'm not
> sure it's worth your time playing with PVHv1 in the first place.
Thanks.
--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
[-- Attachment #2: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-08-08 12:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-08 10:40 PVH guess crash with memory < maxmem Marek Marczykowski-Górecki
2016-08-08 11:38 ` Jan Beulich
2016-08-08 12:14 ` Marek Marczykowski-Górecki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.