From: Juergen Gross <jgross@suse.com>
To: minios-devel@lists.xenproject.org, xen-devel@lists.xenproject.org
Cc: samuel.thibault@ens-lyon.org, wl@xen.org,
Juergen Gross <jgross@suse.com>
Subject: [PATCH 0/3] mini-os: some memory map updates for PVH
Date: Sat, 18 Jun 2022 12:48:13 +0200 [thread overview]
Message-ID: <20220618104816.11527-1-jgross@suse.com> (raw)
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
next reply other threads:[~2022-06-18 10:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-18 10:48 Juergen Gross [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220618104816.11527-1-jgross@suse.com \
--to=jgross@suse.com \
--cc=minios-devel@lists.xenproject.org \
--cc=samuel.thibault@ens-lyon.org \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.