mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
Use machine options to emulate -no-kvm-irqchip
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-irqchip option. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
19403a68fb
commit
e43d594ee5
2 changed files with 8 additions and 0 deletions
5
vl.c
5
vl.c
|
@ -2574,6 +2574,11 @@ int main(int argc, char **argv, char **envp)
|
|||
case QEMU_OPTION_M:
|
||||
machine = machine_parse(optarg);
|
||||
break;
|
||||
case QEMU_OPTION_no_kvm_irqchip: {
|
||||
olist = qemu_find_opts("machine");
|
||||
qemu_opts_parse(olist, "kernel_irqchip=off", 0);
|
||||
break;
|
||||
}
|
||||
case QEMU_OPTION_cpu:
|
||||
/* hw initialization will check this */
|
||||
cpu_model = optarg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue