virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 0/2] vdpa: Add logging operatins
       [not found] <cover.1693012755.git.jiangdongxu1@huawei.com>
@ 2023-09-11  6:56 ` Jason Wang
  2023-10-18 15:07   ` Michael S. Tsirkin
  2023-11-01 13:01   ` Michael S. Tsirkin
  0 siblings, 2 replies; 3+ messages in thread
From: Jason Wang @ 2023-09-11  6:56 UTC (permalink / raw)
  To: Jiang Dongxu
  Cc: eric.fangyi, mst, linux-kernel, virtualization, eperezma,
	longpeng2, Siwei Liu

Adding Eugenio and Si Wei.

On Sat, Aug 26, 2023 at 9:24 AM Jiang Dongxu <jiangdongxu1@huawei.com> wrote:
>
> From: jiangdongxu <jiangdongxu1@huawei.com>
>
> Currently, the vdpa device supports suspend and resume operations.
> To support vdpa device live migration, we need to support logging
> operations and device state save/load opertions.
>
> These series introduces some new operations for vdpa devices.
> They allow vdpa to enable logging while vm start live migration.
>
> And I will submit another patches about saving and loading
> vdpa device state later.

Thanks for working on this, I have several questions:

1) Is there an example implementation of the logging in the drivers?
We need a real user in order to merge this.
2) Is the logging based on IOVA or VA? How the DMA isolation is being
done with this? Do we need a SET_LOGGING_ASID uAPI for this? (We had
some discussion on this in the past).

Thanks

>
> jiangdongxu (2):
>   vdpa: add log operations
>   vhost-vdpa: add uAPI for logging
>
>  drivers/vhost/vdpa.c       | 49 ++++++++++++++++++++++++++++++++++++++
>  include/linux/vdpa.h       | 14 +++++++++++
>  include/uapi/linux/vhost.h |  4 ++++
>  3 files changed, 67 insertions(+)
>
> --
> 2.27.0
>

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/2] vdpa: Add logging operatins
  2023-09-11  6:56 ` [PATCH 0/2] vdpa: Add logging operatins Jason Wang
@ 2023-10-18 15:07   ` Michael S. Tsirkin
  2023-11-01 13:01   ` Michael S. Tsirkin
  1 sibling, 0 replies; 3+ messages in thread
From: Michael S. Tsirkin @ 2023-10-18 15:07 UTC (permalink / raw)
  To: Jason Wang
  Cc: eric.fangyi, linux-kernel, virtualization, Jiang Dongxu, eperezma,
	longpeng2, Siwei Liu

On Mon, Sep 11, 2023 at 02:56:58PM +0800, Jason Wang wrote:
> Adding Eugenio and Si Wei.
> 
> On Sat, Aug 26, 2023 at 9:24 AM Jiang Dongxu <jiangdongxu1@huawei.com> wrote:
> >
> > From: jiangdongxu <jiangdongxu1@huawei.com>
> >
> > Currently, the vdpa device supports suspend and resume operations.
> > To support vdpa device live migration, we need to support logging
> > operations and device state save/load opertions.
> >
> > These series introduces some new operations for vdpa devices.
> > They allow vdpa to enable logging while vm start live migration.
> >
> > And I will submit another patches about saving and loading
> > vdpa device state later.
> 
> Thanks for working on this, I have several questions:
> 
> 1) Is there an example implementation of the logging in the drivers?
> We need a real user in order to merge this.
> 2) Is the logging based on IOVA or VA? How the DMA isolation is being
> done with this? Do we need a SET_LOGGING_ASID uAPI for this? (We had
> some discussion on this in the past).
> 
> Thanks


Seems to be stuck. Dropped this for now.

> >
> > jiangdongxu (2):
> >   vdpa: add log operations
> >   vhost-vdpa: add uAPI for logging
> >
> >  drivers/vhost/vdpa.c       | 49 ++++++++++++++++++++++++++++++++++++++
> >  include/linux/vdpa.h       | 14 +++++++++++
> >  include/uapi/linux/vhost.h |  4 ++++
> >  3 files changed, 67 insertions(+)
> >
> > --
> > 2.27.0
> >

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/2] vdpa: Add logging operatins
  2023-09-11  6:56 ` [PATCH 0/2] vdpa: Add logging operatins Jason Wang
  2023-10-18 15:07   ` Michael S. Tsirkin
@ 2023-11-01 13:01   ` Michael S. Tsirkin
  1 sibling, 0 replies; 3+ messages in thread
From: Michael S. Tsirkin @ 2023-11-01 13:01 UTC (permalink / raw)
  To: Jason Wang
  Cc: eric.fangyi, linux-kernel, virtualization, Jiang Dongxu, eperezma,
	longpeng2, Siwei Liu

On Mon, Sep 11, 2023 at 02:56:58PM +0800, Jason Wang wrote:
> Adding Eugenio and Si Wei.
> 
> On Sat, Aug 26, 2023 at 9:24 AM Jiang Dongxu <jiangdongxu1@huawei.com> wrote:
> >
> > From: jiangdongxu <jiangdongxu1@huawei.com>
> >
> > Currently, the vdpa device supports suspend and resume operations.
> > To support vdpa device live migration, we need to support logging
> > operations and device state save/load opertions.
> >
> > These series introduces some new operations for vdpa devices.
> > They allow vdpa to enable logging while vm start live migration.
> >
> > And I will submit another patches about saving and loading
> > vdpa device state later.
> 
> Thanks for working on this, I have several questions:
> 
> 1) Is there an example implementation of the logging in the drivers?
> We need a real user in order to merge this.
> 2) Is the logging based on IOVA or VA? How the DMA isolation is being
> done with this? Do we need a SET_LOGGING_ASID uAPI for this? (We had
> some discussion on this in the past).
> 
> Thanks


No answer so far so I'll drop this for now.

> >
> > jiangdongxu (2):
> >   vdpa: add log operations
> >   vhost-vdpa: add uAPI for logging
> >
> >  drivers/vhost/vdpa.c       | 49 ++++++++++++++++++++++++++++++++++++++
> >  include/linux/vdpa.h       | 14 +++++++++++
> >  include/uapi/linux/vhost.h |  4 ++++
> >  3 files changed, 67 insertions(+)
> >
> > --
> > 2.27.0
> >

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-01 13:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <cover.1693012755.git.jiangdongxu1@huawei.com>
2023-09-11  6:56 ` [PATCH 0/2] vdpa: Add logging operatins Jason Wang
2023-10-18 15:07   ` Michael S. Tsirkin
2023-11-01 13:01   ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).