This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] Unable to hot-add disk to Win2K3 HVM with GPLPV drivers

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Unable to hot-add disk to Win2K3 HVM with GPLPV drivers
From: Andy Burns <lists.xensource.com@xxxxxxxxxxxxxx>
Date: Thu, 03 Jul 2008 09:14:09 +0100
Delivery-date: Thu, 03 Jul 2008 01:14:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/20080421 Lightning/0.8 Thunderbird/ Mnenhy/
I'm using xen 3.1.2 with fedora8 in dom0 and Win2K3 SP2 with pre-release drivers in domU.

The domain is defined with virsh, and has a single hard disc on LVM phy: and a cdrom from an iso file: the machine boots properly with and without /gplpv

I wanted to add another LVM based partition for IOmeter testing, so I did

        virsh attach-disk wintest2 /dev/vgr5/junk xvdc --driver phy

Within Windows, I saw an event logged

        source: XenVbd
        eventid: 4
        descr:  Driver detected an internal error in its data structures
                for \Device\Scsi\XenVbd3

In Device Manager the exising block devices show as

        Xen Block Device Driver

but the hot-added one shows as

        Xen vbd device #51744

it has the same drivers xen/config/hide/vbd.sys loaded as the functioning disks.

If I do a

        virsh detach-disk wintest2 xvdc

I get no error, but the disk doesn't disappear inside Windows.

I then rebooted the domain and tried

        virsh attach-disk wintest2 /dev/vgr5/junk hdb --driver phy

this time no event was logged, but no new disc showed up in device manager, or under disk management

Am I doing something wrong?

Xen-users mailing list