aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2020-11-18 09:37:29 +0100
committerMichael S. Tsirkin <mst@redhat.com>2020-12-08 13:48:57 -0500
commite2bde83e23d3cfc1d90911c74500fd2e3b0b04fa (patch)
treea4905915225e014e79e51a08e1a28c5d08a0890b /include
parent3d1c7a9782d19052505aabc8f2c134ccd6f3f3fb (diff)
downloadqemu-e2bde83e23d3cfc1d90911c74500fd2e3b0b04fa.zip
qemu-e2bde83e23d3cfc1d90911c74500fd2e3b0b04fa.tar.gz
qemu-e2bde83e23d3cfc1d90911c74500fd2e3b0b04fa.tar.bz2
failover: Rename bool to failover_primary_hidden
You should not use passive naming variables. And once there, be able to search for them. Signed-off-by: Juan Quintela <quintela@redhat.com> Message-Id: <20201118083748.1328-9-quintela@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/virtio/virtio-net.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h
index c8da637..ca68be7 100644
--- a/include/hw/virtio/virtio-net.h
+++ b/include/hw/virtio/virtio-net.h
@@ -207,7 +207,8 @@ struct VirtIONet {
DeviceState *primary_dev;
char *primary_device_id;
char *standby_id;
- bool primary_should_be_hidden;
+ /* primary failover device is hidden*/
+ bool failover_primary_hidden;
bool failover;
DeviceListener primary_listener;
Notifier migration_state;