* [ kvm-Bugs-2835276 ] segfault using -cpu pentium3 on coreduo
@ 2011-03-03 11:36 SourceForge.net
0 siblings, 0 replies; 2+ messages in thread
From: SourceForge.net @ 2011-03-03 11:36 UTC (permalink / raw)
To: noreply
Bugs item #2835276, was opened at 2009-08-11 03:38
Message generated for change (Comment added) made by jessorensen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2835276&group_id=180599
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: qemu
Group: None
>Status: Closed
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Aron Griffis (agriffis)
Assigned to: Nobody/Anonymous (nobody)
Summary: segfault using -cpu pentium3 on coreduo
Initial Comment:
qemu-0.11.0-rc1 and qemu-kvm-HEAD segfault with -cpu pentium3 on ProLiant DL380
G5 (dual-socket dual-core Intel Xeon 5160). This is a regression from
qemu-0.10.6 which does not have the problem.
Using -cpu coreduo avoids the segfault. -cpu athlon works too.
I bisected to find that the problem is introduced by
0ed8cfc05bb012e52b92771bb13bef0e2e80c828 and can be worked around by the
following patch to HEAD which effectively reverts that commit:
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1096,11 +1096,11 @@ CPUState *pc_new_cpu(const char *cpu_model)
}
if ((env->cpuid_features & CPUID_APIC) || smp_cpus > 1) {
env->cpuid_apic_id = env->cpu_index;
- /* APIC reset callback resets cpu */
- apic_init(env);
} else {
qemu_register_reset((QEMUResetHandler*)cpu_reset, env);
}
+ /* APIC reset callback resets cpu */
+ apic_init(env);
/* kvm needs this to run after the apic is initialized. Otherwise,
* it can access invalid state and crash.
----------------------------------------------------------------------
>Comment By: Jes Sorensen (jessorensen)
Date: 2011-03-03 12:36
Message:
Tested current qemu and qemu-kvm, both works with pentium3 and coreduo, so
bug looks to have
been fixed.
Jes
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2835276&group_id=180599
^ permalink raw reply [flat|nested] 2+ messages in thread* [ kvm-Bugs-2835276 ] segfault using -cpu pentium3 on coreduo
@ 2009-08-11 1:39 SourceForge.net
0 siblings, 0 replies; 2+ messages in thread
From: SourceForge.net @ 2009-08-11 1:39 UTC (permalink / raw)
To: noreply
Bugs item #2835276, was opened at 2009-08-10 21:38
Message generated for change (Tracker Item Submitted) made by agriffis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2835276&group_id=180599
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: qemu
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Aron Griffis (agriffis)
Assigned to: Nobody/Anonymous (nobody)
Summary: segfault using -cpu pentium3 on coreduo
Initial Comment:
qemu-0.11.0-rc1 and qemu-kvm-HEAD segfault with -cpu pentium3 on ProLiant DL380
G5 (dual-socket dual-core Intel Xeon 5160). This is a regression from
qemu-0.10.6 which does not have the problem.
Using -cpu coreduo avoids the segfault. -cpu athlon works too.
I bisected to find that the problem is introduced by
0ed8cfc05bb012e52b92771bb13bef0e2e80c828 and can be worked around by the
following patch to HEAD which effectively reverts that commit:
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1096,11 +1096,11 @@ CPUState *pc_new_cpu(const char *cpu_model)
}
if ((env->cpuid_features & CPUID_APIC) || smp_cpus > 1) {
env->cpuid_apic_id = env->cpu_index;
- /* APIC reset callback resets cpu */
- apic_init(env);
} else {
qemu_register_reset((QEMUResetHandler*)cpu_reset, env);
}
+ /* APIC reset callback resets cpu */
+ apic_init(env);
/* kvm needs this to run after the apic is initialized. Otherwise,
* it can access invalid state and crash.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2835276&group_id=180599
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-03 11:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03 11:36 [ kvm-Bugs-2835276 ] segfault using -cpu pentium3 on coreduo SourceForge.net
-- strict thread matches above, loose matches on Subject: below --
2009-08-11 1:39 SourceForge.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox