[libvirt] [PATCH v2 0/2] Removing backend support when net interface is user/direct/hostdev.

Julio Faracco posted 2 patches 6 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/1510954061-5333-1-git-send-email-jcfaracco@gmail.com
src/qemu/qemu_domain.c                                    | 15 +++++++++++++++
.../qemuxml2argvdata/qemuxml2argv-tap-vhost-incorrect.xml |  6 ++++--
tests/qemuxml2argvdata/qemuxml2argv-tap-vhost.xml         |  3 ++-
.../qemuxml2xmlout-tap-vhost-incorrect.xml                |  6 ++++--
tests/qemuxml2xmloutdata/qemuxml2xmlout-tap-vhost.xml     |  3 ++-
5 files changed, 27 insertions(+), 6 deletions(-)
[libvirt] [PATCH v2 0/2] Removing backend support when net interface is user/direct/hostdev.
Posted by Julio Faracco 6 years, 5 months ago
The <backend> xml tag is not supported for some interface types and the virsh
command 'attach-device' permits to add <backend> settings to all of them.
These commits avoid <backend> for user, direct and hostdev interface types.

One commit changes some test cases to avoid wrong <backend> usage.

Julio Faracco (2):
  tests: changing network interface types when backend tag is defined.
  qemu: network user/direct/hostdev do not support backend.

 src/qemu/qemu_domain.c                                    | 15 +++++++++++++++
 .../qemuxml2argvdata/qemuxml2argv-tap-vhost-incorrect.xml |  6 ++++--
 tests/qemuxml2argvdata/qemuxml2argv-tap-vhost.xml         |  3 ++-
 .../qemuxml2xmlout-tap-vhost-incorrect.xml                |  6 ++++--
 tests/qemuxml2xmloutdata/qemuxml2xmlout-tap-vhost.xml     |  3 ++-
 5 files changed, 27 insertions(+), 6 deletions(-)

-- 
2.7.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list