Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 !

share|improve this question
How does the current configuration look like? Can you post it? – Nils Jan 17 '12 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 '12 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 '12 at 21:43

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

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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