]> Git Repo - qemu.git/commitdiff
stubs: remove stubs/kvm.c
authorPaolo Bonzini <[email protected]>
Thu, 22 Dec 2016 15:41:42 +0000 (16:41 +0100)
committerPaolo Bonzini <[email protected]>
Mon, 16 Jan 2017 16:52:35 +0000 (17:52 +0100)
This has a single function, just move it to the other target/*/kvm.c files.

Signed-off-by: Paolo Bonzini <[email protected]>
stubs/Makefile.objs
stubs/kvm.c [deleted file]
target/mips/kvm.c
target/ppc/kvm.c
target/s390x/kvm.c

index a7d3b72501e8d682a759ffb6141ba06df12713cc..a1872951612f34d1cff58d6c82af690f2ffceae3 100644 (file)
@@ -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 (file)
index ddd6204..0000000
+++ /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;
-}
index dcf5fbba0ca42eb1b852e9052a7e8fe33346097e..998c3412c3cb281d5e1192dea261aead96fc31f4 100644 (file)
@@ -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);
index 9c4834c4fc1ebdd03981c32e9604ae09e1799f0a..6c53a6dd1aa464c690135a3f1a1c8f5d01e59588 100644 (file)
@@ -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;
index 97afe02599ba9a714e80bdca76a0b919263d0152..e938954aef054940a027a384daaaee360079c6cf 100644 (file)
@@ -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;
This page took 0.031285 seconds and 4 git commands to generate.