summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorPaolo Bonzini2016-06-13 11:42:40 +0200
committerPaolo Bonzini2016-06-16 18:39:04 +0200
commit56af2dda98c5d71feb7ff7fcac7269a1071aec62 (patch)
treee86a89fff1cc742268c66eee38e52892a6ea9a86 /scripts/switch-timer-api
parentnbd: Don't use cpu_to_*w() functions (diff)
downloadqemu-56af2dda98c5d71feb7ff7fcac7269a1071aec62.tar.gz
qemu-56af2dda98c5d71feb7ff7fcac7269a1071aec62.tar.xz
qemu-56af2dda98c5d71feb7ff7fcac7269a1071aec62.zip
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>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions