failover: Rename to failover_find_primary_device()
commit85d3b93196e43c4493c118aa9e3a82fe657636b5
authorJuan Quintela <quintela@redhat.com>
Wed, 18 Nov 2020 08:37:39 +0000 (18 09:37 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 8 Dec 2020 18:48:57 +0000 (8 13:48 -0500)
treeca1fcc62d1ab045b0ace895d57b4f409adbdbe9f
parent0763db4f2df3a92336d78e8b68a665f7d1a1bc66
failover: Rename to failover_find_primary_device()

This commit:
* Rename them to failover_find_primary_devices() so
  - it starts with failover_
  - it don't connect anything, just find the primary device
* Create documentation for the function

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