Skip to content

Commit b330b1f

Browse files
committed
Introduce artificial offset in hypercall page
Signed-off-by: Nicolas Saenz Julienne <nsaenz@amazon.com>
1 parent a121e1d commit b330b1f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/x86/kvm/hyperv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ static int patch_hypercall_page(struct kvm_vcpu *vcpu, u64 data)
288288

289289
/* VTL call/return entries */
290290
if (!kvm_xen_hypercall_enabled(kvm) && kvm_hv_vsm_enabled(kvm)) {
291+
i = 22;
291292
#ifdef CONFIG_X86_64
292293
if (is_64_bit_mode(vcpu)) {
293294
/*

0 commit comments

Comments
 (0)