diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2011-10-07 16:47:56 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2011-12-22 11:53:59 +0100 |
| commit | 72deddc5e61e974fbf561dc704742f102b91de82 (patch) | |
| tree | e03c6eeb57076a8cd0052e62419e67e9969492ea /scripts/analyse-9p-simpletrace.py | |
| parent | 1743b515860ef645b285908ee367c5e343e0020c (diff) | |
| download | focaccia-qemu-72deddc5e61e974fbf561dc704742f102b91de82.tar.gz focaccia-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/analyse-9p-simpletrace.py')
0 files changed, 0 insertions, 0 deletions