[kvm:queue 65/72] arch/s390/kvm/vsie.c:768:2: error: implicit declaration of function 'kvm_guest_enter'

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

 



tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
head:   09982734ab6d3686c8f7235642781f12b70e7b51
commit: 6f048b74dd1b81dc0102d6e20ea110a6009c0f89 [65/72] KVM: remove kvm_guest_enter/exit wrappers
config: s390-default_defconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 6f048b74dd1b81dc0102d6e20ea110a6009c0f89
        # save the attached .config to linux build tree
        make.cross ARCH=s390 

All errors (new ones prefixed by >>):

   arch/s390/kvm/vsie.c: In function 'do_vsie_run':
>> arch/s390/kvm/vsie.c:768:2: error: implicit declaration of function 'kvm_guest_enter' [-Werror=implicit-function-declaration]
     kvm_guest_enter();
     ^
>> arch/s390/kvm/vsie.c:774:2: error: implicit declaration of function 'kvm_guest_exit' [-Werror=implicit-function-declaration]
     kvm_guest_exit();
     ^
   cc1: some warnings being treated as errors

vim +/kvm_guest_enter +768 arch/s390/kvm/vsie.c

a3508fbe David Hildenbrand 2015-07-08  762  		schedule();
a3508fbe David Hildenbrand 2015-07-08  763  	if (test_cpu_flag(CIF_MCCK_PENDING))
a3508fbe David Hildenbrand 2015-07-08  764  		s390_handle_mcck();
a3508fbe David Hildenbrand 2015-07-08  765  
a3508fbe David Hildenbrand 2015-07-08  766  	srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx);
a3508fbe David Hildenbrand 2015-07-08  767  	local_irq_disable();
a3508fbe David Hildenbrand 2015-07-08 @768  	kvm_guest_enter();
a3508fbe David Hildenbrand 2015-07-08  769  	local_irq_enable();
a3508fbe David Hildenbrand 2015-07-08  770  
a3508fbe David Hildenbrand 2015-07-08  771  	rc = sie64a(scb_s, vcpu->run->s.regs.gprs);
a3508fbe David Hildenbrand 2015-07-08  772  
a3508fbe David Hildenbrand 2015-07-08  773  	local_irq_disable();
a3508fbe David Hildenbrand 2015-07-08 @774  	kvm_guest_exit();
a3508fbe David Hildenbrand 2015-07-08  775  	local_irq_enable();
a3508fbe David Hildenbrand 2015-07-08  776  	vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu);
a3508fbe David Hildenbrand 2015-07-08  777  

:::::: The code at line 768 was first introduced by commit
:::::: a3508fbe9dc6dd3bece0c7bf889cc085a011738c KVM: s390: vsie: initial support for nested virtualization

:::::: TO: David Hildenbrand <dahi@xxxxxxxxxxxxxxxxxx>
:::::: CC: Christian Borntraeger <borntraeger@xxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[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