Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 637658 - [RHEL 4.8] 32-bit pvhvm guest on 64-bit host crash w/xm mem-set
[RHEL 4.8] 32-bit pvhvm guest on 64-bit host crash w/xm mem-set
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel-xen (Show other bugs)
4.8
All Linux
low Severity medium
: rc
: ---
Assigned To: Radim Krčmář
Virtualization Bugs
:
Depends On: 605697
Blocks: 458302 605694
  Show dependency treegraph
 
Reported: 2010-09-26 23:34 EDT by Lei Wang
Modified: 2011-02-16 11:06 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 605697
Environment:
Last Closed: 2011-02-16 11:06:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Prevent crashing of x86 guest on x86_64 host by checking for -ENOSYS first. (2.84 KB, patch)
2010-09-27 08:25 EDT, Radim Krčmář
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0263 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 4.9 kernel security and bug fix update 2011-02-16 10:14:55 EST

  None (edit)
Comment 2 Radim Krčmář 2010-09-27 08:25:02 EDT
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.
Comment 3 RHEL Product and Program Management 2010-10-12 13:50:49 EDT
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.
Comment 4 Vivek Goyal 2010-10-14 10:43:42 EDT
Committed in 89.43.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/
Comment 8 Yufang Zhang 2011-01-07 00:31:45 EST
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.
Comment 9 errata-xmlrpc 2011-02-16 11:06:23 EST
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

Note You need to log in before you can comment on or make changes to this bug.