|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-4.0-testing] x86: fix guest migration after c/s 208
# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxxxx>
# Date 1310805313 -3600
# Node ID 89608751ccfc93a9b8d07488b72810b5cb8d1d35
# Parent fd9e72e1b1c3633c3ae0618d7e0f4606e7813bd9
x86: fix guest migration after c/s 20892:d311d1efc25e
Guests would not manage to run successfully after being migrated to a
host having sufficiently much more memory than the host they were
originally started on.
Subsequently the plan is to re-enable the changes behavior under the
control of a guest kernel announced feature flag.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
xen-unstable changeset: 23706:3dd399873c9e
xen-unstable date: Sat Jul 16 09:18:21 2011 +0100
---
diff -r fd9e72e1b1c3 -r 89608751ccfc xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Sat Jul 16 09:34:57 2011 +0100
+++ b/xen/arch/x86/mm.c Sat Jul 16 09:35:13 2011 +0100
@@ -4490,7 +4490,7 @@
.max_mfn = MACH2PHYS_NR_ENTRIES - 1
};
- if ( !mem_hotplug )
+ if ( !mem_hotplug && current->domain == dom0 )
mapping.max_mfn = max_page - 1;
if ( copy_to_guest(arg, &mapping, 1) )
return -EFAULT;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-4.0-testing] x86: fix guest migration after c/s 20892:d311d1efc25e,
Xen patchbot-4 . 0-testing <=
|
|
|
|
|