mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
kvm: Add a new machine option kvm-type
Targets like ppc64 support different types of KVM, one which use hypervisor mode and the other which doesn't. Add a new machine option kvm-type that helps in selecting the respective ones We also add a new QEMUMachine callback get_vm_type that helps in mapping the string representation of kvm type specified. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> [agraf: spelling fixes, use error_report(), use qemumachine.h] Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
9c06a1f79f
commit
135a129a1c
11 changed files with 53 additions and 15 deletions
2
qtest.c
2
qtest.c
|
|
@ -500,7 +500,7 @@ static void qtest_event(void *opaque, int event)
|
|||
}
|
||||
}
|
||||
|
||||
int qtest_init_accel(void)
|
||||
int qtest_init_accel(QEMUMachine *machine)
|
||||
{
|
||||
configure_icount("0");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue