I've configured some virtual machine under Xen on Debian Squeeze using libvirt with virsh. Now I want to get rid of the libvirt layer, because I need to configure some specific parameters on the DomUs that are not supported by libvirt.

  1. How can I export my config ?
  2. How can I import the native config file to Xen ?

Thank you for any suggestion !

link|improve this question
How does the current configuration look like? Can you post it? – Nils Jan 17 at 21:15
What do you want to know ? I use sudo virsh list to list domaind and sudo virsh edit vmname to edit DomUs configuration. I want to export libvirt xml config, uninstall libvirt, and after convert xml xonfig to native Xen and use it. Please ask whatever you want to know. – GabrieleV Jan 17 at 21:24
I don`t know how a libvirt config looks like, but I know that xen understands XML format quite well. So post your libvirt xml config here. I suspect you can use it with XEN right away (btw - which xen version?) – Nils Jan 17 at 21:43
feedback

1 Answer

You would export the xml config and then convert it to XEN Configs:

virsh -c xen:/// domxml-to-native xen-xm rhel5pv.xml

http://libvirt.org/drvxen.html#xmlexport

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.