mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
kvm: add machine state to kvm_arch_init
Needed to query machine's properties. Signed-off-by: Marcel Apfelbaum <marcel@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
446f16a690
commit
b16565b396
7 changed files with 7 additions and 7 deletions
|
@ -840,7 +840,7 @@ static int kvm_get_supported_msrs(KVMState *s)
|
|||
return ret;
|
||||
}
|
||||
|
||||
int kvm_arch_init(KVMState *s)
|
||||
int kvm_arch_init(MachineState *ms, KVMState *s)
|
||||
{
|
||||
uint64_t identity_base = 0xfffbc000;
|
||||
uint64_t shadow_mem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue