Skip to contentSkip to conversation

non-blocking disk IO

PATCH John Coiner 2 participants 6 messages Oct 3, 2005 – Oct 5, 2005

lore
Share & tools
lore
#0 lore raw

Magnus,

I don't think the Windows 2000 install hack will ever be obsolete.

The installer assumes that a hard disk will take nonzero time to read some data. QEMU always services a read in zero-guest-time. (With the nonblocking IO patch, zero-guest-time reads still occur, when the requested data is in the host's file cache.)

I doubt the IDE spec allows Windows to make this assumption... but the assumption is there, and we work around it by adding a delay that's visible to the guest.

-- John

#1 lore raw
Quoted 5 lines · John Coiner

Magnus,

I don't think the Windows 2000 install hack will ever be obsolete.

Quoted 8 lines

The installer assumes that a hard disk will take nonzero time to read some data. QEMU always services a read in zero-guest-time. (With the nonblocking IO patch, zero-guest-time reads still occur, when the requested data is in the host's file cache.)

I doubt the IDE spec allows Windows to make this assumption... but the assumption is there, and we work around it by adding a delay that's visible to the guest.

There are other bugs in the IDE emulation..

I need to try this latest patch, but with the previous DMA patch (without non-blocking support) having a disk image on an AFS filesystem just did not work at all.

I am also haveing trouble getting a fresh win2k install under qemu to actually be able to run windows update.

#2 lore raw
Quoted 2 lines · Troy Benjegerdes

I am also haveing trouble getting a fresh win2k install under qemu to actually be able to run windows update.

I had to download and install Win2k SP4, then Win2k SP4 "Hotfixes," and also an IE6 upgrade, before windows update ran.

-john

#3 lore raw
Quoted 9 lines · John Coiner
Quoted 3 lines · Troy Benjegerdes

I am also haveing trouble getting a fresh win2k install under qemu to actually
be able to run windows update.

I had to download and install Win2k SP4, then Win2k SP4 "Hotfixes," and also an IE6 upgrade, before windows update ran.

Are you running with a tun/tap device, or -user-net ? I'm still unable to get windowsupdate to work. Getting it to work in vmware seems to work on the first try.

#4 lore raw
Quoted 6 lines
Quoted 2 lines

I had to download and install Win2k SP4, then Win2k SP4 "Hotfixes," and also an IE6 upgrade, before windows update ran.

Are you running with a tun/tap device, or -user-net ? I'm still unable to get windowsupdate to work. Getting it to work in vmware seems to work on the first try.

I've been running -user-net.

#5 lore raw
Quoted 9 lines · John Coiner
Quoted 7 lines
Quoted 3 lines

I had to download and install Win2k SP4, then Win2k SP4 "Hotfixes," and also an IE6 upgrade, before windows update ran.

Are you running with a tun/tap device, or -user-net ? I'm still unable to get windowsupdate to work. Getting it to work in vmware seems to work on the first try.

I've been running -user-net.

Okay, after some magic combination of SP4, hotfixes, and IE6 upgrade, plus some fiddling, and a full rebuild of qemu with your latest patch, I have a win2k image that seems to be able to run windows update successfully.

Now, if I could just get vnc to be more reponsive when running qemu on a fast server on the other side of a DSL line ;)