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>
This commit is contained in:
parent
a15215f3e1
commit
d525ffabab
|
@ -31,7 +31,6 @@ stub-obj-y += uuid.o
|
||||||
stub-obj-y += vm-stop.o
|
stub-obj-y += vm-stop.o
|
||||||
stub-obj-y += vmstate.o
|
stub-obj-y += vmstate.o
|
||||||
stub-obj-$(CONFIG_WIN32) += fd-register.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 += qmp_pc_dimm_device_list.o
|
||||||
stub-obj-y += target-monitor-defs.o
|
stub-obj-y += target-monitor-defs.o
|
||||||
stub-obj-y += target-get-monitor-def.o
|
stub-obj-y += target-get-monitor-def.o
|
||||||
|
|
|
@ -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;
|
|
||||||
}
|
|
|
@ -55,6 +55,11 @@ int kvm_arch_init(MachineState *ms, KVMState *s)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int kvm_arch_irqchip_create(MachineState *ms, KVMState *s)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
int kvm_arch_init_vcpu(CPUState *cs)
|
int kvm_arch_init_vcpu(CPUState *cs)
|
||||||
{
|
{
|
||||||
MIPSCPU *cpu = MIPS_CPU(cs);
|
MIPSCPU *cpu = MIPS_CPU(cs);
|
||||||
|
|
|
@ -145,6 +145,11 @@ int kvm_arch_init(MachineState *ms, KVMState *s)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int kvm_arch_irqchip_create(MachineState *ms, KVMState *s)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
static int kvm_arch_sync_sregs(PowerPCCPU *cpu)
|
static int kvm_arch_sync_sregs(PowerPCCPU *cpu)
|
||||||
{
|
{
|
||||||
CPUPPCState *cenv = &cpu->env;
|
CPUPPCState *cenv = &cpu->env;
|
||||||
|
|
|
@ -294,6 +294,11 @@ int kvm_arch_init(MachineState *ms, KVMState *s)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int kvm_arch_irqchip_create(MachineState *ms, KVMState *s)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
unsigned long kvm_arch_vcpu_id(CPUState *cpu)
|
unsigned long kvm_arch_vcpu_id(CPUState *cpu)
|
||||||
{
|
{
|
||||||
return cpu->cpu_index;
|
return cpu->cpu_index;
|
||||||
|
|
Loading…
Reference in New Issue