diff mbox

[stable-1.1] qemu-kvm: Add missing default machine options

Message ID 4FF14F16.1030007@siemens.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka July 2, 2012, 7:34 a.m. UTC
qemu-kvm-specific machine defaults were missing for pc-0.15 and pc-1.0.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 hw/pc_piix.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Marcelo Tosatti July 3, 2012, 11:36 a.m. UTC | #1
On Mon, Jul 02, 2012 at 09:34:46AM +0200, Jan Kiszka wrote:
> qemu-kvm-specific machine defaults were missing for pc-0.15 and pc-1.0.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>  hw/pc_piix.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Applied both stable patches, thanks.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index c3fb74e..4e8a280 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -393,6 +393,7 @@  static QEMUMachine pc_machine_v1_0 = {
     .desc = "Standard PC",
     .init = pc_init_pci,
     .max_cpus = 255,
+    .default_machine_opts = "accel=kvm,kernel_irqchip=on",
     .compat_props = (GlobalProperty[]) {
         PC_COMPAT_1_0,
         { /* end of list */ }
@@ -407,6 +408,7 @@  static QEMUMachine pc_machine_v0_15 = {
     .desc = "Standard PC",
     .init = pc_init_pci,
     .max_cpus = 255,
+    .default_machine_opts = "accel=kvm,kernel_irqchip=on",
     .compat_props = (GlobalProperty[]) {
         PC_COMPAT_0_15,
         { /* end of list */ }