diff options
| author | Hani Benhabiles | 2014-05-18 12:50:05 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2014-06-27 16:06:48 +0200 |
| commit | 8c5d1abbb79193dca8e4823ef53d8d1e650362ae (patch) | |
| tree | b54d440ef970f0869866f0e9bd65d6ab61647d4e /include | |
| parent | nbd: Don't export a block device with no medium. (diff) | |
| download | qemu-8c5d1abbb79193dca8e4823ef53d8d1e650362ae.tar.gz qemu-8c5d1abbb79193dca8e4823ef53d8d1e650362ae.tar.xz qemu-8c5d1abbb79193dca8e4823ef53d8d1e650362ae.zip | |
nbd: Don't validate from and len in NBD_CMD_DISC.
These values aren't used in this case.
Currently, the from field in the request sent by the nbd kernel module leading
to a false error message when ending the connection with the client.
$ qemu-nbd some.img -v
// After nbd-client -d /dev/nbd0
nbd.c:nbd_trip():L1031: From: 18446744073709551104, Len: 0, Size: 20971520,
Offset: 0
nbd.c:nbd_trip():L1032: requested operation past EOF--bad client?
nbd.c:nbd_receive_request():L638: read failed
Signed-off-by: Hani Benhabiles <kroosec@gmail.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
