Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-29 Thread Steven Sistare
On 3/11/2022 4:42 AM, Igor Mammedov wrote: > On Thu, 10 Mar 2022 13:18:35 -0500 > Steven Sistare wrote: > >> On 3/10/2022 12:28 PM, Steven Sistare wrote: >>> On 3/10/2022 11:00 AM, Igor Mammedov wrote: On Thu, 10 Mar 2022 10:36:08 -0500 Steven Sistare wrote: > On 3/8/2022

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-11 Thread David Hildenbrand
On 03.03.22 18:21, Michael S. Tsirkin wrote: > On Wed, Dec 22, 2021 at 11:05:15AM -0800, Steve Sistare wrote: >> Allocate anonymous memory using memfd_create if the memfd-alloc machine >> option is set. >> >> Signed-off-by: Steve Sistare >> --- >> hw/core/machine.c | 19 +++ >>

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-11 Thread Daniel P . Berrangé
On Mon, Mar 07, 2022 at 09:41:44AM -0500, Steven Sistare wrote: > On 3/4/2022 5:41 AM, Igor Mammedov wrote: > > On Thu, 3 Mar 2022 12:21:15 -0500 > > "Michael S. Tsirkin" wrote: > > > >> On Wed, Dec 22, 2021 at 11:05:15AM -0800, Steve Sistare wrote: > >>> Allocate anonymous memory using

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-11 Thread David Hildenbrand
On 22.12.21 20:05, Steve Sistare wrote: > Allocate anonymous memory using memfd_create if the memfd-alloc machine > option is set. Hi, late to the party (thanks Igor for CCing) ... in which case it's no longer anonymous memory (because it's now MAP_SHARED). So you're converting all private

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-11 Thread Igor Mammedov
On Thu, 10 Mar 2022 13:18:35 -0500 Steven Sistare wrote: > On 3/10/2022 12:28 PM, Steven Sistare wrote: > > On 3/10/2022 11:00 AM, Igor Mammedov wrote: > >> On Thu, 10 Mar 2022 10:36:08 -0500 > >> Steven Sistare wrote: > >> > >>> On 3/8/2022 2:20 AM, Igor Mammedov wrote: > On Tue, 8

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-10 Thread Steven Sistare
On 3/10/2022 12:28 PM, Steven Sistare wrote: > On 3/10/2022 11:00 AM, Igor Mammedov wrote: >> On Thu, 10 Mar 2022 10:36:08 -0500 >> Steven Sistare wrote: >> >>> On 3/8/2022 2:20 AM, Igor Mammedov wrote: On Tue, 8 Mar 2022 01:50:11 -0500 "Michael S. Tsirkin" wrote: > On Mon,

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-10 Thread Steven Sistare
On 3/10/2022 11:00 AM, Igor Mammedov wrote: > On Thu, 10 Mar 2022 10:36:08 -0500 > Steven Sistare wrote: > >> On 3/8/2022 2:20 AM, Igor Mammedov wrote: >>> On Tue, 8 Mar 2022 01:50:11 -0500 >>> "Michael S. Tsirkin" wrote: >>> On Mon, Mar 07, 2022 at 09:41:44AM -0500, Steven Sistare

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-10 Thread Igor Mammedov
On Thu, 10 Mar 2022 10:36:08 -0500 Steven Sistare wrote: > On 3/8/2022 2:20 AM, Igor Mammedov wrote: > > On Tue, 8 Mar 2022 01:50:11 -0500 > > "Michael S. Tsirkin" wrote: > > > >> On Mon, Mar 07, 2022 at 09:41:44AM -0500, Steven Sistare wrote: > >>> On 3/4/2022 5:41 AM, Igor Mammedov

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-10 Thread Steven Sistare
On 3/8/2022 2:20 AM, Igor Mammedov wrote: > On Tue, 8 Mar 2022 01:50:11 -0500 > "Michael S. Tsirkin" wrote: > >> On Mon, Mar 07, 2022 at 09:41:44AM -0500, Steven Sistare wrote: >>> On 3/4/2022 5:41 AM, Igor Mammedov wrote: On Thu, 3 Mar 2022 12:21:15 -0500 "Michael S. Tsirkin"

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-07 Thread Igor Mammedov
On Tue, 8 Mar 2022 01:50:11 -0500 "Michael S. Tsirkin" wrote: > On Mon, Mar 07, 2022 at 09:41:44AM -0500, Steven Sistare wrote: > > On 3/4/2022 5:41 AM, Igor Mammedov wrote: > > > On Thu, 3 Mar 2022 12:21:15 -0500 > > > "Michael S. Tsirkin" wrote: > > > > > >> On Wed, Dec 22, 2021 at

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-07 Thread Michael S. Tsirkin
On Mon, Mar 07, 2022 at 09:41:44AM -0500, Steven Sistare wrote: > On 3/4/2022 5:41 AM, Igor Mammedov wrote: > > On Thu, 3 Mar 2022 12:21:15 -0500 > > "Michael S. Tsirkin" wrote: > > > >> On Wed, Dec 22, 2021 at 11:05:15AM -0800, Steve Sistare wrote: > >>> Allocate anonymous memory using

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-07 Thread Steven Sistare
On 3/4/2022 5:41 AM, Igor Mammedov wrote: > On Thu, 3 Mar 2022 12:21:15 -0500 > "Michael S. Tsirkin" wrote: > >> On Wed, Dec 22, 2021 at 11:05:15AM -0800, Steve Sistare wrote: >>> Allocate anonymous memory using memfd_create if the memfd-alloc machine >>> option is set. >>> >>> Signed-off-by:

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-04 Thread Igor Mammedov
On Thu, 3 Mar 2022 12:21:15 -0500 "Michael S. Tsirkin" wrote: > On Wed, Dec 22, 2021 at 11:05:15AM -0800, Steve Sistare wrote: > > Allocate anonymous memory using memfd_create if the memfd-alloc machine > > option is set. > > > > Signed-off-by: Steve Sistare > > --- > > hw/core/machine.c |

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-03 Thread Michael S. Tsirkin
On Wed, Dec 22, 2021 at 11:05:15AM -0800, Steve Sistare wrote: > Allocate anonymous memory using memfd_create if the memfd-alloc machine > option is set. > > Signed-off-by: Steve Sistare > --- > hw/core/machine.c | 19 +++ > include/hw/boards.h | 1 + > qemu-options.hx |

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-03 Thread Steven Sistare
On 2/24/2022 12:56 PM, Dr. David Alan Gilbert wrote: > * Steve Sistare (steven.sist...@oracle.com) wrote: >> Allocate anonymous memory using memfd_create if the memfd-alloc machine >> option is set. >> >> Signed-off-by: Steve Sistare > > So other than the minor error nit that Guoyi spotted, I

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-03-03 Thread Steven Sistare
On 2/18/2022 3:05 AM, Guoyi Tu wrote: > On Wed, 2021-12-22 at 11:05 -0800, Steve Sistare wrote: >> Allocate anonymous memory using memfd_create if the memfd-alloc >> machine >> option is set. >> >> Signed-off-by: Steve Sistare >> --- >> hw/core/machine.c | 19 +++ >>

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-02-24 Thread Dr. David Alan Gilbert
* Steve Sistare (steven.sist...@oracle.com) wrote: > Allocate anonymous memory using memfd_create if the memfd-alloc machine > option is set. > > Signed-off-by: Steve Sistare So other than the minor error nit that Guoyi spotted, I think this is pretty good, one other comment below: > --- >

Re: [PATCH V7 10/29] machine: memfd-alloc option

2022-02-18 Thread Guoyi Tu
On Wed, 2021-12-22 at 11:05 -0800, Steve Sistare wrote: > Allocate anonymous memory using memfd_create if the memfd-alloc > machine > option is set. > > Signed-off-by: Steve Sistare > --- > hw/core/machine.c | 19 +++ > include/hw/boards.h | 1 + > qemu-options.hx | 6

[PATCH V7 10/29] machine: memfd-alloc option

2021-12-22 Thread Steve Sistare
Allocate anonymous memory using memfd_create if the memfd-alloc machine option is set. Signed-off-by: Steve Sistare --- hw/core/machine.c | 19 +++ include/hw/boards.h | 1 + qemu-options.hx | 6 ++ softmmu/physmem.c | 47