linux-next: build failure after merge of the kvm tree

From: Stephen Rothwell
Date: Sun Feb 17 2019 - 22:42:18 EST


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.

--
Cheers,
Stephen Rothwell

Attachment: pgpJIrW5rdnn6.pgp
Description: OpenPGP digital signature