Skip to contentSkip to conversation

kvm-guest-drivers-windows-1

ANNOUNCE Avi Kivity 6 participants 9 messages Mar 18, 2008 – Mar 29, 2008 KVM

lore
Share & tools
lore

Avi Kivity

author
#0 lore raw

This is the first release of network drivers for Windows guests running on a kvm host. The drivers are intended for Windows 2000 and Windows XP 32-bit. kvm-61 or later is needed in the host. At the moment only binaries are available.

The drivers are available from the download page of the kvm website, below.

To use, download the drivers into the guest (using one of the emulated network cards), and unpack the package. Reboot with '-net nic,model=virtio' instead of the usual setting, and when Windows prompts you for a driver location, select the appropriate directory in the package (Windows XP or Windows 2000).

Initial release:
- kvm network drivers for Windows 2000 and Windows XP (Yan Vugenfirer, Dor Laor)

http://kvm.qumranet.com/

Signature · 8 lines
Do not meddle in the internals of kernels, for they are subtle and quick 
to panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
#1 lore raw
Quoted 4 lines · Avi Kivity

This is the first release of network drivers for Windows guests running on a kvm host. The drivers are intended for Windows 2000 and Windows XP 32-bit. kvm-61 or later is needed in the host. At the moment only binaries are available.

There's no license file inside the ZIP file - what license are the binaries re-distributed under ?

Regards,
Dan.

Signature · 9 lines
|: Red Hat, Engineering, Boston   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
author
#2 lore raw
Quoted 12 lines · Daniel P. Berrange
Quoted 5 lines · Avi Kivity

This is the first release of network drivers for Windows guests running on a kvm host. The drivers are intended for Windows 2000 and Windows XP 32-bit. kvm-61 or later is needed in the host. At the moment only binaries are available.

There's no license file inside the ZIP file - what license are the binaries re-distributed under ?

Good question. I'll find out. I imagine they'd be freely redistributable.

Signature · 7 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
author
#3 lore raw
Quoted 11 lines · Avi Kivity
Quoted 9 lines · Daniel P. Berrange
Quoted 6 lines · Avi Kivity

This is the first release of network drivers for Windows guests running on a kvm host. The drivers are intended for Windows 2000 and Windows XP 32-bit. kvm-61 or later is needed in the host. At the moment only binaries are available.

Quoted 9 lines
Quoted 5 lines

There's no license file inside the ZIP file - what license are the binaries re-distributed under ?

Good question. I'll find out. I imagine they'd be freely redistributable.

The binaries are free for use and redistribution for commercial and non-commercial use. The sources will be released under an open-source license, provided the Windows DDK terms permit.

Signature · 7 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
author
#5 lore raw
Quoted 8 lines · Ian Kirk
Quoted 3 lines · Avi Kivity

This is the first release of network drivers for Windows guests running on a kvm host.

Any plans for Windows Server

IIUC the XP drivers should also work for Windows 2003 Server. Windows 2008 Server and x64 variants are planned.

Quoted 2 lines

and block support?

No plans at this point. SCSI emulation should provide decent performance.

Signature · 7 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
#6 lore raw
Quoted 1 line · Avi Kivity

No plans at this point. SCSI emulation should provide decent performance.

Are there plans for addressing QEMU's issues w/ the SCSI emulation for Windows guests?

https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1895893&group_id=180599

[posting this in part as a warning, lest others go through the process of setting Windows up on a guest using SCSI and end up needing to throw out the install -- XP doesn't seem to take well to its SCSI drive becoming IDE without a reinstall].

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

#7 lore raw
Quoted 6 lines

[posting this in part as a warning, lest others go through the process of setting Windows up on a guest using SCSI and end up needing to throw out the install -- XP doesn't seem to take well to its SCSI drive becoming IDE without a reinstall].

While I agree that the situation is troublesome there is no need to throw out such an install. I did just the SCSI to IDE migration on a couple of Windows Server 2003 guests successfully.

Here's the memo I just wrote about that:

Situation:
Hardware to be moved from one machine to another and hard disk controllers differ significantly.

Example:
Moved various servers from ESX 2.5 guests (LSI SCSI Controller) to KVM guests (Intel 802731SB IDE Controller).
Without preparion the guest's error out with a 0x0000007B blue screen and only a rescue-installation would be able to rectify that.

Solution:
* Before hardware change: Delete all host-specific relevant hardware in device manager on old machine [This might even not be needed]
* Before hardware change: Execute the registery file corresponding to this memo [appended below] and shut the machine down
* Transfer it
* It boots up fine and finds the new hardware

Tested on:
* Win 2003 Server Std SP1

Registry file to reset the disk controller:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\primary_ide_channel]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="atapi"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\secondary_ide_channel]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="atapi"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\*pnp0600]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="atapi"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\*azt0502]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="atapi"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\gendisk]

"ClassGUID"="{4D36E967-E325-11CE-BFC1-08002BE10318}" "Service"="disk"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#cc_0101]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_0e11&dev_ae33]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_1039&dev_0601]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_1039&dev_5513]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_1042&dev_1000]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_105a&dev_4d33]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_1095&dev_0640]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_1095&dev_0646]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_1097&dev_0038]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_10ad&dev_0001]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_10ad&dev_0150]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_10b9&dev_5215]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_10b9&dev_5219]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_10b9&dev_5229]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_1106&dev_0571]

"Service"="pciide" "ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_1222]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="intelide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_1230]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="intelide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2411]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="intelide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2421]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="intelide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_7010]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="intelide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_7111]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="intelide"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_7199]

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}" "Service"="intelide"

;Add driver for Atapi (requires atapi.sys in drivers directory)

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\atapi] "ErrorControl"=dword:00000001
"Group"="SCSI miniport"
"Start"=dword:00000000
"Tag"=dword:00000019
"Type"=dword:00000001
"DisplayName"="Standard IDE/ESDI Hard Disk Controller" "ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\

52,00,49,00,56,00,45,00,52,00,53,00,5c,00,61,00,74,00,61,00,70,00,69,00,2e,\

00,73,00,79,00,73,00,00,00

;Add driver for intelide (requires intelide.sys in drivers directory)

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IntelIde] "ErrorControl"=dword:00000001
"Group"="System Bus Extender"
"Start"=dword:00000000
"Tag"=dword:00000004
"Type"=dword:00000001 "ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\

52,00,49,00,56,00,45,00,52,00,53,00,5c,00,69,00,6e,00,74,00,65,00,6c,00,69,\

00,64,00,65,00,2e,00,73,00,79,00,73,00,00,00

;Add driver for pciide (requires pciide.sys and pciidex.sys in drivers directory)

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PCIIde] "ErrorControl"=dword:00000001
"Group"="System Bus Extender"
"Start"=dword:00000000
"Tag"=dword:00000003
"Type"=dword:00000001 "ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\

52,00,49,00,56,00,45,00,52,00,53,00,5c,00,70,00,63,00,69,00,69,00,64,00,65,\

00,2e,00,73,00,79,00,73,00,00,00

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

#8 lore raw
In reply to Ian Kirk

Ian,

XP drivers are also supported on Win2003 server.

Best regards,
Yan Vugenfirer.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ian Kirk
Sent: ג 18 מרץ 2008 17:19
To: Avi Kivity
Cc: KVM
Subject: Re: [kvm-devel] [ANNOUNCE] kvm-guest-drivers-windows-1

Quoted 2 lines · Avi Kivity

This is the first release of network drivers for Windows guests running on a kvm host.

Any plans for Windows Server and block support?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel