This requires backporting: - c/s 19168 and 19169 for the hypervisor - c/s 19170 for libxc - c/s 18962, c/s 18963, c/s 19171, c/s 19453 for xenctx. This is also required to block 32-on-64 ballooning while it's not implemented
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Created attachment 476584 [details] Patch to implement new domctl to get partial HVM context Upstream status: c/s 19168 and c/s 19169 Hi, this is the backport of commits 19168 and 19169 from upstream to support a new domctl to get a single record from HVM save context. This is necessary to create a patch for bug 674516. Michal
Created attachment 480433 [details] New version of the patch to implement new domctl to get partial HVM context New version of the patch to implement new domctl to get partial HVM context Upstream status: c/s 19168 and c/s 19169 Hi, this is the backport of commits 19168 and 19169 from upstream to support a new domctl to get a single record from HVM save context. This is necessary to create a patch for bug 674516. Michal
in kernel-2.6.18-246.el5 You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5 Detailed testing feedback is always welcomed.
Would repeating the steps in bug 626806 be correct to verify this and bug 674516?
You can try running /usr/lib64/xen/bin/xenctx for a 32-on-64 guest, both PV and HVM. It should print 32-bit register values, not 64-bit.
This is the xenctx output for 32 bit PV and HVM on kernel-xen -238 and xen -120: PV: rip: 00010000 rsp: c04057280061000b rax: 00010000 rbx: 69c0708fbc rcx: c062157c00610703 rdx: c04056ec00610304 rsi: c04056f800610005 rdi: c040570400610006 rbp: 124600000061 r8: c062155800610401 r9: c040556800610000 r10: 00000000 r11: 7b0000007b r12: c04013a701000000 r13: 00000020 r14: 00000001 r15: 00000000 cs: 00000009 ds: 0000040e fs: 0000000f gs: 00000010 HVM: rip: c0403c4b rsp: c0708fd4 rax: 00000000 rbx: 00000000 rcx: c0403c1a rdx: c0708000 rsi: c0638c23 rdi: c18088c4 rbp: 00000020 r8: 00000000 r9: 00000000 r10: 00000000 r11: 00000000 r12: 00000000 r13: 00000000 r14: 00000000 r15: 00000000 cs: 00000060 ds: 00000000 fs: 00000000 gs: 00000000 We can see the 64-bit register (rip,rsp,...) values are printed. After upgrade to kernel-xen -259 and xen -130, the xenctx outputs 32-bit registers (eax,ebx,...) now: PV: cs:eip: 0061:c0456b68 flags: 00001246 i z p ss:esp: 0069:c0e55e34 eax: 00000012 ebx: c0697000 ecx: c069700c edx: 00000003 esi: c1600a40 edi: c069700c ebp: 00000000 ds: 007b es: 007b fs: 0000 gs: 0000 Stack: -- HVM: cs:eip: 0060:c0403c4b flags: 00000246 i z p ss:esp: 0068:c0708fd4 eax: 00000000 ebx: 00000000 ecx: c0403c1a edx: c0708000 esi: c0638c23 edi: c18088c4 ebp: 00000020 ds: 0000 es: 0000 fs: 0000 gs: 0000 Stack: c0403d12 c0638c45 c070d9fa 00006e44 00000000 c078ce20 02010800 00099800 c06fa800 00880007 00000000 Code: Code (instr addr c0403c4b) 0c fd eb 14 fa 89 e0 25 00 f0 ff ff 8b 40 08 a8 08 75 04 fb f4 <eb> 01 fb 89 e2 81 e2 00 f0 ff ff Call Trace: [<c0403c4b>] <-- [<c0403d12>] [<c0638c45>] [<c070d9fa>] [<c078ce20>] [<c06fa800>] so this is verified together with bug 674516.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-1065.html