[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqc
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip |
Date: |
Wed, 3 Oct 2012 20:54:17 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Oct 03, 2012 at 07:52:57AM -0300, Marcelo Tosatti wrote:
> Commit 3ad763fcba5bd0ec5a79d4a9b6baeef119dd4a3d from qemu-kvm.git.
>
> From: Jan Kiszka <address@hidden>
>
> Upstream is moving towards this mechanism, so start using it in qemu-kvm
> already to configure the specific defaults: kvm enabled on, just like
> in-kernel irqchips.
>
> Signed-off-by: Marcelo Tosatti <address@hidden>
>
> Index: qemu-compat-kvm/vl.c
> ===================================================================
> --- qemu-compat-kvm.orig/vl.c
> +++ qemu-compat-kvm/vl.c
> @@ -3061,6 +3061,12 @@ int main(int argc, char **argv, char **e
> 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_usb:
> usb_enabled = 1;
> break;
> Index: qemu-compat-kvm/qemu-options.hx
> ===================================================================
> --- qemu-compat-kvm.orig/qemu-options.hx
> +++ qemu-compat-kvm/qemu-options.hx
> @@ -2838,6 +2838,10 @@ STEXI
> Enable FIPS 140-2 compliance mode.
> ETEXI
>
> +DEF("no-kvm-irqchip", 0, QEMU_OPTION_no_kvm_irqchip,
> + "-no-kvm-irqchip disable KVM kernel mode PIC/IOAPIC/LAPIC\n",
> + QEMU_ARCH_I386)
> +
> HXCOMM This is the last statement. Insert new options before this line!
> STEXI
> @end table
>
As far as I understand, this option was not in QEMU, because this syntax
is considered as deprecated. Can we also add an output a warning message
in that case?
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net
- Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip, (continued)
- Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip, Jan Kiszka, 2012/10/04
- Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip, Anthony Liguori, 2012/10/04
- Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip, Jan Kiszka, 2012/10/04
- Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip, Andreas Färber, 2012/10/04
- Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip, Jan Kiszka, 2012/10/04
- Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip, Andreas Färber, 2012/10/04
- Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip, Jan Kiszka, 2012/10/04
- Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip, Marcelo Tosatti, 2012/10/04
- Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip, Marcelo Tosatti, 2012/10/04
- Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip, Anthony Liguori, 2012/10/04
Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip,
Aurelien Jarno <=
[Qemu-devel] [patch 1/6] cirrus_vga: allow configurable vram size, Marcelo Tosatti, 2012/10/03
[Qemu-devel] [patch 5/6] Emulate qemu-kvms drive parameter boot=on|off, Marcelo Tosatti, 2012/10/03
[Qemu-devel] [patch 3/6] Use machine options to emulate -no-kvm-pit, Marcelo Tosatti, 2012/10/03
Re: [Qemu-devel] [patch 0/6] qemu-kvm compat, Anthony Liguori, 2012/10/03