From faa4e80071f5114f8113263b5303ac18e7df0a9d Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 12 Dec 2022 22:32:54 +0000 Subject: xen: Add XEN_DISABLED mode and make it default Also set XEN_ATTACH mode in xen_init() to reflect the truth; not that anyone ever cared before. It was *only* ever checked in xen_init_pv() before. Suggested-by: Paolo Bonzini Signed-off-by: David Woodhouse Reviewed-by: Paul Durrant --- accel/xen/xen-all.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'accel') diff --git a/accel/xen/xen-all.c b/accel/xen/xen-all.c index c1b697a8bd..e85e4aeba5 100644 --- a/accel/xen/xen-all.c +++ b/accel/xen/xen-all.c @@ -171,6 +171,8 @@ static int xen_init(MachineState *ms) * opt out of system RAM being allocated by generic code */ mc->default_ram_id = NULL; + + xen_mode = XEN_ATTACH; return 0; } -- cgit v1.2.3