]> git.proxmox.com Git - mirror_qemu.git/commit
nbd: Improve debug traces on little-endian
authorEric Blake <eblake@redhat.com>
Wed, 6 Apr 2016 03:35:04 +0000 (21:35 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Apr 2016 22:07:44 +0000 (00:07 +0200)
commit7548fe311609cb054c35f2ff3abf49a0aecae3c4
treed802b8c238183a29f5c90b0a9581f2858228501e
parent8c6597123af4abdd632d79ba5a40856d77a11505
nbd: Improve debug traces on little-endian

Print debug tracing messages while data is still in native
ordering, rather than after we've potentially swapped it into
network order for transmission.  Also, it's nice if the server
mentions what it is replying, to correlate it to with what the
client says it is receiving.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1459913704-19949-4-git-send-email-eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
nbd/client.c
nbd/server.c