mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
Emulate qemu-kvms -no-kvm option
Releases of qemu-kvm will be interrupted at qemu 1.3.0. Users should switch to plain qemu releases. To avoid breaking scenarios which are setup with command line options specific to qemu-kvm, port these switches from qemu-kvm to qemu.git. Port -no-kvm option. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
88eed34a6b
commit
a0dac021fa
@ -2888,6 +2888,9 @@ STEXI
|
|||||||
Enable FIPS 140-2 compliance mode.
|
Enable FIPS 140-2 compliance mode.
|
||||||
ETEXI
|
ETEXI
|
||||||
|
|
||||||
|
HXCOMM Deprecated by -machine accel=tcg property
|
||||||
|
DEF("no-kvm", HAS_ARG, QEMU_OPTION_no_kvm, "", QEMU_ARCH_I386)
|
||||||
|
|
||||||
HXCOMM Deprecated by kvm-pit driver properties
|
HXCOMM Deprecated by kvm-pit driver properties
|
||||||
DEF("no-kvm-pit-reinjection", HAS_ARG, QEMU_OPTION_no_kvm_pit_reinjection,
|
DEF("no-kvm-pit-reinjection", HAS_ARG, QEMU_OPTION_no_kvm_pit_reinjection,
|
||||||
"", QEMU_ARCH_I386)
|
"", QEMU_ARCH_I386)
|
||||||
|
4
vl.c
4
vl.c
@ -3171,6 +3171,10 @@ int main(int argc, char **argv, char **envp)
|
|||||||
machine = machine_parse(optarg);
|
machine = machine_parse(optarg);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case QEMU_OPTION_no_kvm:
|
||||||
|
olist = qemu_find_opts("machine");
|
||||||
|
qemu_opts_parse(olist, "accel=tcg", 0);
|
||||||
|
break;
|
||||||
case QEMU_OPTION_no_kvm_pit: {
|
case QEMU_OPTION_no_kvm_pit: {
|
||||||
fprintf(stderr, "Warning: KVM PIT can no longer be disabled "
|
fprintf(stderr, "Warning: KVM PIT can no longer be disabled "
|
||||||
"separately.\n");
|
"separately.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user