Skip to contentSkip to conversation

HT problem

Qemu-devel Kazu 2 participants 5 messages Dec 23, 2005 – Jan 15, 2006

lore
Share & tools
lore

Kazu

author
#0 lore raw

Hi,

I have a report that when hyper-threading is on, Linux doesn't boot on
Windows XP. It occurs when linux kernel is loading. But when HT is turned off, qemu works fine. Does this occur on Linux host ?

Host: Windows XP SP2
Guest : linux-test image
QEMU version : 0.8.0
ASUS P4P800 Deluxe
Intel Pentium4 3.0GHz
DDR400 512MB x 2

Regards,
Kazu

#1 lore raw
Quoted 11 lines · Kazu

Hi,

I have a report that when hyper-threading is on, Linux doesn't boot on
Windows XP. It occurs when linux kernel is loading. But when HT is turned off, qemu works fine. Does this occur on Linux host ?

Host: Windows XP SP2
Guest : linux-test image
QEMU version : 0.8.0
ASUS P4P800 Deluxe
Intel Pentium4 3.0GHz
DDR400 512MB x 2

No the problem is unique to Windows hosts (running SMP or HT), and is due to the fact that QEMU is not MT safe and the fact that MM callback is called on the separate thread. The fact it worked at all (and works on UP now) is a simple luck. None of the attempts to hack around the issue was successful so far. TODO lists this as short term item.

P.S. The increased frequency in the call of timeSetEvent (1 now was 10
before) is what's causing this.

Signature · 1 line
mailto:[email protected]
author
#2 lore raw

Hi, marc.

Quoted 9 lines · Friday, December 23, 2005 marc wrote:

No the problem is unique to Windows hosts (running SMP or HT), and is due to the fact that QEMU is not MT safe and the fact that MM callback is called on the separate thread. The fact it worked at all (and works on UP now) is a simple luck. None of the attempts to hack around the issue was successful so far. TODO lists this as short term item.

P.S. The increased frequency in the call of timeSetEvent (1 now was 10
before) is what's causing this.

Thanks. Now I got it.

Regards,
Kazu

#3 lore raw
In reply to Kazu
Quoted 4 lines · Kazu

Hi,

I have a report that when hyper-threading is on, Linux doesn't boot on
Windows XP. It occurs when linux kernel is loading. But when HT is turned off, qemu works fine. Does this occur on Linux host ?

Jari Komppa made a launcher that sets affinities just right to run QEMU on Windows HT/MP systems.

The binary and source are available at:

http://sol.gfxile.net/ (http://sol.gfxile.net/files/splauncher.zip)

Signature · 1 line
mailto:[email protected]
author
#4 lore raw
Quoted 8 lines · malc
Quoted 5 lines · Kazu

Hi,

I have a report that when hyper-threading is on, Linux doesn't boot on Windows XP. It occurs when linux kernel is loading. But when HT is turned off, qemu works fine. Does this occur on Linux host ?

Quoted 7 lines

Jari Komppa made a launcher that sets affinities just right to run QEMU on Windows HT/MP systems.

The binary and source are available at:

http://sol.gfxile.net/ (http://sol.gfxile.net/files/splauncher.zip)

Great! I asked my friends and got a report that it works on HT system..

Regard,
Kazu