From nobody Mon Feb 9 03:14:45 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1595510589; cv=none; d=zohomail.com; s=zohoarc; b=HRppDN5QyCGagB+93OBoeT6Vp0rXjWvhpMMOu0AAUAqWFU030V5OpeqHzC+MyuPFOVanx/yWNdP64+x5sUnGrXPBsC8vCiPLKn5qGubCjhbDxUBBqOwYeZAprxWm11IXXn+FaINGhKgkfJgdnT3p+uvzaG/8e4mORSa+7yP844g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595510589; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=CgBE8vpKOODIr6pQRsf24LYqFn+CQtmDlgaUrf2K/oA=; b=mzaGH/SMbmCvY/V3Dynb1WcVw4mmWfJ+JbWVP8NqsYna7nEFvN7zTEpX1lilcM/MeobmU+QjZWWP7ZC+TK5TVpV6ya7/5Zcdd3VTWI1AjpPjPR77K/RCfgLvtlFrX4RNZGDj2+D/oyaQ3dn79jNhDPaPWd0kvPNJIzsNAwEC16A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1595510589935999.6729156183496; Thu, 23 Jul 2020 06:23:09 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-472-0dv5fLYoMqS_bmq0DwS5GQ-1; Thu, 23 Jul 2020 09:22:49 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 77F9E80332D; Thu, 23 Jul 2020 13:22:42 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 598FB512FE; Thu, 23 Jul 2020 13:22:42 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 2A2A6A3599; Thu, 23 Jul 2020 13:22:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06NDMcYA028772 for ; Thu, 23 Jul 2020 09:22:38 -0400 Received: by smtp.corp.redhat.com (Postfix) id 12BD42DE9A; Thu, 23 Jul 2020 13:22:38 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.37]) by smtp.corp.redhat.com (Postfix) with ESMTP id 660C819930 for ; Thu, 23 Jul 2020 13:22:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595510588; h=from:from:sender:sender: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=CgBE8vpKOODIr6pQRsf24LYqFn+CQtmDlgaUrf2K/oA=; b=cQ7o59Bpn8nmbDKJdeel7DWPVs6OCq0j6zLnVUHCUcpARZZGPd3SeuinPQGZQyj571naaT 8kL9FIlf7F2M24vssB4acKF8B8/Wu1eSdfr6kHlxt+NzNY0HtX5NR3X5HuCUhWblWTHV/p dVay4Z8zeSGigAzxH0+BS/DarkcRRmA= X-MC-Unique: 0dv5fLYoMqS_bmq0DwS5GQ-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 28/32] docs: formatdomain-devices: Split out Date: Thu, 23 Jul 2020 15:21:33 +0200 Message-Id: <199bc905ff1949f190703c3f57320dfc503218b1.1595510131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Peter Krempa --- docs/formatdomain-devices-panic.rst | 44 +++++++++++++++++++++++++++ docs/formatdomain-devices.rst | 46 +---------------------------- docs/meson.build | 1 + 3 files changed, 46 insertions(+), 45 deletions(-) create mode 100644 docs/formatdomain-devices-panic.rst diff --git a/docs/formatdomain-devices-panic.rst b/docs/formatdomain-device= s-panic.rst new file mode 100644 index 0000000000..e0a2829e6c --- /dev/null +++ b/docs/formatdomain-devices-panic.rst @@ -0,0 +1,44 @@ +:anchor:`` + +panic device +~~~~~~~~~~~~ + +panic device enables libvirt to receive panic notification from a QEMU gue= st. +:since:`Since 1.2.1, QEMU and KVM only` + +This feature is always enabled for: + +- pSeries guests, since it's implemented by the guest firmware +- S390 guests, since it's an integral part of the S390 architecture + +For the guest types listed above, libvirt automatically adds a ``panic`` e= lement +to the domain XML. + +Example: usage of panic configuration + +:: + + ... + + + +
+ + + ... + +``model`` + The optional ``model`` attribute specifies what type of panic device is + provided. The panic model used when this attribute is missing depends o= n the + hypervisor and guest arch. + + - 'isa' - for ISA pvpanic device + - 'pseries' - default and valid only for pSeries guests. + - 'hyperv' - for Hyper-V crash CPU feature. :since:`Since 1.3.0, QEMU = and + KVM only` + - 's390' - default for S390 guests. :since:`Since 1.3.5` + +``address`` + address of panic. The default ioport is 0x505. Most users don't need to + specify an address, and doing so is forbidden altogether for s390, pser= ies + and hyperv models. diff --git a/docs/formatdomain-devices.rst b/docs/formatdomain-devices.rst index ce4c44af05..b629f128bc 100644 --- a/docs/formatdomain-devices.rst +++ b/docs/formatdomain-devices.rst @@ -60,51 +60,7 @@ following characters: ``[a-zA-Z0-9_-]``. :since:`Since 3= .9.0` .. include:: formatdomain-devices-rng.rst .. include:: formatdomain-devices-tpm.rst .. include:: formatdomain-devices-nvram.rst - -:anchor:`` - -panic device -~~~~~~~~~~~~ - -panic device enables libvirt to receive panic notification from a QEMU gue= st. -:since:`Since 1.2.1, QEMU and KVM only` - -This feature is always enabled for: - -- pSeries guests, since it's implemented by the guest firmware -- S390 guests, since it's an integral part of the S390 architecture - -For the guest types listed above, libvirt automatically adds a ``panic`` e= lement -to the domain XML. - -Example: usage of panic configuration - -:: - - ... - - - -
- - - ... - -``model`` - The optional ``model`` attribute specifies what type of panic device is - provided. The panic model used when this attribute is missing depends o= n the - hypervisor and guest arch. - - - 'isa' - for ISA pvpanic device - - 'pseries' - default and valid only for pSeries guests. - - 'hyperv' - for Hyper-V crash CPU feature. :since:`Since 1.3.0, QEMU = and - KVM only` - - 's390' - default for S390 guests. :since:`Since 1.3.5` - -``address`` - address of panic. The default ioport is 0x505. Most users don't need to - specify an address, and doing so is forbidden altogether for s390, pser= ies - and hyperv models. +.. include:: formatdomain-devices-panic.rst :anchor:`` diff --git a/docs/meson.build b/docs/meson.build index 73f413cd91..e8373ff2c7 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -145,6 +145,7 @@ docs_rst_files =3D [ 'formatdomain-devices-rng.rst', 'formatdomain-devices-tpm.rst', 'formatdomain-devices-nvram.rst', + 'formatdomain-devices-panic.rst', ] }, { 'name': 'hacking' }, --=20 2.26.2