Messages in this thread | | | Date | Fri, 1 May 2020 00:42:27 +0800 | From | kbuild test robot <> | Subject | Re: [PATCH v7 16/18] KVM: x86: Add guest support for detecting and enabling SEV Live Migration feature. |
| |
Hi Ashish,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on v5.7-rc3] [cannot apply to kvm/linux-next tip/x86/mm tip/x86/core next-20200430] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Ashish-Kalra/Add-AMD-SEV-guest-live-migration-support/20200430-202702 base: 6a8b55ed4056ea5559ebe4f6a4b247f627870d4c config: i386-randconfig-a003-20200430 (attached as .config) compiler: gcc-5 (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010 reproduce: # save the attached .config to linux build tree make ARCH=i386
If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/x86/kernel/kvm.c: In function 'kvm_init_platform': >> arch/x86/kernel/kvm.c:780:24: error: lvalue required as left operand of assignment sev_live_mig_enabled = true; ^
vim +780 arch/x86/kernel/kvm.c
773 774 static void __init kvm_init_platform(void) 775 { 776 if (sev_active() && 777 kvm_para_has_feature(KVM_FEATURE_SEV_LIVE_MIGRATION)) { 778 779 printk(KERN_INFO "KVM enable live migration\n"); > 780 sev_live_mig_enabled = true; 781 /* 782 * If not booted using EFI, enable Live migration support. 783 */ 784 if (!efi_enabled(EFI_BOOT)) 785 wrmsrl(MSR_KVM_SEV_LIVE_MIG_EN, 786 KVM_SEV_LIVE_MIGRATION_ENABLED); 787 } else 788 printk(KERN_INFO "KVM enable live migration feature unsupported\n"); 789 790 kvmclock_init(); 791 x86_platform.apic_post_init = kvm_apic_init; 792 } 793
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |