|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Making config files from a running machine
On Mon, May 17, 2010 at 5:59 PM, JP P <storm66@xxxxxxxxxxxxxxxx> wrote:
> Hello,
>
> Is there a command to generate a config file from a running virtual
> machine ?
> As I use the commands through virt-manager I didn't have config files to
> put in my SVN archives.
Try either
- xm -l domU_name > domU_config.sxp
or (in the case of xend-managed domUs)
- virsh domuuid domU_name
- copy /var/lib/xend/domains/<uuid_from_first_step>/config.sxp, store
it on your SVN archive
Either way, you'd get new (sxp-style) domU config file. If you have a
recent-enough libvirt, you might be able to do this
- virsh dumpxml domU_name > domU_name.xml
- virsh domxml-to-native xen-xm domU_name.xml
... which should give you old-style xen config file
--
Fajar
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|