xemu/include
Max Reitz f53a829bb9 nbd: Drop BDS backpointer
Before this patch, the "opaque" pointer in an NBD BDS points to a
BDRVNBDState, which contains an NbdClientSession object, which in turn
contains a pointer to the BDS. This pointer may become invalid due to
bdrv_swap(), so drop it, and instead pass the BDS directly to the
nbd-client.c functions which then retrieve the NbdClientSession object
from there.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1423256778-3340-2-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-02-16 14:36:03 +00:00
..
2015-02-16 14:36:03 +00:00
2015-02-12 21:21:38 -08:00
2015-02-06 16:11:38 +00:00
2015-02-13 05:46:07 +00:00
2015-02-02 16:55:11 +01:00
2014-09-29 14:55:27 -04:00
2015-02-05 17:16:14 +01:00