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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH] Allow blktap to be able to be booted assystemvol

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Allow blktap to be able to be booted assystemvolume for PV-on-HVM(TAKE 2)
From: "Takekazu Okamoto" <tokamoto@xxxxxxxxxx>
Date: 2007年7月19日 14:46:41 +0900
Delivery-date: 2007年7月18日 22:44:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <098301c7c9bf2ドルc59af00$dab2220a@VF03007L >
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <053401c7c41990263ドルcc0$dab2220a@VF03007L > <098301c7c9bf2ドルc59af00$dab2220a@VF03007L >
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Kasai-san,
Why did you make a patch only for boot disk?
I have a patch for all disks on SLES10SP1 (3.0.4). (Not yet in
SLES10SP1 tree)
Windows can boot up in HVM domain with our PV drivers for blktap
disks.
For your reference, it is attached in this mail.
I know this is for 3.0.4, not applicable for latest.
Regards,
Takekazu Okamoto
Novell Japan
>>> "Kasai Takanori" <kasai.takanori@xxxxxxxxxxxxxx> 2007年07月19日 13:41
>>>
Hi All,
I sent the patch to make blktap work with PV-on-HVM.
For system volume to boot hda or xvda, I corrected the patch.
However, the patch has not been applied yet.
Could you apply this patch? Or, please give the comment to me.
Best Regards,
---
Takanori Kasai
----- Original Message ----- 
From: "Kasai Takanori" <kasai.takanori@xxxxxxxxxxxxxx>
To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sent: Thursday, July 12, 2007 9:13 AM
Subject: [Xen-devel] [PATCH] Allow blktap to be able to be booted as 
systemvolume for PV-on-HVM(TAKE 2)
> Hi All,
>
> I sent the patch to make blktap work with PV-on-HVM.
> For system volume to boot hda or xvda,
> I corrected the patch.
>
> Signed-off-by: Takanori Kasai <kasai.takanori@xxxxxxxxxxxxxx>
>
> This patch made it possible to use either.
>
> disk = [ 'tap:aio:/xen/test/rhel5ga_full.img,hda,w' ]
> or
> disk = [ 'tap:aio:/xen/test/rhel5ga_full.img,xvda,w' ]
>
> It is assumed that hda is a volume of the system
> if both xvda and hda are specified.
>
> disk = [ 'file:/xen/test/rhel5ga_full.img,hda,w',
> 'tap:aio:/xen/test/drive2.img,xvda,w' ]
>
> Best Regards,
>
> --
> Takanori Kasai
>
>
> ----- Original Message ----- 
> From: "Kasai Takanori" <kasai.takanori@xxxxxxxxxxxxxx>
> To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
> Sent: Friday, July 06, 2007 7:50 PM
> Subject: [Xen-devel] [PATCH] Allow blktap to be able to be booted as
> systemvolume for PV-on-HVM
>
>
>> Hi All,
>>
>> We were testing the PV driver on the HVM domain.
>> When blktap was booting system volume, PV-on-HVM domain was not able
to be
>> started.
>>
>> The configuration file is specified as follows.
>> disk = [ 'tap:aio:/xen/test/rhel5ga_full.img,hda,w' ]
>>
>> The error occurred by the initialization of system volume in
qemu-dm.
>>
>> qemu: could not open hard disk image
'aio:/xen/test/rhel5ga_full.img'
>>
>> It is because "aio:" is added to the head of params in xenstore.
>> However, qemu-dm open device by params.
>>
>> This patch corrected the problem of params on the qemu-dm.
>>
>> Signed-off-by: Takanori Kasai <kasai.takanori@xxxxxxxxxxxxxx>
>> Signed-off-by: Tomonari Horikoshi <t.horikoshi@xxxxxxxxxxxxxx>
>> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@xxxxxxxxxxxxxx>
>>
>> The execution result is as follows.
>>
>> # xm create -f rhel5ga_vti.conf
>> Using config file "./rhel5ga_vti.conf".
>> Started domain RHEL5GA-test2
>> # xm block-list RHEL5GA-test2
>> Vdev BE handle state evt-ch ring-ref BE-path
>> 768 0 0 1 -1 -1 
/local/domain/0/backend/tap/75/768
>> ... <<= /* Waiting for booting process */
>> # xm block-list RHEL5GA-test2
>> Vdev BE handle state evt-ch ring-ref BE-path
>> 768 0 0 4 7 8 
/local/domain/0/backend/tap/75/768
>>
>> Best Regards,

Attachment: blktap-hvm.diff
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] Xen Paravirt , Jeremy Fitzhardinge
Next by Date: Re: [Xen-devel] Problem with building the newest xen source on IA64 , Dietmar Hahn
Previous by Thread: Re: [Xen-devel] [PATCH] Allow blktap to be able to be booted as systemvolume for PV-on-HVM(TAKE 2) , Kasai Takanori
Next by Thread: Re: [Xen-devel] [PATCH] Allow blktap to be able to be booted as system volume for PV-on-HVM(TAKE 2) , Kasai Takanori
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /