
25 May
2016
25 May
'16
5:01 p.m.
2016-05-25 21:51 GMT+03:00 Laine Stump <laine@laine.org>:
How does it gather than config? With a qemu hook script?
No, libvirit send event when domain starts, i catch it and get domain xml from libvirt via binding. Parse xml element with address and answer to dhcp queries from vm. Also i use this method because libvirt now does not have ability to use netfilter with ethernet devices (i have hand-made patch to remove physdev from default iptables rules, but this is ugly hack). -- Vasiliy Tolstov, e-mail: v.tolstov@yoctocloud.net