mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
kvm: introduce kvm_kernel_irqchip_* functions
The KVMState struct is opaque, so provide accessors for the fields that will be moved from current_machine to the accelerator. For now they just forward to the machine object, but this will change. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
23b0898e44
commit
4376c40ded
9 changed files with 39 additions and 30 deletions
|
@ -57,7 +57,7 @@ int kvm_arch_init(MachineState *ms, KVMState *s)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int kvm_arch_irqchip_create(MachineState *ms, KVMState *s)
|
||||
int kvm_arch_irqchip_create(KVMState *s)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue