Libvirt is cool, but I need to port a VM from it's configuration to bare QEMU or Xen. To reproduce the setup, I need the commands send to the specific Hypervisors in order reproduce the VM in the targetsystem.
So I basically need the interpretation of the libvirt xml-configuration for Xen and QEMU. The best way would be to look for the commands in Libvirt itselfe. There has to be made this step, because otherwise it wouldn't be possible to start even a single machine.
In theory the evaluation of XML-Configurations can change between different versions of Libvirt. So tracking an error down because of this, might be hard also it is not reproduce able in scientific scenes.
A workaround would be to ask the running QEMU oder Xen instance for their configuration. But I'm not sure how to do it.
Do you have any ideas?
EDIT: I'm not going to retrieve all the network setup libvirt is providing in background. Just the simpel machine. So there is e.g. an option for optimizing the libvirt client for a specific OS. I would like to know which influence it has on the basic command to QEMU or Xen.
I'm looking only for the commandlineoptiones
# commands of creating machines withe the Hypervisors:
qemu-system-... [kvm / cpu / basics]
xl create [Myconfigfile.conf]
*[desired arguments]