WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Simple question about Para-virtualized drivers in Windo

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Simple question about Para-virtualized drivers in Windows
From: Alba <florfoto@xxxxxxxxx>
Date: Wed, 20 May 2009 18:05:12 -0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 20 May 2009 14:11:31 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=IDgUnKnfS59NjfXc+mfbB1smuXhyNIEX7u2RxSSi+Qw=; b=Eo+2c5l1E1dqdyDwiJoVlNHgl8IsLngd4WpSRzjRvl7oI3Ed6G22oQamNzeOGAG+U0 W7Prll5T/znM0KODRwX3S/R9+MWFNjq1tfCTKZv8ZnVBanTQ6rnqqFKGa/jJjD6oDNTX H7Pw+0VNaney1P3Pf13X8Lck3P2SDyHvlcwhA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=xEkCdIwvr78BBKBaUzm4QWCDB2cYJ0NBi2yhvwlQaeS+ez7/T7atoIcc80M2cYvWID Zh9L5gqyxNFu7UBb4z+IvZbxx2kds6OCuqc9zqaS1Qc32gbJ5Ph8k2wDIq5f4xbrid9p UN1CNqNNaop6StAvELgtwn8+iHmwUqFI59pCo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0905191836tc25c835gf732df0ddea72060@xxxxxxxxxxxxxx>
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>
References: <59cb8b5e0905181347r7ee535afufcc2a1f01a408e2c@xxxxxxxxxxxxxx> <7207d96f0905181943u20c7bda0o37050e1df1ec9e3b@xxxxxxxxxxxxxx> <59cb8b5e0905191416q27131898p95a662422d7dd45d@xxxxxxxxxxxxxx> <7207d96f0905191836tc25c835gf732df0ddea72060@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks a lot again for your reply.

> tap:aio should be for file-backed images, not devices. You should have
> disk = [ "tap:aio:/PathToMyImage.img,hda,w", "phy:/dev/sda1,xvdb,w" ]

I followed this procedure, where says that tap:aio should be used (isn't it rigth?):
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Para-Virtualized_Windows_Drivers/sect-Para-Virtualized_Windows_Drivers-Installing_and_configuring_the_para_virtualized_drivers-Post_installation_host_configuration.html

>How many disks you have each? Do you have one or two QEMU disks?
>QEMU harddisk should be hda, while RHEL disk should be xvdb.

With this configuration I saw three devices:
disk = [ "file:PathToMyImage.img,hda,w", "tap:aio:/dev/sda1,xvdb,w" ]

The devices are:

1) "c:" (10GB)
2) "QEMU HARDDISK" (50GB)
3) "RHEL DISK SCSI Disk Device" (50GB)
   
The only difference between 2) and 3) are in their Properties:
2) says "Location: Location 1 (1)"   
3) says "Location: Bus Number 0, Target Id 0, LUN 1"

So I'm not sure if I should put my data in 2) or 3).

Thanks for your time.

Regards.

On Tue, May 19, 2009 at 10:36 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Wed, May 20, 2009 at 4:16 AM, Alba <florfoto@xxxxxxxxx> wrote:
> Thanks Fajar for your reply.
> I'm not using Redhat PV drivers on boot disk.

but you ARE using Redhat's PV driver?

>
> My DomU config file is:
>
> disk = [ "file:PathToMyImage.img,hda,w", "tap:aio:/dev/sda1,xvdb,w" ]
>

tap:aio should be for file-backed images, not devices. You should have

disk = [ "tap:aio:/PathToMyImage.img,hda,w", "phy:/dev/sda1,xvdb,w" ]


> I'm not sure which disk should I use in the Win DomU: if the one that says
> "QEMU HARDDISK"  or the one that says "RHEL DISK SCSI Disk Device".

How many disks you have each? Do you have one or two QEMU disks?
QEMU harddisk should be hda, while RHEL disk should be xvdb.

--
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users