diff options
author | Juan Quintela | 2020-11-18 09:37:29 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2020-12-08 19:48:57 +0100 |
commit | e2bde83e23d3cfc1d90911c74500fd2e3b0b04fa (patch) | |
tree | a4905915225e014e79e51a08e1a28c5d08a0890b /include/hw/virtio | |
parent | failover: qdev_device_add() returns err or dev set (diff) | |
download | qemu-e2bde83e23d3cfc1d90911c74500fd2e3b0b04fa.tar.gz qemu-e2bde83e23d3cfc1d90911c74500fd2e3b0b04fa.tar.xz qemu-e2bde83e23d3cfc1d90911c74500fd2e3b0b04fa.zip |
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/hw/virtio')
-rw-r--r-- | include/hw/virtio/virtio-net.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h index c8da637d40..ca68be759f 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; |