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