Re: the qemu-nbd process automatically exit with the commit 43347d56c 'livepatch: send a fake signal to all blocking tasks'

2021-04-15 Thread Miroslav Benes
On Wed, 14 Apr 2021, Josef Bacik wrote: > On 4/14/21 11:21 AM, xiaojun.zhao...@gmail.com wrote: > > On Wed, 14 Apr 2021 13:27:43 +0200 (CEST) > > Miroslav Benes wrote: > > > >> Hi, > >> > >> On Wed, 14 Apr 2021, xiaojun.zhao...@gmail.com wrote: > >> > >>> I found the qemu-nbd process(started

Re: the qemu-nbd process automatically exit with the commit 43347d56c 'livepatch: send a fake signal to all blocking tasks'

2021-04-15 Thread xiaojun . zhao141
On Wed, 14 Apr 2021 13:21:37 -0400 Josef Bacik wrote: > On 4/14/21 11:21 AM, xiaojun.zhao...@gmail.com wrote: > > On Wed, 14 Apr 2021 13:27:43 +0200 (CEST) > > Miroslav Benes wrote: > > > >> Hi, > >> > >> On Wed, 14 Apr 2021, xiaojun.zhao...@gmail.com wrote: > >> > >>> I found the qemu-nbd

Re: the qemu-nbd process automatically exit with the commit 43347d56c 'livepatch: send a fake signal to all blocking tasks'

2021-04-14 Thread Josef Bacik
On 4/14/21 11:21 AM, xiaojun.zhao...@gmail.com wrote: On Wed, 14 Apr 2021 13:27:43 +0200 (CEST) Miroslav Benes wrote: Hi, On Wed, 14 Apr 2021, xiaojun.zhao...@gmail.com wrote: I found the qemu-nbd process(started with qemu-nbd -t -c /dev/nbd0 nbd.qcow2) will automatically exit when I

Re: the qemu-nbd process automatically exit with the commit 43347d56c 'livepatch: send a fake signal to all blocking tasks'

2021-04-14 Thread xiaojun . zhao141
On Wed, 14 Apr 2021 13:27:43 +0200 (CEST) Miroslav Benes wrote: > Hi, > > On Wed, 14 Apr 2021, xiaojun.zhao...@gmail.com wrote: > > > I found the qemu-nbd process(started with qemu-nbd -t -c /dev/nbd0 > > nbd.qcow2) will automatically exit when I patched for functions of > > the nbd with

Re: the qemu-nbd process automatically exit with the commit 43347d56c 'livepatch: send a fake signal to all blocking tasks'

2021-04-14 Thread xiaojun . zhao141
On Wed, 14 Apr 2021 13:27:43 +0200 (CEST) Miroslav Benes wrote: > Hi, > > On Wed, 14 Apr 2021, xiaojun.zhao...@gmail.com wrote: > > > I found the qemu-nbd process(started with qemu-nbd -t -c /dev/nbd0 > > nbd.qcow2) will automatically exit when I patched for functions of > > the nbd with

Re: the qemu-nbd process automatically exit with the commit 43347d56c 'livepatch: send a fake signal to all blocking tasks'

2021-04-14 Thread Miroslav Benes
Hi, On Wed, 14 Apr 2021, xiaojun.zhao...@gmail.com wrote: > I found the qemu-nbd process(started with qemu-nbd -t -c /dev/nbd0 > nbd.qcow2) will automatically exit when I patched for functions of > the nbd with livepatch. > > The nbd relative source: > static int nbd_start_device_ioctl(struct

the qemu-nbd process automatically exit with the commit 43347d56c 'livepatch: send a fake signal to all blocking tasks'

2021-04-13 Thread xiaojun . zhao141
I found the qemu-nbd process(started with qemu-nbd -t -c /dev/nbd0 nbd.qcow2) will automatically exit when I patched for functions of the nbd with livepatch. The nbd relative source: static int nbd_start_device_ioctl(struct nbd_device *nbd, struct block_device *bdev) {