[virtio-dev] Re: [PATCH v5 4/6] mm: Introduce Reported pages

2019-08-13 Thread David Hildenbrand
On 12.08.19 23:33, Alexander Duyck wrote: > From: Alexander Duyck > > In order to pave the way for free page reporting in virtualized > environments we will need a way to get pages out of the free lists and > identify those pages after they have been returned. To accomplish this, > this patch add

Re: [virtio-dev] [PATCH v5 1/2] content: add virtio file system device

2019-08-13 Thread Stefan Hajnoczi
On Sat, Aug 03, 2019 at 05:12:15PM -0400, Michael S. Tsirkin wrote: > On Fri, Jul 26, 2019 at 10:53:37AM +0100, Stefan Hajnoczi wrote: > > +\subsubsection{Live migration considerations}\label{sec:Device Types / > > File System Device / Live Migration Considerations} > > + > > +When a guest is migr

Re: [virtio-dev] [PATCH v5 1/2] content: add virtio file system device

2019-08-13 Thread Stefan Hajnoczi
On Sat, Aug 03, 2019 at 05:21:19PM -0400, Michael S. Tsirkin wrote: > On Fri, Jul 26, 2019 at 10:53:37AM +0100, Stefan Hajnoczi wrote: > > +\subsubsection{Security Considerations}\label{sec:Device Types / File > > System Device / Security Considerations} > > One issue not addressed here at all is

[virtio-dev] Re: [RFC][Patch v12 1/2] mm: page_reporting: core infrastructure

2019-08-13 Thread Nitesh Narayan Lal
On 8/12/19 4:05 PM, David Hildenbrand wrote: >>> --- >>> include/linux/mmzone.h | 11 ++ >>> include/linux/page_reporting.h | 63 +++ >>> mm/Kconfig | 6 + >>> mm/Makefile| 1 + >>> mm/page_alloc.c| 42 - >>> mm/page_

[virtio-dev] Re: [RFC][Patch v12 1/2] mm: page_reporting: core infrastructure

2019-08-13 Thread David Hildenbrand
+static int process_free_page(struct page *page, +struct page_reporting_config *phconf, int count) +{ + int mt, order, ret = 0; + + mt = get_pageblock_migratetype(page); + order = page_private(page); +

[virtio-dev] Re: [RFC][Patch v12 1/2] mm: page_reporting: core infrastructure

2019-08-13 Thread Nitesh Narayan Lal
On 8/13/19 6:34 AM, David Hildenbrand wrote: > +static int process_free_page(struct page *page, > +struct page_reporting_config *phconf, int > count) > +{ > + int mt, order, ret = 0; [...] > +/** > + * zone_reporting_init - For each z

[virtio-dev] Re: [RFC][Patch v12 1/2] mm: page_reporting: core infrastructure

2019-08-13 Thread David Hildenbrand
On 13.08.19 12:42, Nitesh Narayan Lal wrote: > > On 8/13/19 6:34 AM, David Hildenbrand wrote: >> +static int process_free_page(struct page *page, >> +struct page_reporting_config *phconf, int >> count) >> +{ >> + int mt, order, ret = 0; > [...

Re: [virtio-dev] [PATCH v5 1/2] content: add virtio file system device

2019-08-13 Thread Michael S. Tsirkin
On Tue, Aug 13, 2019 at 10:07:11AM +0100, Stefan Hajnoczi wrote: > On Sat, Aug 03, 2019 at 05:12:15PM -0400, Michael S. Tsirkin wrote: > > On Fri, Jul 26, 2019 at 10:53:37AM +0100, Stefan Hajnoczi wrote: > > > +\subsubsection{Live migration considerations}\label{sec:Device Types / > > > File Syste

[virtio-dev] [PATCH] content: document console vq detach buffer

2019-08-13 Thread Pankaj Gupta
This patch documents console special case where vq buffers are deleted at port hotunplug time. This behavior is different in other devices where vq buffers are deleted at device unplug time. Signed-off-by: Pankaj Gupta --- content.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content

[virtio-dev] [PATCH v6 1/2] content: add virtio file system device

2019-08-13 Thread Stefan Hajnoczi
The virtio file system device transports Linux FUSE requests between a FUSE daemon running on the host and the FUSE driver inside the guest. The actual FUSE request definitions are not duplicated in the virtio specification, similar to how virtio-scsi does not document SCSI command details. FUSE

[virtio-dev] [PATCH v6 2/2] virtio-fs: add DAX window

2019-08-13 Thread Stefan Hajnoczi
Describe how shared memory region ID 0 is the DAX window and how FUSE_SETUPMAPPING maps file ranges into the window. Signed-off-by: Stefan Hajnoczi --- The FUSE_SETUPMAPPING message is part of the virtio-fs Linux patches: https://gitlab.com/virtio-fs/linux/blob/virtio-fs/include/uapi/linux/fuse.h

[virtio-dev] [PATCH v6 0/2] virtio-fs: add virtio file system device

2019-08-13 Thread Stefan Hajnoczi
v6: * Clarify that num_queues only counts request queues [Cornelia] * State that only high priority requests go on the hiprio queue [Cornelia] * Expand on how endianness works [Cornelia] * Use "driver" and "device" instead of "guest" and "host" [Michael] * Explain how setuid files and device n

Re: [virtio-dev] [PATCH v5 1/2] content: add virtio file system device

2019-08-13 Thread Stefan Hajnoczi
On Tue, Aug 13, 2019 at 07:24:45AM -0400, Michael S. Tsirkin wrote: > On Tue, Aug 13, 2019 at 10:07:11AM +0100, Stefan Hajnoczi wrote: > > On Sat, Aug 03, 2019 at 05:12:15PM -0400, Michael S. Tsirkin wrote: > > > On Fri, Jul 26, 2019 at 10:53:37AM +0100, Stefan Hajnoczi wrote: > > > > +\subsubsecti

Re: [virtio-dev] [PATCH] content: document console vq detach buffer

2019-08-13 Thread Stefan Hajnoczi
On Tue, Aug 13, 2019 at 06:21:33PM +0530, Pankaj Gupta wrote: > This patch documents console special case where vq buffers > are deleted at port hotunplug time. This behavior is different in > other devices where vq buffers are deleted at device unplug time. > > Signed-off-by: Pankaj Gupta > ---

[virtio-dev] Re: [RFC][Patch v12 1/2] mm: page_reporting: core infrastructure

2019-08-13 Thread Alexander Duyck
On Tue, Aug 13, 2019 at 3:34 AM David Hildenbrand wrote: > > +static int process_free_page(struct page *page, > +struct page_reporting_config *phconf, int > count) > +{ > + int mt, order, ret = 0; > + > + mt = get_pagebloc

Re: [virtio-dev] [PATCH] content: document console vq detach buffer

2019-08-13 Thread Pankaj Gupta
> > On Tue, Aug 13, 2019 at 06:21:33PM +0530, Pankaj Gupta wrote: > > This patch documents console special case where vq buffers > > are deleted at port hotunplug time. This behavior is different in > > other devices where vq buffers are deleted at device unplug time. > > > > Signed-off-by: Pan