]> Git Repo - qemu.git/commit
net/virtio: return early when failover primary alread added
authorJens Freimann <[email protected]>
Wed, 20 Nov 2019 15:49:49 +0000 (16:49 +0100)
committerJason Wang <[email protected]>
Mon, 25 Nov 2019 15:30:28 +0000 (23:30 +0800)
commit117378bf03fbe6ec004be9637aceb1b3e273e74f
treea0de3f017f5c118fca0a8a5c3f8578b24d1c0815
parent284f42a520cd9f5905abac2fa50397423890de8f
net/virtio: return early when failover primary alread added

Bail out when primary device was already added before.
This avoids printing a wrong warning message during reboot.

Fixes: 9711cd0dfc3f ("net/virtio: add failover support")
Signed-off-by: Jens Freimann <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
hw/net/virtio-net.c
This page took 0.0252 seconds and 4 git commands to generate.