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 :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list