[virtio-dev] [PATCH] virtio: fix build for configs without dma-bufs

2020-08-18 Thread David Stevens
Reported-by: kernel test robot Signed-off-by: David Stevens --- drivers/gpu/drm/virtio/Kconfig | 1 + drivers/virtio/Kconfig | 7 +++ drivers/virtio/Makefile | 3 ++- drivers/virtio/virtio_dma_buf.c | 3 +++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git

Re: [virtio-dev] Re: [PATCH RESEND v6 0/3] virtio-spec: Add documentation for recently added balloon features

2020-08-18 Thread Alexander Duyck
On Tue, Aug 18, 2020 at 10:41 AM David Hildenbrand wrote: > > On 18.08.20 19:32, Alexander Duyck wrote: > > I am resending this patch set with the hope of getting final reviews sorted > > out as I had no feedback on v6. If there are no further comments to be made > > I will create an issue and

[virtio-dev] Re: [PATCH RESEND v6 0/3] virtio-spec: Add documentation for recently added balloon features

2020-08-18 Thread David Hildenbrand
On 18.08.20 19:32, Alexander Duyck wrote: > I am resending this patch set with the hope of getting final reviews sorted > out as I had no feedback on v6. If there are no further comments to be made > I will create an issue and ask for inclusion of this patch set. > You can open an issue right

[virtio-dev] [PATCH RESEND v6 0/3] virtio-spec: Add documentation for recently added balloon features

2020-08-18 Thread Alexander Duyck
I am resending this patch set with the hope of getting final reviews sorted out as I had no feedback on v6. If there are no further comments to be made I will create an issue and ask for inclusion of this patch set. This patch set is meant to add documentation for balloon features that have been

[virtio-dev] [PATCH RESEND v6 1/3] content: Document balloon feature free page hints

2020-08-18 Thread Alexander Duyck
From: Alexander Duyck Free page hints allow the balloon driver to provide information on what pages are not currently in use so that we can avoid the cost of copying them in migration scenarios. Add a feature description for free page hints describing basic functioning and requirements. In

[virtio-dev] [PATCH RESEND v6 3/3] content: Document balloon feature free page reporting

2020-08-18 Thread Alexander Duyck
From: Alexander Duyck Free page reporting is a feature that allows the guest to proactively report unused pages to the host. By making use of this feature is is possible to reduce the overall memory footprint of the guest in cases where some significant portion of the memory is idle. Add

[virtio-dev] [PATCH RESEND v6 2/3] content: Document balloon feature page poison

2020-08-18 Thread Alexander Duyck
From: Alexander Duyck Page poison provides a way for the guest to notify the host that it is initializing or poisoning freed pages with some specific poison value. As a result of this we can infer a couple traits about the guest: 1. Free pages will contain a specific pattern within the guest.

[virtio-dev] [PATCH v7 1/3] virtio: add dma-buf support for exported objects

2020-08-18 Thread David Stevens
This change adds a new flavor of dma-bufs that can be used by virtio drivers to share exported objects. A virtio dma-buf can be queried by virtio drivers to obtain the UUID which identifies the underlying exported object. Signed-off-by: David Stevens --- drivers/virtio/Makefile | 2 +-

[virtio-dev] [PATCH v7 2/3] virtio-gpu: add VIRTIO_GPU_F_RESOURCE_UUID feature

2020-08-18 Thread David Stevens
This feature allows the guest to request a UUID from the host for a particular virtio_gpu resource. The UUID can then be shared with other virtio devices, to allow the other host devices to access the virtio_gpu's corresponding host resource. Signed-off-by: David Stevens ---

[virtio-dev] [PATCH v7 3/3] drm/virtio: Support virtgpu exported resources

2020-08-18 Thread David Stevens
Add support for UUID-based resource sharing mechanism to virtgpu. This implements the new virtgpu commands and hooks them up to dma-buf's get_uuid callback. Signed-off-by: David Stevens --- drivers/gpu/drm/virtio/virtgpu_drv.c | 3 + drivers/gpu/drm/virtio/virtgpu_drv.h | 21 ++

[virtio-dev] [PATCH v7 0/3] Support virtio cross-device resources

2020-08-18 Thread David Stevens
This patchset implements the current proposal for virtio cross-device resource sharing [1]. It will be used to import virtio resources into the virtio-video driver currently under discussion [2]. The patch under consideration to add support in the virtio-video driver is [3]. It uses the APIs from

[virtio-dev] Re: [PATCH v6 0/3] Support virtio cross-device resources

2020-08-18 Thread David Stevens
> Hmm, checkpatch still complains, full log below. > > IIRC "dim checkpatch" runs scripts/checkpatch.pl with --strict > so it is a bit more picky ... Ah, I didn't know --strict was being used. I'll send an update momentarily. Sorry for the churn. > -:250: CHECK:PREFER_KERNEL_TYPES: Prefer kernel

[virtio-dev] Re: [PATCH v6 0/3] Support virtio cross-device resources

2020-08-18 Thread Gerd Hoffmann
On Tue, Aug 18, 2020 at 10:37:41AM +0900, David Stevens wrote: > This patchset implements the current proposal for virtio cross-device > resource sharing [1]. It will be used to import virtio resources into > the virtio-video driver currently under discussion [2]. The patch > under consideration