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] Xen HVM images on VMware ESX

To: "Diwaker Gupta" <diwaker.lists@xxxxxxxxx>
Subject: Re: [Xen-users] Xen HVM images on VMware ESX
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Thu, 24 Apr 2008 14:13:23 -0400
Cc: "Joseph L. Casale" <jcasale@xxxxxxxxxxxxxxxxx>, Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 24 Apr 2008 11:14:01 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=p1hihcC+RXaF4O4LiMENj9vhoVZ7fn9dDKqJwG4bzWY=; b=Z7snlyKvgge6+v0EvEp/CgD2TdpA9H6bCelujEuuRlDjB3v8+mVLeF0FTxklgri977ubFVz71JtLNlKqssKZqiBQnsLARiOO+gssIVbsPtX65f+Ei3ZgninGfHXhDnm/NRf4Ms0BUoazsMIIcIptoDAc4SWTkDodDXHUY/Nqrek=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=fDuHUfoDEwlItRGEQ8NN5j6cVjciszjkYcD9waGuLfVEvduJ2YO2iltoukWKjWZvAv+UeHk2QYffUOVfv9egYQ4N/ZZqs0qy7Me/hdhxdTJ2DcAUG5bu8uvT98y68kM1cNGRCNJCCW3jJDB7Ya8dDsBFit86P6Vl9TPcHDirbs0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <891be9410804241020ya2ee377qf3ef6b9d7b9e7152@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/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: <891be9410804240949o3a1268f7la46118f1639c42b9@xxxxxxxxxxxxxx> <1C8CF1EA1A5B5940B81B0710B2A4C93857F239C209@xxxxxxxxxxxxxxxxxxxxxxx> <891be9410804241020ya2ee377qf3ef6b9d7b9e7152@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Thu, Apr 24, 2008 at 1:20 PM, Diwaker Gupta <diwaker.lists@xxxxxxxxx> wrote:
On Thu, Apr 24, 2008 at 10:02 AM, Joseph L. Casale
<jcasale@xxxxxxxxxxxxxxxxx> wrote:
> >I'm trying to convert some Xen HVM images to run on VMware ESX,
>  >unsuccessfully thus far. I believe the problem is that ESX by default
>  >wants the VMs to use SCSI virtual disks, but my HVM VMs are configured
>  >to use IDE virtual disks. If you have any experience with this sort of
>  >thing, please get in touch.
>
>  Right,
>  Install the drivers needed by the vmware devices into the Critical Devices Database
>  and then image out and into esx. There are many options here, from manual to automated.
>
>  Easiest for you might be to get a copy of the drivers and install them, windows will know where to load them into the Critical Devices Database based on the type (Mass Storage).

Perhaps I haven't been clear. This is not Windows specfic, I want to
do this for both Linux and Windows.

Lets say I have a disk image in QCOW format that I use with my Xen VM.
I want to retain the _same_ filesystem under VMware. So I first create
a VM in ESX with the same disk size. Then I use qemu-img to convert
the qcow image to VMDK format and overwrite the blank VMDK file
created by ESX. No go. I try the same thing but with conversion to RAW
format, and that fails as well. But this was expected.

So basically I want some way to take a qcow image and convert it for
use with ESX.

Have you tried using qemu-img convert?

See:
http://fabrice.bellard.free.fr/qemu/qemu-doc.html#SEC19

 

Thanks,
Diwaker
--
http://floatingsun.net/

_______________________________________________

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