Re: [PATCH v4 0/4] Implement vdpasim stop operation

2022-06-01 Thread Jason Wang
On Thu, Jun 2, 2022 at 10:59 AM Parav Pandit wrote: > > > > From: Jason Wang > > Sent: Wednesday, June 1, 2022 10:00 PM > > > > On Thu, Jun 2, 2022 at 2:58 AM Parav Pandit wrote: > > > > > > > > > > From: Jason Wang > > > > Sent: Tuesday, May 31, 2022 10:42 PM > > > > > > > > Well, the ability

RE: [PATCH v4 0/4] Implement vdpasim stop operation

2022-06-01 Thread Parav Pandit via Virtualization
> From: Jason Wang > Sent: Wednesday, June 1, 2022 10:00 PM > > On Thu, Jun 2, 2022 at 2:58 AM Parav Pandit wrote: > > > > > > > From: Jason Wang > > > Sent: Tuesday, May 31, 2022 10:42 PM > > > > > > Well, the ability to query the virtqueue state was proposed as > > > another feature (Eugeni

Re: [PATCH v4 0/4] Implement vdpasim stop operation

2022-06-01 Thread Jason Wang
在 2022/5/26 20:43, Eugenio Pérez 写道: Implement stop operation for vdpa_sim devices, so vhost-vdpa will offer that backend feature and userspace can effectively stop the device. This is a must before get virtqueue indexes (base) for live migration, since the device could modify them after userla

Re: [PATCH v4 0/4] Implement vdpasim stop operation

2022-06-01 Thread Jason Wang
On Thu, Jun 2, 2022 at 3:30 AM Parav Pandit wrote: > > > > > From: Eugenio Perez Martin > > Sent: Wednesday, June 1, 2022 5:50 AM > > > > On Tue, May 31, 2022 at 10:19 PM Parav Pandit wrote: > > > > > > > > > > From: Jason Wang > > > > Sent: Sunday, May 29, 2022 11:39 PM > > > > > > > > On Fri,

Re: [PATCH v4 0/4] Implement vdpasim stop operation

2022-06-01 Thread Jason Wang
On Thu, Jun 2, 2022 at 2:58 AM Parav Pandit wrote: > > > > From: Jason Wang > > Sent: Tuesday, May 31, 2022 10:42 PM > > > > Well, the ability to query the virtqueue state was proposed as another > > feature (Eugenio, please correct me). This should be sufficient for making > > virtio-net to be l

Re: [PATCH V9 0/8] Use copy_process in vhost layer

2022-06-01 Thread michael . christie
On 5/12/22 4:46 PM, Mike Christie wrote: > The following patches were made over Eric's tree: > > git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git > > and his kthread-cleanups-for-v5.19 branch. Hi Eric, Did you have more review comments for the patches or are you ok with

RE: [PATCH v4 0/4] Implement vdpasim stop operation

2022-06-01 Thread Parav Pandit via Virtualization
> From: Eugenio Perez Martin > Sent: Wednesday, June 1, 2022 5:50 AM > > On Tue, May 31, 2022 at 10:19 PM Parav Pandit wrote: > > > > > > > From: Jason Wang > > > Sent: Sunday, May 29, 2022 11:39 PM > > > > > > On Fri, May 27, 2022 at 6:56 PM Michael S. Tsirkin > wrote: > > > > > > > > On Th

RE: [PATCH v4 3/4] vhost-vdpa: uAPI to stop the device

2022-06-01 Thread Parav Pandit via Virtualization
> From: Eugenio Perez Martin > Sent: Wednesday, June 1, 2022 7:15 AM > > On Wed, Jun 1, 2022 at 1:03 PM Michael S. Tsirkin wrote: > > > > On Thu, May 26, 2022 at 02:43:37PM +0200, Eugenio Pérez wrote: > > > The ioctl adds support for stop the device from userspace. > > > > > > Signed-off-by: E

RE: [PATCH v4 0/4] Implement vdpasim stop operation

2022-06-01 Thread Parav Pandit via Virtualization
> From: Jason Wang > Sent: Tuesday, May 31, 2022 10:42 PM > > Well, the ability to query the virtqueue state was proposed as another > feature (Eugenio, please correct me). This should be sufficient for making > virtio-net to be live migrated. > The device is stopped, it won't answer to this s

Re: [PATCH v4 3/4] vhost-vdpa: uAPI to stop the device

2022-06-01 Thread Michael S. Tsirkin
On Thu, May 26, 2022 at 02:43:37PM +0200, Eugenio Pérez wrote: > The ioctl adds support for stop the device from userspace. > > Signed-off-by: Eugenio Pérez > --- > drivers/vhost/vdpa.c | 18 ++ > include/uapi/linux/vhost.h | 14 ++ > 2 files changed, 32 inserti

Re: [PATCH 0/3] recover hardware corrupted page by virtio balloon

2022-06-01 Thread David Hildenbrand
On 01.06.22 04:17, zhenwei pi wrote: > On 5/31/22 12:08, Jue Wang wrote: >> On Mon, May 30, 2022 at 8:49 AM Peter Xu wrote: >>> >>> On Mon, May 30, 2022 at 07:33:35PM +0800, zhenwei pi wrote: A VM uses RAM of 2M huge page. Once a MCE(@HVAy in [HVAx,HVAz)) occurs, the 2M([HVAx,HVAz)) of h