[libvirt] how to use libvirt hook scripts to modify domain xml while its start
Daniel P. Berrange
berrange at redhat.com
Wed Apr 16 10:00:59 UTC 2014
On Wed, Apr 16, 2014 at 03:17:33PM +0800, cokabug wrote:
> i want add sound card to domain xml when guest start,after google,i found
> libvirt provide hook function.
> i follow the instruction to make a python,and boot a guest,but after use
> "virsh edit" its still dont have sound card config
Hook scripts don't allow for modification of the XML config. They're
just for triggering actions externally to libvirt.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list