peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

Blame 0001-qemu-kvm-Add-missing-default-machine-options.patch

329b58
From 398b87f4ef3426569bdda2da2c9c2b89f4ba906f Mon Sep 17 00:00:00 2001
329b58
From: Jan Kiszka <jan.kiszka@siemens.com>
329b58
Date: Mon, 2 Jul 2012 09:34:46 +0200
329b58
Subject: [PATCH 01/17] qemu-kvm: Add missing default machine options
329b58
329b58
qemu-kvm-specific machine defaults were missing for pc-0.15 and pc-1.0.
329b58
329b58
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
329b58
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
329b58
---
329b58
 hw/pc_piix.c |    2 ++
329b58
 1 file changed, 2 insertions(+)
329b58
329b58
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
329b58
index c3fb74e..4e8a280 100644
329b58
--- a/hw/pc_piix.c
329b58
+++ b/hw/pc_piix.c
329b58
@@ -393,6 +393,7 @@ static QEMUMachine pc_machine_v1_0 = {
329b58
     .desc = "Standard PC",
329b58
     .init = pc_init_pci,
329b58
     .max_cpus = 255,
329b58
+    .default_machine_opts = "accel=kvm,kernel_irqchip=on",
329b58
     .compat_props = (GlobalProperty[]) {
329b58
         PC_COMPAT_1_0,
329b58
         { /* end of list */ }
329b58
@@ -407,6 +408,7 @@ static QEMUMachine pc_machine_v0_15 = {
329b58
     .desc = "Standard PC",
329b58
     .init = pc_init_pci,
329b58
     .max_cpus = 255,
329b58
+    .default_machine_opts = "accel=kvm,kernel_irqchip=on",
329b58
     .compat_props = (GlobalProperty[]) {
329b58
         PC_COMPAT_0_15,
329b58
         { /* end of list */ }
329b58
-- 
329b58
1.7.10.4
329b58