Re: [kvm:queue 83/85] arch/x86//kvm/vmx.c:12699:8: error: expected ':' or ')' before 'ASM_VMX_VMWRITE_RSP_RDX'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 16, 2018 at 3:49 AM kbuild test robot <lkp@xxxxxxxxx> wrote:
>
> tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
> head:   1184367930d8fcf1497de08f63c5e7d1dcce2384
> commit: dc94ccfb49c1c5bf4342ad881c0eaf8fd5b75a4c [83/85] KVM/x86: Use assembly instruction mnemonics instead of .byte streams
> config: x86_64-randconfig-x013-201841 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
>         git checkout dc94ccfb49c1c5bf4342ad881c0eaf8fd5b75a4c
>         # save the attached .config to linux build tree
>         make ARCH=x86_64

Branch was updated inbetween. Attached patch should fix the offending commit.

Uros.
From 1a739eebaf7561d83a50fb67eda0d1c41b78f2bf Mon Sep 17 00:00:00 2001
From: Uros Bizjak <ubizjak@xxxxxxxxx>
Date: Tue, 16 Oct 2018 09:03:04 +0200
Subject: [PATCH] KVM/x86: Use assembly instruction mnemonics instead of
 removed #defines

Fixes commit dc94ccfb49c1c5bf4342ad881c0eaf8fd5b75a4c

Signed-off-by: Uros Bizjak <ubizjak@xxxxxxxxx>
---
 arch/x86/kvm/vmx.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 634c7875a2c3..a9ed7a723a0c 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -12697,15 +12697,15 @@ static int __noclone nested_vmx_check_vmentry_hw(struct kvm_vcpu *vcpu)
 
 	asm(
 		/* Set HOST_RSP */
-		__ex(ASM_VMX_VMWRITE_RSP_RDX) "\n\t"
+		__ex("vmwrite %%" _ASM_SP ", %%" _ASM_DX) "\n\t"
 		"mov %%" _ASM_SP ", %c[host_rsp](%0)\n\t"
 
 		/* Check if vmlaunch of vmresume is needed */
 		"cmpl $0, %c[launched](%0)\n\t"
 		"je 1f\n\t"
-		__ex(ASM_VMX_VMRESUME) "\n\t"
+		__ex("vmresume") "\n\t"
 		"jmp 2f\n\t"
-		"1: " __ex(ASM_VMX_VMLAUNCH) "\n\t"
+		"1: " __ex("vmlaunch") "\n\t"
 		"jmp 2f\n\t"
 		"2: "
 
-- 
2.17.2


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux