Re: [Xen-devel] [PATCH 4/4] xen-blkback: support dynamic unbind/bind

2019-12-09 Thread Durrant, Paul
> -Original Message- > From: Jürgen Groß > Sent: 09 December 2019 13:58 > To: Durrant, Paul ; linux-ker...@vger.kernel.org; > xen-devel@lists.xenproject.org > Cc: Konrad Rzeszutek Wilk ; Roger Pau Monné > ; Jens Axboe ; Boris Ostrovsky > ; Stefano Stabellini > Subject: Re: [PATCH 4/4]

Re: [Xen-devel] [PATCH 4/4] xen-blkback: support dynamic unbind/bind

2019-12-09 Thread Jürgen Groß
On 05.12.19 15:01, Paul Durrant wrote: By simply re-attaching to shared rings during connect_ring() rather than assuming they are freshly allocated (i.e assuming the counters are zero) it is possible for vbd instances to be unbound and re-bound from and to (respectively) a running guest. This

Re: [Xen-devel] [PATCH 4/4] xen-blkback: support dynamic unbind/bind

2019-12-09 Thread Durrant, Paul
> -Original Message- > From: Roger Pau Monné > Sent: 09 December 2019 12:17 > To: Durrant, Paul > Cc: linux-ker...@vger.kernel.org; xen-devel@lists.xenproject.org; Konrad > Rzeszutek Wilk ; Jens Axboe ; > Boris Ostrovsky ; Juergen Gross > ; Stefano Stabellini > Subject: Re: [PATCH 4/4]

Re: [Xen-devel] [PATCH 4/4] xen-blkback: support dynamic unbind/bind

2019-12-09 Thread Roger Pau Monné
On Thu, Dec 05, 2019 at 02:01:23PM +, Paul Durrant wrote: > By simply re-attaching to shared rings during connect_ring() rather than > assuming they are freshly allocated (i.e assuming the counters are zero) > it is possible for vbd instances to be unbound and re-bound from and to >

[Xen-devel] [PATCH 4/4] xen-blkback: support dynamic unbind/bind

2019-12-05 Thread Paul Durrant
By simply re-attaching to shared rings during connect_ring() rather than assuming they are freshly allocated (i.e assuming the counters are zero) it is possible for vbd instances to be unbound and re-bound from and to (respectively) a running guest. This has been tested by running: while true;