I forgot to CC the list, here it is.
---------- Weitergeleitete Nachricht ----------
Betreff: [PATCH] kvm-s390: Fix kvm on IBM System z10
Datum: Dienstag, 29. Juli 2008
Von: Christian Borntraeger <[EMAIL PROTECTED]>
An: Avi Kivity <[EMAIL PROTECTED]>
From: Christian Borntraeger <[EMAIL PROTECTED]>
The z10 system supports large pages, kvm-s390 doesnt.
Make sure that we dont advertise large pages to avoid the guest crashing as
soon as the guest kernel activates DAT.
Avi, this should go into 2.6.27-rc*.
Signed-off-by: Christian Borntraeger <[EMAIL PROTECTED]>
---
arch/s390/kvm/priv.c | 1 +
1 file changed, 1 insertion(+)
Index: kvm/arch/s390/kvm/priv.c
===================================================================
--- kvm.orig/arch/s390/kvm/priv.c
+++ kvm/arch/s390/kvm/priv.c
@@ -158,6 +158,7 @@ static int handle_stfl(struct kvm_vcpu *
vcpu->stat.instruction_stfl++;
facility_list &= ~(1UL<<24); /* no stfle */
+ facility_list &= ~(1UL<<23); /* no large pages */
rc = copy_to_guest(vcpu, offsetof(struct _lowcore, stfl_fac_list),
&facility_list, sizeof(facility_list));
-------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html