From: Jan Kiszka <jan.kiszka@siemens.com>
To: Anthony Liguori <aliguori@us.ibm.com>,
qemu-devel <qemu-devel@nongnu.org>
Cc: Avi Kivity <avi@redhat.com>
Subject: [Qemu-devel] [PATCH] vapic: Disable for pre-1.1 machines
Date: Thu, 29 Mar 2012 14:14:07 +0200 [thread overview]
Message-ID: <4F74520F.3000700@siemens.com> (raw)
The kvmvapic was not present in older QEMU versions, thus must be
disabled in compat machines.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
hw/pc_piix.c | 43 +++++++++++++++++++++++++++++++++----------
1 files changed, 33 insertions(+), 10 deletions(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 3f99f9a..8061960 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -386,6 +386,10 @@ static QEMUMachine pc_machine_v1_0 = {
.driver = "isa-fdc",
.property = "check_media_rate",
.value = "off",
+ },{
+ .driver = "apic",
+ .property = "vapic",
+ .value = "off",
},
{ /* end of list */ }
},
@@ -405,6 +409,10 @@ static QEMUMachine pc_machine_v0_15 = {
.driver = "isa-fdc",
.property = "check_media_rate",
.value = "off",
+ },{
+ .driver = "apic",
+ .property = "vapic",
+ .value = "off",
},
{ /* end of list */ }
},
@@ -444,11 +452,14 @@ static QEMUMachine pc_machine_v0_14 = {
.driver = "isa-fdc",
.property = "check_media_rate",
.value = "off",
- },
- {
+ },{
.driver = "pc-sysfw",
.property = "rom_only",
.value = stringify(1),
+ },{
+ .driver = "apic",
+ .property = "vapic",
+ .value = "off",
},
{ /* end of list */ }
},
@@ -500,11 +511,14 @@ static QEMUMachine pc_machine_v0_13 = {
.driver = "isa-fdc",
.property = "check_media_rate",
.value = "off",
- },
- {
+ },{
.driver = "pc-sysfw",
.property = "rom_only",
.value = stringify(1),
+ },{
+ .driver = "apic",
+ .property = "vapic",
+ .value = "off",
},
{ /* end of list */ }
},
@@ -560,11 +574,14 @@ static QEMUMachine pc_machine_v0_12 = {
.driver = "isa-fdc",
.property = "check_media_rate",
.value = "off",
- },
- {
+ },{
.driver = "pc-sysfw",
.property = "rom_only",
.value = stringify(1),
+ },{
+ .driver = "apic",
+ .property = "vapic",
+ .value = "off",
},
{ /* end of list */ }
}
@@ -628,11 +645,14 @@ static QEMUMachine pc_machine_v0_11 = {
.driver = "isa-fdc",
.property = "check_media_rate",
.value = "off",
- },
- {
+ },{
.driver = "pc-sysfw",
.property = "rom_only",
.value = stringify(1),
+ },{
+ .driver = "apic",
+ .property = "vapic",
+ .value = "off",
},
{ /* end of list */ }
}
@@ -708,11 +728,14 @@ static QEMUMachine pc_machine_v0_10 = {
.driver = "isa-fdc",
.property = "check_media_rate",
.value = "off",
- },
- {
+ },{
.driver = "pc-sysfw",
.property = "rom_only",
.value = stringify(1),
+ },{
+ .driver = "apic",
+ .property = "vapic",
+ .value = "off",
},
{ /* end of list */ }
},
--
1.7.3.4
reply other threads:[~2012-03-29 12:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F74520F.3000700@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=aliguori@us.ibm.com \
--cc=avi@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).