diff options
author | 2011-10-07 16:47:56 +0200 | |
---|---|---|
committer | 2011-12-22 11:53:59 +0100 | |
commit | 72deddc5e61e974fbf561dc704742f102b91de82 (patch) | |
tree | e03c6eeb57076a8cd0052e62419e67e9969492ea /scripts/qapi-visit.py | |
parent | qemu-nbd: move client handling to nbd.c (diff) | |
download | qemu-72deddc5e61e974fbf561dc704742f102b91de82.tar.xz qemu-72deddc5e61e974fbf561dc704742f102b91de82.zip |
qemu-nbd: add client pointer to NBDRequest
By attaching a client to an NBDRequest, we can avoid passing around the
socket descriptor and data buffer.
Also, we can now manage the reference count for the client in
nbd_request_get/put request instead of having to do it ourselved in
nbd_read. This simplifies things when coroutines are used.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi-visit.py')
0 files changed, 0 insertions, 0 deletions