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] how to convert QEMU images to be used as Xen DomU's

To: Tapas Mishra <mightydreams@xxxxxxxxx>
Subject: Re: [Xen-users] how to convert QEMU images to be used as Xen DomU's
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Thu, 20 May 2010 16:45:50 +0700
Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 20 May 2010 02:47:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimYVvK50o8dQpOu06RokGXi9u7AWdJ8qs10d5d-@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: <AANLkTimYVvK50o8dQpOu06RokGXi9u7AWdJ8qs10d5d-@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, May 20, 2010 at 4:38 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
> I referred to this wiki page
> http://wiki.xensource.com/xenwiki/VMDKImage
> where they talked about converting a VMWARE image to be used with Xen
> is there a similar process for QEMU images.
> I googled
> http://www.google.co.in/search?q=how+to+convert+qemu+image+to+xen&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
> but seems that I did not used the right keywords can some one give a
> better idea/suggestion?

what qemu image format did you use?
Try using qemu-img to convert the disk to raw format (if it's not
already in that format) and use the resulting file as disk image for
HVM domU. Have you created a HVM domU before? If not, virt-manager can
help you create a suitable config using either existing or new disk
image.

An example HVM domU config that I use is http://pastebin.com/fb6fe631,
adjust vif and disk line according to your setup.

-- 
Fajar

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