|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 03/10] xen/arm: introduce PGC_reserved
On 20/05/2021 09:40, Penny Zheng wrote: Hi julien Hi Penny, -----Original Message----- From: Penny Zheng Sent: Thursday, May 20, 2021 2:20 PM To: Julien Grall <julien@xxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx; sstabellini@xxxxxxxxxx Cc: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>; Wei Chen <Wei.Chen@xxxxxxx>; nd <nd@xxxxxxx> Subject: RE: [PATCH 03/10] xen/arm: introduce PGC_reserved Hi Julien-----Original Message----- From: Julien Grall <julien@xxxxxxx> Sent: Thursday, May 20, 2021 3:46 AM To: Penny Zheng <Penny.Zheng@xxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx; sstabellini@xxxxxxxxxx Cc: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>; Wei Chen <Wei.Chen@xxxxxxx>; nd <nd@xxxxxxx> Subject: Re: [PATCH 03/10] xen/arm: introduce PGC_reserved On 19/05/2021 04:16, Penny Zheng wrote:Hi JulienHi Penny,-----Original Message----- From: Julien Grall <julien@xxxxxxx> Sent: Tuesday, May 18, 2021 5:46 PM To: Penny Zheng <Penny.Zheng@xxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx; sstabellini@xxxxxxxxxx Cc: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>; Wei Chen <Wei.Chen@xxxxxxx>; nd <nd@xxxxxxx> Subject: Re: [PATCH 03/10] xen/arm: introduce PGC_reserved On 18/05/2021 06:21, Penny Zheng wrote:In order to differentiate pages of static memory, from those allocated from heap, this patch introduces a new page flag PGC_reservedto tell.New struct reserved in struct page_info is to describe reserved page info, that is, which specific domain this page is reserved to. > Helper page_get_reserved_owner and page_set_reserved_owner are designated to get/set reserved page's owner. Struct domain is enlarged to more than PAGE_SIZE, due to newly-imported struct reserved in struct page_info.struct domain may embed a pointer to a struct page_info but never directly embed the structure. So can you clarify what you mean? Yes I am referring to balloon in/out. I replied there: "For issues on ballooning out or in, it is not supported here. So long you are not using the solution in prod then you are fine (see below)... But then we should make clear this feature is a tech preview. Domain on Static Allocation and 1:1 direct-map are all based on dom0-less right now, so no PV, grant table, event channel, etc, considered. Right now, it only supports device got passthrough into the guest." So we are not creating the hypervisor node in the DT for dom0less domU. However, the hypercalls are still accessible by a domU if it really wants to use them.Therefore, a guest can easily mess up with your static configuration and predictability. IMHO, this is a must to solve before "static memory" can be used in production. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |