Bug 637658 - [RHEL 4.8] 32-bit pvhvm guest on 64-bit host crash w/xm mem-set
Summary: [RHEL 4.8] 32-bit pvhvm guest on 64-bit host crash w/xm mem-set
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel-xen
Version: 4.8
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Radim Krčmář
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 605697
Blocks: 458302 605694
TreeView+ depends on / blocked
 
Reported: 2010-09-27 03:34 UTC by Lei Wang
Modified: 2011-02-16 16:06 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 605697
Environment:
Last Closed: 2011-02-16 16:06:23 UTC
Target Upstream Version:
Embargoed:


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 12:25 UTC, Radim Krčmář
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0263 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 4.9 kernel security and bug fix update 2011-02-16 15:14:55 UTC

Comment 2 Radim Krčmář 2010-09-27 12:25:02 UTC
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 Program Management 2010-10-12 17:50:49 UTC
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 14:43:42 UTC
Committed in 89.43.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/

Comment 8 Yufang Zhang 2011-01-07 05:31:45 UTC
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 16:06:23 UTC
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.