commit | 56af2dda98c5d71feb7ff7fcac7269a1071aec62 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Jun 13 11:42:40 2016 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 16 18:39:04 2016 +0200 |
tree | e86a89fff1cc742268c66eee38e52892a6ea9a86 | |
parent | f6be6720847f370000312808e6fed5d4e9730934 [diff] |
nbd: simplify the nbd_request and nbd_reply structs These structs are never used to represent the bytes that go over the network. The big-endian network data is built into a uint8_t array in nbd_{receive,send}_{request,reply}. Remove the unused magic field, reorder the struct to avoid holes, and remove the packed attribute. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>