aboutsummaryrefslogtreecommitdiff
path: root/net/vhost-user-stub.c
diff options
context:
space:
mode:
authorLukas Straub <lukasstraub2@web.de>2020-08-04 12:46:42 +0200
committerMax Reitz <mreitz@redhat.com>2020-09-15 11:05:12 +0200
commit5eb9a3c7b0571562c0289747690e25e6855bc96f (patch)
tree09f2708c9746236c0703030825d565a4770f77c3 /net/vhost-user-stub.c
parent7cc002a06cde0e4df6cb4d546e4b21bb6433fcc3 (diff)
downloadqemu-5eb9a3c7b0571562c0289747690e25e6855bc96f.zip
qemu-5eb9a3c7b0571562c0289747690e25e6855bc96f.tar.gz
qemu-5eb9a3c7b0571562c0289747690e25e6855bc96f.tar.bz2
block/quorum.c: stable children names
If we remove the child with the highest index from the quorum, decrement s->next_child_index. This way we get stable children names as long as we only remove the last child. Signed-off-by: Lukas Straub <lukasstraub2@web.de> Fixes: https://bugs.launchpad.net/bugs/1881231 Reviewed-by: Zhang Chen <chen.zhang@intel.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Message-Id: <5d5f930424c1c770754041aa8ad6421dc4e2b58e.1596536719.git.lukasstraub2@web.de> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'net/vhost-user-stub.c')
0 files changed, 0 insertions, 0 deletions