Chris Jones wrote:
Hi MRJ,

Thanks for the valuable info. I was familiar with
> vdiskadm but I did not know that it had import
> capabilities as the man page did not support this.


yeah.. It's in the b121 man page now since the
commands have been ARC'd.


After I imported the vmdk I was a little stuck as
> I couldn't quite figure out how to create the guest
> domain using this imported vdisk. I used somewhat of
> a hackish method in order to create the guest domain.
> I ran virt-install to fake an installation and specified
> the vidsk that I had previously imported. Once it was
> created and running I just rebooted the domain and viola,
> the domain booted just fine.

Yes, that is officially supported (pointing virt-install
to a previsouly created vdisk)... I was concerned that
you would have to modify the guest configuration more..
Very cool that it just worked!


I noticed virsh has a two subcommands - create and define
> but I was unable to get them to work as I needed an XML
> configuration file which normally you can dump from an
> existing domain. Since my vdisk came from a VMware server
> I was not able to do this unless I missing something.


You could create a guest, then copy and modify the xml for
the new guest, pointing to the new vdisk or vmdk file.






MRJ

_______________________________________________
xen-discuss mailing list
xen-discuss@opensolaris.org

Reply via email to