Skip to contentSkip to conversation

Fix failure to create q35 machine

PATCH Superseded Hu Tao 2 participants 4 messages Apr 10, 2013

lore
Share & tools
lore

Hu Tao

author
#0 lore raw

PATCH 1/1 Fix failure to create q35 machine

This is a regression introduced by c0907c9e6417c. -M q35 to reproduce the problem.

---
 default-configs/i386-softmmu.mak   | 2 +-
 default-configs/x86_64-softmmu.mak | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
default-configs/i386-softmmu.mak +1 -1
index 4ac0694..6d9d364 100644
@@ -42,6 +42,6 @@ CONFIG_ISA_TESTDEV=y
 CONFIG_VMPORT=y
 CONFIG_SGA=y
 CONFIG_LPC_ICH9=y
-CONFIG_Q35=y
+CONFIG_PCI_Q35=y
 CONFIG_APIC=y
 CONFIG_IOAPIC=y
default-configs/x86_64-softmmu.mak +1 -1
index bf4091c..3b06310 100644
@@ -42,6 +42,6 @@ CONFIG_ISA_TESTDEV=y
 CONFIG_VMPORT=y
 CONFIG_SGA=y
 CONFIG_LPC_ICH9=y
-CONFIG_Q35=y
+CONFIG_PCI_Q35=y
 CONFIG_APIC=y
 CONFIG_IOAPIC=y
Signature · 1 line
1.8.1.4
Tested-by on v1 1/1
#1 lore raw
Quoted 2 lines · Hu Tao

This is a regression introduced by c0907c9e6417c. -M q35 to reproduce the problem.

Including a complete reproducer in the commit message would be a bit nicer. Here's one:

    $ qemu-system-x86_64 -nodefaults -vnc :0 -M q35
    WARNING: failed to find q35-acpi-dsdt.aml
    upstream-qemu: Unknown device 'q35-pcihost' for default sysbus
    Aborted (core dumped)
author
#2 lore raw
Quoted 10 lines · Markus Armbruster
Quoted 2 lines · Hu Tao

This is a regression introduced by c0907c9e6417c. -M q35 to reproduce the problem.

Including a complete reproducer in the commit message would be a bit nicer. Here's one:

    $ qemu-system-x86_64 -nodefaults -vnc :0 -M q35
    WARNING: failed to find q35-acpi-dsdt.aml

This line is somehow unrelated.

Quoted 4 lines

upstream-qemu: Unknown device 'q35-pcihost' for default sysbus Aborted (core dumped)

Thanks for testing! I'll send v2.

Signature · 2 lines
Regards,
Hu Tao
author
#3 lore raw

PATCH v2 1/1 Fix failure to create q35 machine

In reply to Hu Tao

This is a regression introduced by c0907c9e6417c. How to reproduce:

$ qemu-system-x86_64 -nodefaults -vnc :0 -M q35
qemu-system-x86_64: Unknown device 'q35-pcihost' for default sysbus
Aborted (core dumped)
---
 default-configs/i386-softmmu.mak   | 2 +-
 default-configs/x86_64-softmmu.mak | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
default-configs/i386-softmmu.mak +1 -1
index 4ac0694..6d9d364 100644
@@ -42,6 +42,6 @@ CONFIG_ISA_TESTDEV=y
 CONFIG_VMPORT=y
 CONFIG_SGA=y
 CONFIG_LPC_ICH9=y
-CONFIG_Q35=y
+CONFIG_PCI_Q35=y
 CONFIG_APIC=y
 CONFIG_IOAPIC=y
default-configs/x86_64-softmmu.mak +1 -1
index bf4091c..3b06310 100644
@@ -42,6 +42,6 @@ CONFIG_ISA_TESTDEV=y
 CONFIG_VMPORT=y
 CONFIG_SGA=y
 CONFIG_LPC_ICH9=y
-CONFIG_Q35=y
+CONFIG_PCI_Q35=y
 CONFIG_APIC=y
 CONFIG_IOAPIC=y
Signature · 1 line
1.8.1.4