From patchwork Fri Jan 29 10:59:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 373311 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp2099134jam; Fri, 29 Jan 2021 03:17:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJwfypcylGKO0sLF64R8xiCQhU8JUoZRq2Zx3uJQv3NAidWgmL2MdGnFghRTP3YNgafoeDNB X-Received: by 2002:a25:24d7:: with SMTP id k206mr2199903ybk.68.1611919065225; Fri, 29 Jan 2021 03:17:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611919065; cv=none; d=google.com; s=arc-20160816; b=ZRHi5mEgmxhTY39+wJOyhBibsIC5TWfeBOr3z7GUQNo+u2ttRaTwNIseU9YQHIPGC1 VgIwUkT28ZPWE5JsIcYpuSa7/d7UIkXze7JEgteetZCdwEOUxHR1y5ETb3dNrYk41Gm/ /0ruKJrs3rNF0Zm+DqJ864lG52E2nCBQ83k71pKjzFh1fUMbyK9rIG58rm2FmzxPP+CS X84sziGBnXq7VJcf36RHk1QD6cLDbX59sj8TPHaGeefOab4555ZTv8989tUxtORD9Js0 FjPYbQ7S0Jp2cW5HyCFe4nR8kYGa9DLpe4g2/v5UUf1/eX66GEwwFj2rDcblHeTWf4Vo ELoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=4xSrwZi/LBTckPDqAvRCIzHfsu5xqT3tP56Jtyc9pH4=; b=QFIuM8jJN/lfxgIX/nRq7isCj9gielEbF0vfy2M4fR9CxjOAOkkkis9ny3sboPljK9 PDiuRdQ6lNC7XXX7cPMy1GWNAYAUqTI5ldvZAYuiS2ARDRBHnV87kKKw/jVLmSGyqF3C RJcqsehDlK2NWRwTOdh2LU8TnRQSFHgNRfSf5HzW6WH0TSj8xO4OkbqYhBWgZezi1rqD lkNxhysSq3tKYniMHmiw2ohNFLAbsjf41rDtwZK5qkddLHIyQZi64mv9KvkQZZeykjQY mzEdmNVslXQdQlfI5oIfFywJqa81nw8AGIpRslqaHelGbWl0RsaT7PB704nZqCyoKcF6 zYgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MnhpmToQ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s4si7883711ybm.126.2021.01.29.03.17.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Jan 2021 03:17:45 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MnhpmToQ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:60200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5Rma-0002rS-O4 for patch@linaro.org; Fri, 29 Jan 2021 06:17:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5RWH-0004um-BW for qemu-devel@nongnu.org; Fri, 29 Jan 2021 06:00:53 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:34318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5RVz-00070W-3d for qemu-devel@nongnu.org; Fri, 29 Jan 2021 06:00:53 -0500 Received: by mail-wm1-x329.google.com with SMTP id o10so6795283wmc.1 for ; Fri, 29 Jan 2021 03:00:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=4xSrwZi/LBTckPDqAvRCIzHfsu5xqT3tP56Jtyc9pH4=; b=MnhpmToQcf4DC70KBjralQqwDnb6WT8+bb3WjOXTpDGB7OkL5Q8WuhE+Q/BrFsab3L xuecy7DcjEWrQ/4OyZCBF7rLbqa7K/ow5vT3ox0vhV9AqSNvI7y+2Ue4+0inyKTXVgkw cd4doj6XAEAHoV/gVq03tf+RBtNYkAG2EraucScNHs2dgOrdC4NR85M1w8/G4VQXWval 99Z89P0W+4HimBnP0IVUtVX5jE9nJkld/tEA6w07D2X/Vx5wrEwV6UQSRizfGkP9Hje6 4LnUZZuBnFFr793VENiHlzoxUZsisZ3Tf4EsgrVb5UBs20y+NRoevf6Zpj3vHbD32u89 uQ1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4xSrwZi/LBTckPDqAvRCIzHfsu5xqT3tP56Jtyc9pH4=; b=qpOB09cy6IrQiFWRGmEPb0uV6h3Rd9s1OWQJgyZhghtC5JFQ7RA7MuSJeWDjTZaNig h3VDRJvCgY1pxr8OMx6GpsmztJmHXshMa7lHBU7+MlI5KQXZAo3V+e9tUIuGcqK3KobG 7eZLq2xP/ARQf4yCHgMaBaOJbJ1VvwDHJkhrERqaImgtY+lMDy+QSK2hEvy5/CTkY3io Kdd46z5FIqw8/PKUo7UbrHs7kNG9PDJOvXPLx/cSZqLp4Y0aliEwqR5pgo5Bi36wrn1d LJJbp7vXvhQVD7pUHdxWh/LhlOWaQ2eZ+enxXJnD9D9UkuSVeOif3FVMcWajaBDAPZLz Uq3w== X-Gm-Message-State: AOAM5326LW6m14HiPmX6KUKMPbXaYfXbMrfQz3oAmgNRt4QGQpNSxTx0 Cz7YatvcgqHnn97m8XYtpv6dO+IjTcnugQ== X-Received: by 2002:a7b:ce17:: with SMTP id m23mr3231240wmc.178.1611918033365; Fri, 29 Jan 2021 03:00:33 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id w20sm9268761wmm.12.2021.01.29.03.00.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jan 2021 03:00:32 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 20/46] pvpanic : update pvpanic spec document Date: Fri, 29 Jan 2021 10:59:46 +0000 Message-Id: <20210129110012.8660-21-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210129110012.8660-1-peter.maydell@linaro.org> References: <20210129110012.8660-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x329.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Mihai Carabas Add pvpanic PCI device support details in docs/specs/pvpanic.txt. Signed-off-by: Mihai Carabas Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- docs/specs/pvpanic.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) -- 2.20.1 diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt index a90fbca72b7..8afcde11cc8 100644 --- a/docs/specs/pvpanic.txt +++ b/docs/specs/pvpanic.txt @@ -1,7 +1,7 @@ PVPANIC DEVICE ============== -pvpanic device is a simulated ISA device, through which a guest panic +pvpanic device is a simulated device, through which a guest panic event is sent to qemu, and a QMP event is generated. This allows management apps (e.g. libvirt) to be notified and respond to the event. @@ -9,6 +9,9 @@ The management app has the option of waiting for GUEST_PANICKED events, and/or polling for guest-panicked RunState, to learn when the pvpanic device has fired a panic event. +The pvpanic device can be implemented as an ISA device (using IOPORT) or as a +PCI device. + ISA Interface ------------- @@ -24,6 +27,14 @@ bit 1: a guest panic has happened and will be handled by the guest; the host should record it or report it, but should not affect the execution of the guest. +PCI Interface +------------- + +The PCI interface is similar to the ISA interface except that it uses an MMIO +address space provided by its BAR0, 1 byte long. Any machine with a PCI bus +can enable a pvpanic device by adding '-device pvpanic-pci' to the command +line. + ACPI Interface --------------