[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] lxc: support <interface type='ethernet'>



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]