In pkvm, assume that all guest memory is private and unmap it by default. If it's shared and needed, the host can map it later. Signed-off-by: Fuad Tabba <tabba@xxxxxxxxxx> --- builtin-run.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builtin-run.c b/builtin-run.c index 9ec5701..23a4f8b 100644 --- a/builtin-run.c +++ b/builtin-run.c @@ -780,6 +780,9 @@ static struct kvm *kvm_cmd_run_init(int argc, const char **argv) if (init_list__init(kvm) < 0) die ("Initialisation failed"); + if (kvm->cfg.pkvm) + unmap_guest(kvm); + return kvm; } -- 2.39.0.rc0.267.gcb52ba06e7-goog