From nobody Sun Feb 8 15:53:57 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1632861089; cv=none; d=zohomail.com; s=zohoarc; b=Mv8srOFO+0Zka6J1DlAYEoQnHxqrR3oFN/GS2ijnsa7nnBrlifeUcMBk5Cjs+bkE5RCxpDLXgPIghi+P69gxL+Y/NAuJUmb5NRb/sSNqpy1d1zPoV1iK3AIcMfyErsjnMgvLDThnMR/kk+IKgqHoKpiQ/3ESWZeCVnzEyl703Xk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632861089; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=iOTjHkk69+BVgT4XjnVLkopnx7Nv/jMSlcVqlEzwOf4=; b=NBxHCyE1LW7upy96kukbB+RqCLvlCI1E9EDFWerVx2u52PcNQJ1qm65LWH85ei+ZiBSxQ0MyGPoWpWnBwWohM1ToPlZlJ/NcV2TRse4nn4rkEvyeRRVcH0fAmpxTEht5T6qOvTRlMvnbUDUMK6QEcDqjX+DWPR4pF1aPo3GuUFA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1632861089976593.4851030586829; Tue, 28 Sep 2021 13:31:29 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.198420.351944 (Exim 4.92) (envelope-from ) id 1mVJky-0006H9-41; Tue, 28 Sep 2021 20:31:16 +0000 Received: by outflank-mailman (output) from mailman id 198420.351944; Tue, 28 Sep 2021 20:31:16 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mVJkx-0006Gl-Ta; Tue, 28 Sep 2021 20:31:15 +0000 Received: by outflank-mailman (input) for mailman id 198420; Tue, 28 Sep 2021 20:31:15 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mVJkx-0004O5-9D for xen-devel@lists.xenproject.org; Tue, 28 Sep 2021 20:31:15 +0000 Received: from mail-pj1-x102b.google.com (unknown [2607:f8b0:4864:20::102b]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 3abad95c-4747-4e64-8b3d-839af013ab0a; Tue, 28 Sep 2021 20:30:55 +0000 (UTC) Received: by mail-pj1-x102b.google.com with SMTP id on12-20020a17090b1d0c00b001997c60aa29so2589570pjb.1 for ; Tue, 28 Sep 2021 13:30:55 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:4c02:4c00::5]) by smtp.gmail.com with ESMTPSA id p15sm44201pfn.31.2021.09.28.13.30.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 13:30:54 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list X-Inumbo-ID: 3abad95c-4747-4e64-8b3d-839af013ab0a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iOTjHkk69+BVgT4XjnVLkopnx7Nv/jMSlcVqlEzwOf4=; b=ixGQGSdM1o7e/kVIG+47VRcbnwP/vXS0o8jMQexxab0GzYf8PJNNWViiyQKF52ALca j4oGXHHOTtMJzG5g/hLNhLFXTERigp4f+CI2c3e2jHPdxPnjKffk5O+HONJ3NHExE1iT ASJZTXQnJ0KGEZoDGy+1nw1ikTkNyxO7RsXqbJrVygFa84P2DxMDgGV6IvyUOZIy2SxH 8NqzI5MVwg8mOtj2ASKCAKWVxWdIg93BrmAPu828QfCrm7PF3et0N24cubRHJ+reX2wU sFmAcm0iJ1R5Rr7T2rgqIoOrfkm1tpl61hqGbGwH+0NrVbiKa4PcXY0WA2NI49/1R08M nTuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=iOTjHkk69+BVgT4XjnVLkopnx7Nv/jMSlcVqlEzwOf4=; b=d6tCFfaHEhxiEM1XI7AKx3oNc/JTSXMwNnWzM1kIioWBe5gUzFb/QxTKDD8cjI51tR Gx54k1pUi2Uc6Q0PKxGWMwJmoz0ljFqeZMGZFKoJBzZnSb7vOtriWKKJEO6iwE48Fous Wju90TSo7gLR4UcseRocEc5tzp0mIb+sMn+cnjkDmWyyS9KQV+ZBihIiUTjpyQ1gP2J2 KFP+iCZWJbaOMbIgZiOoe202BKZLilVlbVBnO9/HZadsBPFKi+S20wMDsxFZpst4dqXC EpXSdAOW53lXA4AGOJzu7BVDjRMQ7cxEZV4pZdCZsjxvE5lEUyVXzA+twPmR/Iu0/COR s10g== X-Gm-Message-State: AOAM53305xQd0LINvXmensioMEeiAyZvUj88ecK14ykhww+N5Ryc1XbC Z6EiRKSzdOCy9kMG4IrHV4OBtpqqKHHN3C99 X-Google-Smtp-Source: ABdhPJymLtx9yWhdUPkYTejlM8Zfr8ITa+y4p33yqB84Ts+javy1zYt7RsZzAu8n9wjVBBspMqjfpg== X-Received: by 2002:a17:902:bf8c:b0:13e:2b58:c2af with SMTP id v12-20020a170902bf8c00b0013e2b58c2afmr6916505pls.74.1632861054943; Tue, 28 Sep 2021 13:30:54 -0700 (PDT) Sender: Bobby Eshleman From: Bobby Eshleman To: xen-devel@lists.xenproject.org Cc: Bobby Eshleman , Stefano Stabellini , Julien Grall , Volodymyr Babchuk , Jan Beulich , Andrew Cooper , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Wei Liu , Elena Ufimtseva , George Dunlap , Ian Jackson Subject: [PATCH v4 5/6] arch/x86: move domain_pause_for_debugger() to domain.h Date: Tue, 28 Sep 2021 13:30:28 -0700 Message-Id: <5de82c39ffae1d65c8ab7142b05d304f9d4ddae9.1632860589.git.bobby.eshleman@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1632861091811100001 Content-Type: text/plain; charset="utf-8" domain_pause_for_debugger() was previously in debugger.h. This commit moves it to domain.h because its implementation is in domain.c. Signed-off-by: Bobby Eshleman Reviewed-by: Andrew Cooper --- Changes in v3: - domain_pause_for_debugger() is now moved into debugger.h, not a new file debugger.c Changes in v4: - Don't unnecessarily include xen/arch/x86/nmi.c | 1 - xen/arch/x86/traps.c | 1 - xen/include/asm-x86/debugger.h | 2 -- xen/include/asm-x86/domain.h | 2 ++ 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/xen/arch/x86/nmi.c b/xen/arch/x86/nmi.c index ab94a96c4d..11d5f5a917 100644 --- a/xen/arch/x86/nmi.c +++ b/xen/arch/x86/nmi.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include =20 diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c index 772e2a5bfc..742fa9e2ca 100644 --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -62,7 +62,6 @@ #include #include #include -#include #include #include #include diff --git a/xen/include/asm-x86/debugger.h b/xen/include/asm-x86/debugger.h index ed4d5c829b..8f6222956e 100644 --- a/xen/include/asm-x86/debugger.h +++ b/xen/include/asm-x86/debugger.h @@ -26,8 +26,6 @@ #include #include =20 -void domain_pause_for_debugger(void); - #ifdef CONFIG_CRASH_DEBUG =20 #include diff --git a/xen/include/asm-x86/domain.h b/xen/include/asm-x86/domain.h index 92d54de0b9..de854b5bfa 100644 --- a/xen/include/asm-x86/domain.h +++ b/xen/include/asm-x86/domain.h @@ -672,6 +672,8 @@ void update_guest_memory_policy(struct vcpu *v, =20 void domain_cpu_policy_changed(struct domain *d); =20 +void domain_pause_for_debugger(void); + bool update_runstate_area(struct vcpu *); bool update_secondary_system_time(struct vcpu *, struct vcpu_time_info *); --=20 2.32.0