qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [Qemu-devel] [PATCH v5 13/14] nbd: Implement NBD_CMD_WR


From: Paolo Bonzini
Subject: Re: [Qemu-block] [Qemu-devel] [PATCH v5 13/14] nbd: Implement NBD_CMD_WRITE_ZEROES on server
Date: Thu, 18 Aug 2016 15:52:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0


On 18/08/2016 15:50, Vladimir Sementsov-Ogievskiy wrote:
> 
> from nbd proto.md:
> 
> "Finally, it SHOULD return |EPERM| if it receives a write or trim
> request on a read-only export."
> 
> And EROFS is not mentioned in proto.md
> 
> (however the same bug is in NBD_CMD_WRITE case.)

system_errno_to_nbd_errno takes care of fixing up the return value.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]