From 26a8fa494f2f323622b6928bd15921b41818f180 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Thu, 29 Oct 2020 12:03:43 +0000 Subject: [PATCH] x86/pv: Drop stale comment in dom0_construct_pv() This comment was introduced by c/s 22a857bde9b8 in 2003, and became stale with c/s 99db02d50976 also in 2003. Both of these predate the introduction of struct vcpu, when the processor field moved object. 17 years is long enough for this comment to be mis-informing people reading the code. Signed-off-by: Andrew Cooper Acked-by: Jan Beulich --- xen/arch/x86/pv/dom0_build.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/x86/pv/dom0_build.c b/xen/arch/x86/pv/dom0_build.c index d79503d6a9..f7165309a2 100644 --- a/xen/arch/x86/pv/dom0_build.c +++ b/xen/arch/x86/pv/dom0_build.c @@ -616,7 +616,6 @@ int __init dom0_construct_pv(struct domain *d, v->arch.pv.event_callback_cs = FLAT_COMPAT_KERNEL_CS; } - /* WARNING: The new domain must have its 'processor' field filled in! */ if ( !is_pv_32bit_domain(d) ) { maddr_to_page(mpt_alloc)->u.inuse.type_info = PGT_l4_page_table; -- 2.30.2