[libvirt-users] Is there a way for telling libvirt to auto define an xml under /etc/libvirt/qemu?

Michal Privoznik mprivozn at redhat.com
Thu Apr 26 15:34:10 UTC 2012


On 26.04.2012 17:13, Raoul Scarazzini wrote:
> Hi everybody,
> like in the subject: is there a way for telling libvirt to auto define
> an xml under /etc/libvirt/qemu? I mean, sometimes it happens to have the
> /etc/libvirt/qemu shared between nodes, say with a NFS share, since I
> can set a new xml on a node and I want o see the virtual machine on all
> the others, is there a way to automate this or am I obligated to launch
> virsh define <xml> on EACH node?
> 
> Thank you so much,
> 

I'd say this is not supported as libvirt is not polling for changes on
XML files; That's what the warning at the beginning of each XML file
says. Therefore, if you change an XML from one host, the changes are
likely to get overwritten by libvirt on another host when shutting
libvirt down.

Michal




More information about the libvirt-users mailing list