failover: Remove primary_device_opts
commit19e49bc2e984bd065719fc3595f35368b3ae87cd
authorJuan Quintela <quintela@redhat.com>
Wed, 18 Nov 2020 08:37:31 +0000 (18 09:37 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 8 Dec 2020 18:48:57 +0000 (8 13:48 -0500)
tree8c104ed58159d765264f08da2345ee3ddf1ddaad
parent518eda9fda49da910d47f5baf66a1c0d1d30cebd
failover: Remove primary_device_opts

It was really only used once, in failover_add_primary().  Just search
for it on global opts when it is needed.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-11-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/net/virtio-net.c
include/hw/virtio/virtio-net.h