From: Asdo <asdo@shiftmail.org>
To: kvm@vger.kernel.org
Subject: Can't make virtio block driver work on Windows 2003
Date: Wed, 14 Oct 2009 19:52:27 +0200 [thread overview]
Message-ID: <4AD60FDB.7010603@shiftmail.org> (raw)
Hi all
I have a new installation of Windows 2003 SBS server 32bit which I
installed using IDE disk.
KVM version is QEMU PC emulator version 0.10.50 (qemu-kvm-devel-86)
compiled by myself on kernel 2.6.28-11-server.
I have already moved networking from e1000 to virtio (e1000 was
performing very sluggishly btw, probably was losing many packets, virtio
seems to work)
Now I want to move the disk to virtio...
This is complex so I thought that first I wanted to see virtio installed
and working on another drive.
So I tried adding another drive, a virtio one, (a new 100MB file at host
side) to the virtual machine and rebooting.
A first problem is that Windows does not detect the new device upon boot
or Add Hardware scan.
Here is the kvm commandline (it's complex because it comes from libvirt):
/usr/local/kvm/bin/qemu-system-x86_64 -S -M pc -m 4096-smp 4 -name
winserv2 -uuid xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -monitor pty -boot c
-drive
file=/virtual_machines/kvm/nfsimport/winserv2.raw,if=ide,index=0,boot=on
-drive file=/virtual_machines/kvm/nfsimport/zerofile,if=virtio,index=1
-net nic,macaddr=xx:xx:xx:xx:xx:xx,vlan=0,model=virtio -net
tap,fd=25,vlan=0 -serial none -parallel none -usb -vnc 127.0.0.1:4
Even if Windows couldn't detect the new device I tried to install the
driver anyway. On Add Hardware I go through to --> SCSI and RAID
controllers --> Have Disk .. and point it to the location of viostor
files (windows 2003 x86) downloaded from:
http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers
http://people.redhat.com/~yvugenfi/24.09.2009/viostor.zip
Windows does install the driver, however at the end it says:
The software for this device is now installed, but may not work
correctly.
This device cannot start. (Code 10)
and the new device gets flagged with a yellow exclamation mark in Device
Manager.
I don't know if it's the same reason as before, that the device is not
detected so the driver cannot work, or another reason.
Any idea?
Thanks for your help
next reply other threads:[~2009-10-15 2:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-14 17:52 Asdo [this message]
2009-10-15 5:14 ` Can't make virtio block driver work on Windows 2003 Vadim Rozenfeld
2009-10-15 11:42 ` Asdo
2009-10-15 13:20 ` Vadim Rozenfeld
2009-10-15 14:23 ` Asdo
2009-10-15 15:08 ` Vadim Rozenfeld
2009-10-15 17:35 ` Asdo
2009-10-15 9:29 ` Martin Maurer
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=4AD60FDB.7010603@shiftmail.org \
--to=asdo@shiftmail.org \
--cc=kvm@vger.kernel.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).