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] Best way to convert pv to hvm?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Best way to convert pv to hvm?
From: Tony Hoyle <tmh@xxxxxxxxxxxx>
Date: Tue, 05 Jun 2007 10:30:43 +0100
Delivery-date: Tue, 05 Jun 2007 02:28:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46650B75.9010405@xxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4664A97D.2010609@xxxxxxxxxxxx> <46650B75.9010405@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
Yves-gaël Chény wrote:
If i understand it's linux domain.

  1. make a disk file qemu-img for example
  2. mount the partition of you PV in the dom0 and the qemu disk-file
  3. make a rsync -a between the two mount point
  4. make a /boot with kernel, initrd ....
  5. running in hvm mode on a linux live cdrom
  6. install a grub or a lilo

Step 2 is an issue though, since it's a whole disk image you have a partition 
table -
you can't simply mount it, unless there's some way to convert it into a block 
device
in userspace (AFAIK loop devices only work on partitions).

Tony

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