Differential D3854 Diff 9274 emulators/xen-kernel/files/0006-xen-pvh-enable-mmu_update-hypercall.patch
Changeset View
Changeset View
Standalone View
Standalone View
emulators/xen-kernel/files/0006-xen-pvh-enable-mmu_update-hypercall.patch
- This file was added.
From bec71ff2b61acc42e71a2bd79ec5cf172130e5f8 Mon Sep 17 00:00:00 2001 | |||||
From: Roger Pau Monne <roger.pau@citrix.com> | |||||
Date: Fri, 9 Oct 2015 12:57:32 +0200 | |||||
Subject: [PATCH 6/8] xen/pvh: enable mmu_update hypercall | |||||
MIME-Version: 1.0 | |||||
Content-Type: text/plain; charset=UTF-8 | |||||
Content-Transfer-Encoding: 8bit | |||||
This is needed for performing save/restore of PV guests. | |||||
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> | |||||
Cc: Tim Deegan <tim@xen.org> | |||||
Cc: Jan Beulich <jbeulich@suse.com> | |||||
Cc: Andrew Cooper <andrew.cooper3@citrix.com> | |||||
--- | |||||
xen/arch/x86/hvm/hvm.c | 1 + | |||||
1 file changed, 1 insertion(+) | |||||
diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c | |||||
index 7d53c6c..d3fdc3d 100644 | |||||
--- a/xen/arch/x86/hvm/hvm.c | |||||
+++ b/xen/arch/x86/hvm/hvm.c | |||||
@@ -4843,6 +4843,7 @@ static hvm_hypercall_t *const pvh_hypercall64_table[NR_hypercalls] = { | |||||
[ __HYPERVISOR_grant_table_op ] = (hvm_hypercall_t *)hvm_grant_table_op, | |||||
HYPERCALL(vcpu_op), | |||||
HYPERCALL(mmuext_op), | |||||
+ HYPERCALL(mmu_update), | |||||
HYPERCALL(xsm_op), | |||||
HYPERCALL(sched_op), | |||||
HYPERCALL(event_channel_op), | |||||
-- | |||||
1.9.5 (Apple Git-50.3) | |||||