]> www.infradead.org Git - users/dwmw2/qemu.git/commit
qemu-nbd: move srcpath into struct NbdClientOpts
authorDenis V. Lunev <den@openvz.org>
Wed, 6 Sep 2023 09:32:05 +0000 (11:32 +0200)
committerEric Blake <eblake@redhat.com>
Fri, 8 Sep 2023 01:32:11 +0000 (20:32 -0500)
commitb18d72d7230dcd18919af820b52f6c0f1b2512ca
tree544b09638642928fb5486161d7fa57f9c02207f9
parent3484f6769cbf9a2ebd47e316a6c39bf42fca0dcc
qemu-nbd: move srcpath into struct NbdClientOpts

We pass other parameters into nbd_client_thread() in this way. This patch
makes the code more consistent.

Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Eric Blake <eblake@redhat.com>
CC: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20230906093210.339585-4-den@openvz.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: Note that this also cleans up a -Wshadow issue, first
introduced in e5b815b0]
Signed-off-by: Eric Blake <eblake@redhat.com>
qemu-nbd.c