
On Fri, Dec 05, 2014 at 12:12:46PM +0100, Michal Privoznik wrote:
From: Vasiliy Tolstov <v.tolstov@selfip.ru>
If a user doesn't specify script in network type ethernet, assume that he/she needs a simple tap device created by libvirt. This commit does not need to run external script to create tap device or add root to qemu process. Moreover, some functions need to be mocked now for qemuxml2argvtest, e.g. virNetDevTapCreate() or virNetDevSetOnline().
Hmm, even if the user does provide a script, perhaps libvirt could create the TAP device *and* run the script itself. This would finally allow us to run QEMU unprivileged with type=ethernet in all cases. eg take QEMU entirely out of the picture for NIC setup 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 :|