[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] How to make a P2V domU be recognized by Xend



Hi,
What config file format do you have? A xml file, the native xen config file (just a check of python code) or the config.sxp format?

You'll need to get xend to recognise the config file first, and to do that you'll need to import it. virsh has a number of tools to help with that - if you have a python config, you can do a
virsh domxml-from-native config.file > config.xml && virsh define config.xml

If you have the config.sxp format, I'm afraid I've got no clue how to help you - From what I understand it's a copy of the stuff in xenstore, so I'm not sure if you can simply create a folder with the domU's uuid and move the config file there and expect it to work. You could try creating a native xen config file from the examples in /etc/xen, and just specify the disk image to use, then just do a xm start config.file

Hope that helped..

- Kyle

On 26/11/2011 3:12 PM, Antonio Colin wrote:
Hi Guys,

I have Debian 6 + Xen 4.1.1 and created a DomU with virt-manager after creation:

laptopvm:~# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                   0    1024     1          r-----    729.1
centos-4                                            512     1                         0.0
laptopvm:~#

Its config file is in: /var/lib/xend/domains/c0e57693-78a5-0a0b-89b6-93034535ab5a/config.sxp

Then I did a P2V of another OS and I have the *.img file and the config file but I
can't get Xen recognize it as another domU.

How can I make Xen/Xend do that as well as generate the UUIDs for the domU's devices in its config.sxp file ?
Any useful commands?

Regards,
Tony.



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

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.