diff options
author | Paolo Bonzini | 2016-12-22 16:41:42 +0100 |
---|---|---|
committer | Paolo Bonzini | 2017-01-16 17:52:35 +0100 |
commit | d525ffabab9e75a76cbeda2be43bb7988e304012 (patch) | |
tree | a76af1595eb47a19c982d50b6400971cbfe3010f | |
parent | build: remove --enable-colo/--disable-colo (diff) | |
download | qemu-d525ffabab9e75a76cbeda2be43bb7988e304012.tar.gz qemu-d525ffabab9e75a76cbeda2be43bb7988e304012.tar.xz qemu-d525ffabab9e75a76cbeda2be43bb7988e304012.zip |
stubs: remove stubs/kvm.c
This has a single function, just move it to the other target/*/kvm.c files.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | stubs/Makefile.objs | 1 | ||||
-rw-r--r-- | stubs/kvm.c | 8 | ||||
-rw-r--r-- | target/mips/kvm.c | 5 | ||||
-rw-r--r-- | target/ppc/kvm.c | 5 | ||||
-rw-r--r-- | target/s390x/kvm.c | 5 |
5 files changed, 15 insertions, 9 deletions
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs index a7d3b72501..a187295161 100644 --- a/stubs/Makefile.objs +++ b/stubs/Makefile.objs @@ -31,7 +31,6 @@ stub-obj-y += uuid.o stub-obj-y += vm-stop.o stub-obj-y += vmstate.o stub-obj-$(CONFIG_WIN32) += fd-register.o -stub-obj-y += kvm.o stub-obj-y += qmp_pc_dimm_device_list.o stub-obj-y += target-monitor-defs.o stub-obj-y += target-get-monitor-def.o diff --git a/stubs/kvm.c b/stubs/kvm.c deleted file mode 100644 index ddd620499d..0000000000 --- a/stubs/kvm.c +++ /dev/null @@ -1,8 +0,0 @@ -#include "qemu/osdep.h" -#include "qemu-common.h" -#include "sysemu/kvm.h" - -int kvm_arch_irqchip_create(MachineState *ms, KVMState *s) -{ - return 0; -} diff --git a/target/mips/kvm.c b/target/mips/kvm.c index dcf5fbba0c..998c3412c3 100644 --- a/target/mips/kvm.c +++ b/target/mips/kvm.c @@ -55,6 +55,11 @@ int kvm_arch_init(MachineState *ms, KVMState *s) return 0; } +int kvm_arch_irqchip_create(MachineState *ms, KVMState *s) +{ + return 0; +} + int kvm_arch_init_vcpu(CPUState *cs) { MIPSCPU *cpu = MIPS_CPU(cs); diff --git a/target/ppc/kvm.c b/target/ppc/kvm.c index 9c4834c4fc..6c53a6dd1a 100644 --- a/target/ppc/kvm.c +++ b/target/ppc/kvm.c @@ -145,6 +145,11 @@ int kvm_arch_init(MachineState *ms, KVMState *s) return 0; } +int kvm_arch_irqchip_create(MachineState *ms, KVMState *s) +{ + return 0; +} + static int kvm_arch_sync_sregs(PowerPCCPU *cpu) { CPUPPCState *cenv = &cpu->env; diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c index 97afe02599..e938954aef 100644 --- a/target/s390x/kvm.c +++ b/target/s390x/kvm.c @@ -294,6 +294,11 @@ int kvm_arch_init(MachineState *ms, KVMState *s) return 0; } +int kvm_arch_irqchip_create(MachineState *ms, KVMState *s) +{ + return 0; +} + unsigned long kvm_arch_vcpu_id(CPUState *cpu) { return cpu->cpu_index; |