]> xenbits.xensource.com Git - libvirt.git/commit
qemu: do not add model when actual iface type is hostdev
authorPaulo de Rezende Pinatti <ppinatti@linux.ibm.com>
Tue, 16 Jun 2020 14:32:10 +0000 (16:32 +0200)
committerLaine Stump <laine@redhat.com>
Wed, 17 Jun 2020 16:04:53 +0000 (12:04 -0400)
commitbdb8f2e41867ae5dbcc040909b1b8c20fd864a40
treee2680e2e70315a76082fd31bcafd2676fffaa633
parent6f28865223292a816f1bfde589901a00156cf8a1
qemu: do not add model when actual iface type is hostdev

No default model should be added to the interface
entry at post parse when its actual network type is hostdev
as doing so might cause a mismatch between the interface
definition and its actual device type.

Signed-off-by: Paulo de Rezende Pinatti <ppinatti@linux.ibm.com>
Reviewed-by: Laine Stump <laine@redhat.com>
src/qemu/qemu_domain.c