linux-next: build failure after merge of the kvm tree
Subsystems (2)
Hi all,
After merging the kvm tree, today's linux-next build (x86_64 allmodconfig) failed like this:
In file included from include/linux/kvm_host.h:38,
from arch/x86/kvm/../../../virt/kvm/coalesced_mmio.c:14:
arch/x86/include/asm/kvm_host.h:38:10: fatal error: asm/kvm_vcpu_regs.h: No such file or directory
#include <asm/kvm_vcpu_regs.h>
^~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/kvm_host.h:38,
from arch/x86/kvm/../../../virt/kvm/kvm_main.c:21:
arch/x86/include/asm/kvm_host.h:38:10: fatal error: asm/kvm_vcpu_regs.h: No such file or directory
#include <asm/kvm_vcpu_regs.h>
^~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/kvm_host.h:38,
from arch/x86/kvm/../../../virt/kvm/eventfd.c:24:
arch/x86/include/asm/kvm_host.h:38:10: fatal error: asm/kvm_vcpu_regs.h: No such file or directory
#include <asm/kvm_vcpu_regs.h>
^~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/kvm_host.h:38,
from arch/x86/kvm/../../../virt/kvm/irqchip.c:27:
arch/x86/include/asm/kvm_host.h:38:10: fatal error: asm/kvm_vcpu_regs.h: No such file or directory
#include <asm/kvm_vcpu_regs.h>
^~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/kvm_host.h:38,
from arch/x86/kvm/../../../virt/kvm/async_pf.c:23:
arch/x86/include/asm/kvm_host.h:38:10: fatal error: asm/kvm_vcpu_regs.h: No such file or directory
#include <asm/kvm_vcpu_regs.h>
^~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/kvm_host.h:38,
from arch/x86/kvm/../../../virt/kvm/vfio.c:14:
arch/x86/include/asm/kvm_host.h:38:10: fatal error: asm/kvm_vcpu_regs.h: No such file or directory
#include <asm/kvm_vcpu_regs.h>
^~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/kvm_host.h:38,
from arch/x86/kvm/x86.c:22:
arch/x86/include/asm/kvm_host.h:38:10: fatal error: asm/kvm_vcpu_regs.h: No such file or directory
#include <asm/kvm_vcpu_regs.h>
^~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/kvm_host.h:38,
from arch/x86/kvm/irq.h:27,
from arch/x86/kvm/mmu.c:21:
arch/x86/include/asm/kvm_host.h:38:10: fatal error: asm/kvm_vcpu_regs.h: No such file or directory
#include <asm/kvm_vcpu_regs.h>
^~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/kvm_host.h:38,
from arch/x86/kvm/emulate.c:23:
arch/x86/include/asm/kvm_host.h:38:10: fatal error: asm/kvm_vcpu_regs.h: No such file or directory
#include <asm/kvm_vcpu_regs.h>
^~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/kvm_host.h:38,
from drivers/gpu/drm/i915/gvt/kvmgt.c:42:
arch/x86/include/asm/kvm_host.h:38:10: fatal error: asm/kvm_vcpu_regs.h: No such file or directory
#include <asm/kvm_vcpu_regs.h>
^~~~~~~~~~~~~~~~~~~~~Caused by commits
1561fcbc8e16 ("KVM: x86: Explicitly #define the VCPU_REGS_* indices") a46e726511f4 ("KVM: VMX: Move vCPU-run code to a proper assembly routine")
It looks like a file was not git added :-(
I have used the kvm tree from next-20190215 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 1 line · Stephen Rothwell
Hi all,
...
Quoted 6 lines
Caused by commits
1561fcbc8e16("KVM: x86: Explicitly #define the VCPU_REGS_* indices")a46e726511f4("KVM: VMX: Move vCPU-run code to a proper assembly routine")It looks like a file was not git added :-(
Yep, 1561fcbc8e16 should have introduced arch/x86/include/asm/kvm_vcpu_regs.h.
I assume there's nothing to do but wait for Paolo or Radim to fixup the KVM tree?
Original patch:
Paolo Bonzini
maintainerQuoted 10 lines · Sean Christopherson
Quoted 1 line · Stephen Rothwell
Hi all,
...
Quoted 5 lines
Caused by commits
1561fcbc8e16("KVM: x86: Explicitly #define the VCPU_REGS_* indices")a46e726511f4("KVM: VMX: Move vCPU-run code to a proper assembly routine")
Quoted 6 lines
Quoted 1 line
It looks like a file was not git added :-(
Yep,
1561fcbc8e16should have introducedarch/x86/include/asm/kvm_vcpu_regs.h.I assume there's nothing to do but wait for Paolo or Radim to fixup the KVM tree?
Yes, I'll do it shortly.
Paolo
Quoted 5 lines
Original patch: