Red Hat Bugzilla – Bug 637658
[RHEL 4.8] 32-bit pvhvm guest on 64-bit host crash w/xm mem-set
Last modified: 2011-02-16 11:06:23 EST
Created attachment 449875 [details] Prevent crashing of x86 guest on x86_64 host by checking for -ENOSYS first. The ballooning driver has not changed much between rhel4 and rhel5 kernels, so this patch is has only different line numbers compared to patch for bug 605697.
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.
Committed in 89.43.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/
QA verified this bug with -94 kernel: Reproduce this bug with -89 kernel: Try to change memory size of 32bit HVM guest on 64bit host, the guest would crash. With -94 kernel in the guest, doing the same steps would not trigger crashing, although the guest memory size wouldn't change as requested. I think it is expected, as the patch shows: + ret = HYPERVISOR_memory_op(XENMEM_decrease_reservation, &reservation); + switch (ret) { + case 0: + return 1; + case -ENOSYS: + default: + WPRINTK("ballooning: changing reservation is not supported\n"); + return 0; + } +} So change this bug to VERIFIED.
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-0263.html