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-devel

Re: [Xen-devel]xl create PV guest with qcow/qcow2 disk images fail

On Wed, Oct 19, 2011 at 5:55 PM, Stefano Stabellini
<stefano.stabellini@xxxxxxxxxxxxx> wrote:
>> This is a PV guest configured with pygrub, correct?
>> If so, qcow/qcow2 are not supported in this scenario.
>>
>> You could:
>>
>> - avoid using pygrub (specify the kernel manually) and keep using qcow/qcow2;
>> - switch to raw disks and keep using pygrub;
>> - install a Linux kernel that support blktap2 (like the XCP kernel, see
>>   http://wiki.xen.org/xenwiki/XenDom0Kernels) and switch to VHD format.
>>
>
> The way to make it work would be to call qemu-nbd and nbd-client from xl
> so that a /dev/nbd0 comes up in dom0 and pygrub can use it to extract
> the kernel and initrd from the qcow2 image.

would pv-grub work? If yes, it would give better performance compared
to nbd workaround.

-- 
Fajar

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