failover: Caller of this two functions already have primary_dev
commit0e9a65c5b168b993b845ec2acb2568328c2353da
authorJuan Quintela <quintela@redhat.com>
Wed, 18 Nov 2020 08:37:46 +0000 (18 09:37 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 8 Dec 2020 18:48:58 +0000 (8 13:48 -0500)
tree8dfbd2c1b6deae707744fea198a91bb009db79ef
parent3abad4a221e050d43fa8540677b285057642baaf
failover: Caller of this two functions already have primary_dev

Pass it as an argument.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-26-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