]> git.proxmox.com Git - mirror_qemu.git/commit
nbd: Expose and debug more NBD constants
authorEric Blake <eblake@redhat.com>
Fri, 7 Jul 2017 20:30:43 +0000 (15:30 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Jul 2017 10:04:41 +0000 (12:04 +0200)
commit3736cc5be31f0399999e37d8b28ca9a3ed0b4ccb
tree7c6554650e86dab2c7493e6b1a81b2303b0cda3a
parent37ec36f622d46b7d13421533efe686af2326771e
nbd: Expose and debug more NBD constants

The NBD protocol has several constants defined in various extensions
that we are about to implement.  Expose them to the code, along with
an easy way to map various constants to strings during diagnostic
messages.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170707203049.534-4-eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/block/nbd.h
nbd/client.c
nbd/common.c
nbd/nbd-internal.h
nbd/server.c
nbd/trace-events