aboutsummaryrefslogtreecommitdiff
path: root/hw/core/nmi.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2022-05-11 19:49:23 -0500
committerKevin Wolf <kwolf@redhat.com>2022-05-12 13:10:52 +0200
commita5fced40212ed73c715ca298a2929dd4d99c9999 (patch)
treecb41db6786ba8c64477d3b697ceb3326b0ce0150 /hw/core/nmi.c
parent46609b90d9e3a6304def11038a76b58ff43f77bc (diff)
qemu-nbd: Pass max connections to blockdev layer
The next patch wants to adjust whether the NBD server code advertises MULTI_CONN based on whether it is known if the server limits to exactly one client. For a server started by QMP, this information is obtained through nbd_server_start (which can support more than one export); but for qemu-nbd (which supports exactly one export), it is controlled only by the command-line option -e/--shared. Since we already have a hook function used by qemu-nbd, it's easiest to just alter its signature to fit our needs. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20220512004924.417153-2-eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/core/nmi.c')
0 files changed, 0 insertions, 0 deletions