qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH for-4.0 v2 0/2] nbd: simple errors to BLOCK_STATUS


From: Eric Blake
Subject: [Qemu-devel] [PATCH for-4.0 v2 0/2] nbd: simple errors to BLOCK_STATUS
Date: Mon, 25 Mar 2019 14:01:02 -0500

While resolving a qemu NBD client error reported by nbdkit, I found
another client oddity by code inspection, in relation to what the
protocol states about simple errors to NBD_CMD_BLOCK_STATUS vs. what
our client enforced.  It turns out that nbdkit didn't actually provoke
this case, but since I was able to provoke it with a 2-line patch to
qemu-nbd, it's worth fixing. And Vladimir's insistence that I describe
the fix accurately means that I actually found two separate things to
fix.

Since v1:
split into two patches
better documentation of what is being changed

Eric Blake (2):
  nbd: Don't lose server's error to NBD_CMD_BLOCK_STATUS
  nbd: Permit simple error to NBD_CMD_BLOCK_STATUS

 block/nbd-client.c | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

-- 
2.20.1




reply via email to

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