]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Allow empty script path to <interface/>
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 2 Feb 2017 13:16:20 +0000 (14:16 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 16 Feb 2017 16:39:34 +0000 (17:39 +0100)
commit1d9ab0f04af310e52f80b4281751655bb3bb7601
tree4da8a178dd0fe87a245a9cb61c28e8e0b225b3a3
parentd23dfaae9fbd8e7de2d692df45d1a065ade9dce4
qemu: Allow empty script path to <interface/>

Before 9c17d665fdc5f (v1.3.2 - I know, right?) it was possible to
have the following interface configuration:

  <interface type='ethernet'/>
    <script path=''/>
  </interface>

This resulted in -netdev tap,script=,.. Fortunately, qemu helped
us to get away with this as it just ignored the empty script
path. However, after the commit mentioned above it's libvirtd
who is executing the script. Unfortunately without special
case-ing empty script path.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
docs/news.xml
src/util/virnetdev.c