Re: [Qemu-devel] [PATCH 2/2] nbd: Don't validate from and len in NBD_CMD_DISC.

2014-05-19 Thread Hani Benhabiles
On Mon, May 19, 2014 at 01:05:12PM +0200, Paolo Bonzini wrote: > Il 18/05/2014 12:50, Hani Benhabiles ha scritto: > >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 connectio

Re: [Qemu-devel] [PATCH 2/2] nbd: Don't validate from and len in NBD_CMD_DISC.

2014-05-19 Thread Paolo Bonzini
Il 18/05/2014 12:50, Hani Benhabiles ha scritto: 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

[Qemu-devel] [PATCH 2/2] nbd: Don't validate from and len in NBD_CMD_DISC.

2014-05-18 Thread Hani Benhabiles
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, Le