[virtio-dev] Re: [PATCH 4/6] vhost_vdpa: support doorbell mapping via mmap

2020-05-29 Thread Rob Miller
Given the need for 4K doorbell such that QEMU can easily map, ect, and assuming that I have a HW device which exposes 2 VQ's, with a notification area off of BAR3, offset=whatever, notifier_multiplier=4, we don't need to have 2 x 4K pages mapped into the VM for both doorbells do we? The guest drive

[virtio-dev] Re: [virtio-comment] [PATCH v4 1/3] content: Document balloon feature page poison

2020-05-29 Thread David Hildenbrand
On 29.05.20 18:57, Alexander Duyck wrote: > On Fri, May 29, 2020 at 1:13 AM David Hildenbrand wrote: >> >> On 27.05.20 06:06, Alexander Duyck wrote: >>> From: Alexander Duyck >>> >>> Page poison provides a way for the guest to notify the host that it is >>> initializing or poisoning freed pages w

[virtio-dev] Re: [virtio-comment] [PATCH v4 1/3] content: Document balloon feature page poison

2020-05-29 Thread Alexander Duyck
On Fri, May 29, 2020 at 1:13 AM David Hildenbrand wrote: > > On 27.05.20 06:06, Alexander Duyck wrote: > > 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 > > resul

[virtio-dev] Re: [PATCH v3 1/2] virtio-video: Add virtio video device specification

2020-05-29 Thread Keiichi Watanabe
Hi Dmitry, On Wed, May 27, 2020 at 9:12 PM Dmitry Sepp wrote: > > Hi Keiichi, > > On Montag, 18. Mai 2020 07:17:53 CEST Keiichi Watanabe wrote: > > > +struct virtio_video_stream_create { > > > +struct virtio_video_cmd_hdr hdr; > > > +le32 in_mem_type; /* One of VIRTIO_VIDEO_MEM_TY

[virtio-dev] Re: [virtio-comment] [PATCH v4 1/3] content: Document balloon feature page poison

2020-05-29 Thread David Hildenbrand
On 27.05.20 06:06, Alexander Duyck wrote: > 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 pa