Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

share|improve this answer

Your Answer

 
discard

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.