Re: Race condition in overlayed qcow2?

2020-02-25 Thread Kevin Wolf
devel@nongnu.org'; 'mre...@redhat.com'; 'Vladimir > > Sementsov-Ogievskiy' > > Subject: RE: Race condition in overlayed qcow2? > > > > Kevin, what do you think about it? > > > > What guest is intended to receive, when it requests mu

RE: Race condition in overlayed qcow2?

2020-02-25 Thread Pavel Dovgalyuk
redhat.com'; 'Vladimir > Sementsov-Ogievskiy' > Subject: RE: Race condition in overlayed qcow2? > > Kevin, what do you think about it? > > What guest is intended to receive, when it requests multiple reads to the > same buffer in a > single DMA transaction? > >

RE: Race condition in overlayed qcow2?

2020-02-25 Thread Pavel Dovgalyuk
> -Original Message- > From: Vladimir Sementsov-Ogievskiy [mailto:vsement...@virtuozzo.com] > Sent: Tuesday, February 25, 2020 12:19 PM > To: dovgaluk > Cc: qemu-devel@nongnu.org; mre...@redhat.com; kw...@redhat.com > Subject: Re: Race condition in overlayed qcow2? >

Re: Race condition in overlayed qcow2?

2020-02-25 Thread Vladimir Sementsov-Ogievskiy
25.02.2020 10:56, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-25 10:27: 25.02.2020 8:58, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-21 16:23: 21.02.2020 15:35, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-21 13:09: 21.02.2020 12:49, dovgaluk wrote

Re: Race condition in overlayed qcow2?

2020-02-24 Thread dovgaluk
Vladimir Sementsov-Ogievskiy писал 2020-02-25 10:27: 25.02.2020 8:58, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-21 16:23: 21.02.2020 15:35, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-21 13:09: 21.02.2020 12:49, dovgaluk wrote: Vladimir Sementsov-Ogievskiy пис

Re: Race condition in overlayed qcow2?

2020-02-24 Thread Vladimir Sementsov-Ogievskiy
25.02.2020 8:58, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-21 16:23: 21.02.2020 15:35, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-21 13:09: 21.02.2020 12:49, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-20 12:36: 1 or 2 are ok, and 4 or 8 lead t

Re: Race condition in overlayed qcow2?

2020-02-24 Thread dovgaluk
Vladimir Sementsov-Ogievskiy писал 2020-02-21 16:23: 21.02.2020 15:35, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-21 13:09: 21.02.2020 12:49, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-20 12:36: 1 or 2 are ok, and 4 or 8 lead to the failures. That is strange.

Re: Race condition in overlayed qcow2?

2020-02-21 Thread Vladimir Sementsov-Ogievskiy
21.02.2020 15:35, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-21 13:09: 21.02.2020 12:49, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-20 12:36: 1 or 2 are ok, and 4 or 8 lead to the failures. That is strange. I could think, that it was caused by the bugs in dete

Re: Race condition in overlayed qcow2?

2020-02-21 Thread dovgaluk
Vladimir Sementsov-Ogievskiy писал 2020-02-21 13:09: 21.02.2020 12:49, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-20 12:36: 1 or 2 are ok, and 4 or 8 lead to the failures. That is strange. I could think, that it was caused by the bugs in deterministic CPU execution, but the fi

Re: Race condition in overlayed qcow2?

2020-02-21 Thread Vladimir Sementsov-Ogievskiy
21.02.2020 12:49, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-20 12:36: 20.02.2020 12:05, Vladimir Sementsov-Ogievskiy wrote: 20.02.2020 11:31, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-19 19:07: 19.02.2020 17:32, dovgaluk wrote: I encountered a problem with r

Re: Race condition in overlayed qcow2?

2020-02-21 Thread dovgaluk
Vladimir Sementsov-Ogievskiy писал 2020-02-20 12:36: 20.02.2020 12:05, Vladimir Sementsov-Ogievskiy wrote: 20.02.2020 11:31, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-19 19:07: 19.02.2020 17:32, dovgaluk wrote: I encountered a problem with record/replay of QEMU execution and

RE: Race condition in overlayed qcow2?

2020-02-20 Thread Pavel Dovgalyuk
> From: Vladimir Sementsov-Ogievskiy [mailto:vsement...@virtuozzo.com] > 20.02.2020 13:00, Pavel Dovgalyuk wrote: > >> From: Vladimir Sementsov-Ogievskiy [mailto:vsement...@virtuozzo.com] > >> 20.02.2020 11:31, dovgaluk wrote: > >>> Vladimir Sementsov-Ogievskiy писал 2020-02-19 19:07: > 19.02.

Re: Race condition in overlayed qcow2?

2020-02-20 Thread Vladimir Sementsov-Ogievskiy
20.02.2020 13:00, Pavel Dovgalyuk wrote: From: Vladimir Sementsov-Ogievskiy [mailto:vsement...@virtuozzo.com] 20.02.2020 11:31, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-19 19:07: 19.02.2020 17:32, dovgaluk wrote: I encountered a problem with record/replay of QEMU execution an

RE: Race condition in overlayed qcow2?

2020-02-20 Thread Pavel Dovgalyuk
> From: Vladimir Sementsov-Ogievskiy [mailto:vsement...@virtuozzo.com] > 20.02.2020 11:31, dovgaluk wrote: > > Vladimir Sementsov-Ogievskiy писал 2020-02-19 19:07: > >> 19.02.2020 17:32, dovgaluk wrote: > >>> I encountered a problem with record/replay of QEMU execution and figured > >>> out the >

Re: Race condition in overlayed qcow2?

2020-02-20 Thread Vladimir Sementsov-Ogievskiy
20.02.2020 12:05, Vladimir Sementsov-Ogievskiy wrote: 20.02.2020 11:31, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-19 19:07: 19.02.2020 17:32, dovgaluk wrote: I encountered a problem with record/replay of QEMU execution and figured out the following, when QEMU is started with

Re: Race condition in overlayed qcow2?

2020-02-20 Thread Vladimir Sementsov-Ogievskiy
20.02.2020 11:31, dovgaluk wrote: Vladimir Sementsov-Ogievskiy писал 2020-02-19 19:07: 19.02.2020 17:32, dovgaluk wrote: I encountered a problem with record/replay of QEMU execution and figured out the following, when QEMU is started with one virtual disk connected to the qcow2 image with appl

Re: Race condition in overlayed qcow2?

2020-02-20 Thread dovgaluk
Vladimir Sementsov-Ogievskiy писал 2020-02-19 19:07: 19.02.2020 17:32, dovgaluk wrote: I encountered a problem with record/replay of QEMU execution and figured out the following, when QEMU is started with one virtual disk connected to the qcow2 image with applied 'snapshot' option. The patch

Re: Race condition in overlayed qcow2?

2020-02-19 Thread Vladimir Sementsov-Ogievskiy
19.02.2020 17:32, dovgaluk wrote: Hi! I encountered a problem with record/replay of QEMU execution and figured out the following, when QEMU is started with one virtual disk connected to the qcow2 image with applied 'snapshot' option. The patch d710cf575ad5fb3ab329204620de45bfe50caa53 "block/q

Race condition in overlayed qcow2?

2020-02-19 Thread dovgaluk
Hi! I encountered a problem with record/replay of QEMU execution and figured out the following, when QEMU is started with one virtual disk connected to the qcow2 image with applied 'snapshot' option. The patch d710cf575ad5fb3ab329204620de45bfe50caa53 "block/qcow2: introduce parallel subreque