[PATCH nbd 2/4] nbd: Split out block device state from underlying NBD connections

2023-03-09 Thread Richard W.M. Jones
To implement multi-conn, we will put multiple underlying NBD connections (ie. NBDClientConnection) inside the NBD block device handle (BDRVNBDState). This requires first breaking the one-to-one relationship between NBDClientConnection and BDRVNBDState. To do this a new structure (NBDConnState) is

Re: [PATCH nbd 2/4] nbd: Split out block device state from underlying NBD connections

2023-03-14 Thread Eric Blake
On Thu, Mar 09, 2023 at 11:39:44AM +, Richard W.M. Jones wrote: > To implement multi-conn, we will put multiple underlying NBD > connections (ie. NBDClientConnection) inside the NBD block device > handle (BDRVNBDState). This requires first breaking the one-to-one > relationship between NBDClie