Re: [PATCH 2/3] kvm: vmx: Guest BNDCFGS requires guest MPX support

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

 



Hi Jim,

[auto build test ERROR on kvm/linux-next]
[also build test ERROR on v4.12-rc2 next-20170524]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Jim-Mattson/kvm-vmx-Do-not-disable-intercepts-for-BNDCFGS/20170524-122859
base:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: x86_64-lkp (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   arch/x86/kvm/vmx.c: In function 'vmx_get_msr':
>> arch/x86/kvm/vmx.c:3198:8: error: implicit declaration of function 'guest_cpuid_has_mpx' [-Werror=implicit-function-declaration]
      if (!guest_cpuid_has_mpx(vcpu))
           ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/guest_cpuid_has_mpx +3198 arch/x86/kvm/vmx.c

  3192			msr_info->data = vmcs_readl(GUEST_SYSENTER_EIP);
  3193			break;
  3194		case MSR_IA32_SYSENTER_ESP:
  3195			msr_info->data = vmcs_readl(GUEST_SYSENTER_ESP);
  3196			break;
  3197		case MSR_IA32_BNDCFGS:
> 3198			if (!guest_cpuid_has_mpx(vcpu))
  3199				return 1;
  3200			msr_info->data = vmcs_read64(GUEST_BNDCFGS);
  3201			break;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[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