Skip to contentSkip to conversation

qemu-kvm: Add missing default machine options

PATCH Applied Jan Kiszka 2 participants 2 messages Jul 2, 2012 – Jul 3, 2012 KVM

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 qemu-kvm: Add missing default machine options

qemu-kvm-specific machine defaults were missing for pc-0.15 and pc-1.0.

---
 hw/pc_piix.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
hw/pc_piix.c +2 -0
index c3fb74e..4e8a280 100644
@@ -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 */ }
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 6 lines · Jan Kiszka

qemu-kvm-specific machine defaults were missing for pc-0.15 and pc-1.0.

---
 hw/pc_piix.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Applied both stable patches, thanks.