All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] mini-os: some memory map updates for PVH
@ 2022-06-18 10:48 Juergen Gross
  2022-06-18 10:48 ` [PATCH 1/3] mini-os: take newest version of arch-x86/hvm/start_info.h Juergen Gross
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Juergen Gross @ 2022-06-18 10:48 UTC (permalink / raw)
  To: minios-devel, xen-devel; +Cc: samuel.thibault, wl, Juergen Gross

Do some memory map related changes/fixes for PVH mode:

- Prefer the memory map delivered via start-info over the one obtained
  from the hypervisor. This is a prerequisite for Xenstore-stubdom
  live-update with rising the memory limit.

- Fix a bug related to ballooning in PVH mode: PVH Xenstore-stubdom
  can't read its target memory size from Xenstore, as this introduces
  a chicken-and-egg problem. The memory size read from the hypervisor
  OTOH includes additional "special" pages marked as reserved in the
  memory map. Those pages need to be subtracted from the read size.

Juergen Gross (3):
  mini-os: take newest version of arch-x86/hvm/start_info.h
  mini-os: prefer memory map via start_info for PVH
  mini-os: fix number of pages for PVH

 arch/x86/mm.c                         | 10 ++++-
 balloon.c                             |  2 +-
 e820.c                                | 53 +++++++++++++++++++---
 include/e820.h                        |  5 +++
 include/x86/arch_mm.h                 |  2 +
 include/xen/arch-x86/hvm/start_info.h | 63 ++++++++++++++++++++++++++-
 6 files changed, 125 insertions(+), 10 deletions(-)

-- 
2.35.3



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-06-19  5:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-18 10:48 [PATCH 0/3] mini-os: some memory map updates for PVH Juergen Gross
2022-06-18 10:48 ` [PATCH 1/3] mini-os: take newest version of arch-x86/hvm/start_info.h Juergen Gross
2022-06-18 12:13   ` Samuel Thibault
2022-06-18 10:48 ` [PATCH 2/3] mini-os: prefer memory map via start_info for PVH Juergen Gross
2022-06-18 12:14   ` Samuel Thibault
2022-06-18 10:48 ` [PATCH 3/3] mini-os: fix number of pages " Juergen Gross
2022-06-18 12:13   ` Samuel Thibault
2022-06-18 14:07     ` Juergen Gross
2022-06-18 15:56       ` Samuel Thibault
2022-06-19  5:51         ` Juergen Gross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.