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