[libvirt] [[PATCH v6] autocreate tap device for VIR_DOMAIN_NET_TYPE_ETHERNET] autocreate tap device for VIR_DOMAIN_NET_TYPE_ETHERNET

Michal Privoznik mprivozn at redhat.com
Fri Jun 19 12:00:37 UTC 2015


On 19.06.2015 10:21, Vasiliy Tolstov wrote:
> If a user specify ehernet device create it via libvirt and run
> script if it provided. After this commit user does not need to
> run external script to create tap device or add root to qemu
> process.
> 
> Signed-off-by: Vasiliy Tolstov <v.tolstov at selfip.ru>
> ---
>  src/qemu/qemu_command.c | 142 +++++++++++++++++++++++++++++++-----------------
>  src/qemu/qemu_hotplug.c |  13 ++---
>  src/qemu/qemu_process.c |   6 ++
>  3 files changed, 101 insertions(+), 60 deletions(-)
> 

Just a couple of my findings:

- this is not rebased onto the HEAD from the date you've sent this
- 'make check' is broken with this patch applied. I'm tracing it down,
to see how many functions do we need to mock.

Michal




More information about the libvir-list mailing list