mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
nbd: add errp parameter to nbd_wr_syncv()
Will be used in following patch to provide actual error message in some cases. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20170516094533.6160-4-vsementsov@virtuozzo.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
f5d406fe86
commit
f260956536
4 changed files with 11 additions and 12 deletions
|
@ -127,7 +127,8 @@ ssize_t nbd_wr_syncv(QIOChannel *ioc,
|
|||
struct iovec *iov,
|
||||
size_t niov,
|
||||
size_t length,
|
||||
bool do_read);
|
||||
bool do_read,
|
||||
Error **errp);
|
||||
int nbd_receive_negotiate(QIOChannel *ioc, const char *name, uint16_t *flags,
|
||||
QCryptoTLSCreds *tlscreds, const char *hostname,
|
||||
QIOChannel **outioc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue