From nobody Sun Dec 22 03:27:08 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1732874362545464.0491438545607; Fri, 29 Nov 2024 01:59:22 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 692E519CF; Fri, 29 Nov 2024 04:59:21 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 4F5851966; Fri, 29 Nov 2024 04:59:07 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 57FF81539; Fri, 29 Nov 2024 04:59:04 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id CEE221949 for ; Fri, 29 Nov 2024 04:59:03 -0500 (EST) Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-185-F8MjPAfmMFW9Zt6MlIy85g-1; Fri, 29 Nov 2024 04:59:02 -0500 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5E75619560A5 for ; Fri, 29 Nov 2024 09:59:01 +0000 (UTC) Received: from cash.home.annexia.org (unknown [10.42.28.6]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id AEDC31955F41 for ; Fri, 29 Nov 2024 09:59:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732874343; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HYZEkz6AV8e+gQQLSOMD/WtgaJUT8PGDzc/sGuxqdWQ=; b=R79B30VE//b2ZoJETFcNsoOV17nUcpCRNcnX8cKgAKPRp6nwLZU1Srs0mcbYosEQGFIc1C QQ/vrSR7QgxYRsUykxGe8NWFhqIEISrZI9XinWLKkmN5vwdE+Bx0SjwHtFE4x0C7mNy5z9 UYDe/6ZybUgEB9vmEvmrO3aIfJiesWI= X-MC-Unique: F8MjPAfmMFW9Zt6MlIy85g-1 X-Mimecast-MFC-AGG-ID: F8MjPAfmMFW9Zt6MlIy85g From: "Richard W.M. Jones" To: devel@lists.libvirt.org Subject: [PATCH] docs: Document how to enable coredumps for session qemu Date: Fri, 29 Nov 2024 09:58:55 +0000 Message-ID: <20241129095858.3864370-1-rjones@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Sz0P0l-Y7iYmr7y1XLcGSoiur75WHS6GFefGaxs9qa4_1732874341 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: HX6DL3JSAAS26P3GRVAHGRF6BTSJNALP X-Message-ID-Hash: HX6DL3JSAAS26P3GRVAHGRF6BTSJNALP X-MailFrom: rjones@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732874363265019100 Content-Type: text/plain; charset="utf-8" Thanks: Daniel P. Berrang=C3=A9 Signed-off-by: Richard W.M. Jones --- docs/kbase/qemu-core-dump.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/kbase/qemu-core-dump.rst b/docs/kbase/qemu-core-dump.rst index 5c3781cf90..4bd3ff0b9d 100644 --- a/docs/kbase/qemu-core-dump.rst +++ b/docs/kbase/qemu-core-dump.rst @@ -53,6 +53,13 @@ that may get interrupted. In particular long running job= s like live migration or block device copy jobs may abort. It is thus wise to check that the host is mostly idle before restarting the daemons. =20 +Session mode qemu +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +For session mode (non-root) qemu, you have to create a new file called +``$HOME/.config/libvirt/qemu.conf``, add the line(s) above, and kill +the user ``virtqemud`` instance. + Guest core dump configuration =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =20 --=20 2.46.0