Displaying 1 result from an estimated 1 matches for "avfd".
Did you mean:
afd
2015 Nov 16
0
Re: libvirt prepare and start hooks not callled
...t; inject a virtio PCI device into the VM's domain xml.
You are not supposed to talk to libvirtd from any hooks.
> I placed a python script with execute permissions in
> /etc/libvirt/hooks/qemu. In there, I opened a log file to record the
> arguments received:
> log.write("avfd called with args: %s\n" % sys.argv)
>
> But all I get in the log file is:
> avfd called with args: ['/etc/libvirt/hooks/qemu', 'vm1', 'started', 'begin', '-']
>
> There are no prepare or start calls. Can somebody explain what it takes to...