Re: [PATCH RFC 11/21] migration: Add hugetlb-doublemap cap

2023-01-29 Thread Juan Quintela
Peter Xu wrote: > Add a new cap to allow mapping hugetlbfs backed RAMs in small page sizes. > > Signed-off-by: Peter Xu Reviewed-by: Juan Quintela > +bool migrate_hugetlb_doublemap(void) > +{ > +MigrationState *s = migrate_get_current(); > + > +return s->enabled_capabilities[MIGRATION_

Re: [PATCH RFC 11/21] migration: Add hugetlb-doublemap cap

2023-01-24 Thread Peter Xu
On Tue, Jan 24, 2023 at 12:45:38PM +, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > Add a new cap to allow mapping hugetlbfs backed RAMs in small page sizes. > > > > Signed-off-by: Peter Xu > > > Reviewed-by: Dr. David Alan Gilbert Thanks. > > although, I'm c

Re: [PATCH RFC 11/21] migration: Add hugetlb-doublemap cap

2023-01-24 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Add a new cap to allow mapping hugetlbfs backed RAMs in small page sizes. > > Signed-off-by: Peter Xu Reviewed-by: Dr. David Alan Gilbert although, I'm curious if the protocol actually changes - or whether a doublepage enabled destination would work wit

[PATCH RFC 11/21] migration: Add hugetlb-doublemap cap

2023-01-17 Thread Peter Xu
Add a new cap to allow mapping hugetlbfs backed RAMs in small page sizes. Signed-off-by: Peter Xu --- migration/migration.c | 48 ++- migration/migration.h | 1 + qapi/migration.json | 7 ++- 3 files changed, 54 insertions(+), 2 deletions(-) diff