From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: [PATCH] KVM: Document KVM_NMI Date: Tue, 6 Dec 2011 22:50:43 +0200 Message-ID: <1323204643-17373-1-git-send-email-levinsasha928@gmail.com> Cc: Sasha Levin , Avi Kivity , Marcelo Tosatti , kvm@vger.kernel.org To: linux-kernel@vger.kernel.org Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Cc: Avi Kivity Cc: Marcelo Tosatti Cc: kvm@vger.kernel.org Signed-off-by: Sasha Levin --- Documentation/virtual/kvm/api.txt | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index 7945b0b..0b7b8f2 100644 --- a/Documentation/virtual/kvm/api.txt +++ b/Documentation/virtual/kvm/api.txt @@ -1450,6 +1450,19 @@ is supported; 2 if the processor requires all virtual machines to have an RMA, or 1 if the processor can use an RMA but doesn't require it, because it supports the Virtual RMA (VRMA) facility. +4.64 KVM_NMI + +Capability: basic +Architectures: none +Type: vcpu ioctl +Parameters: none +Returns: 0 on success, -1 on error + +Trigger an NMI on the specified VCPU. + +This can be used to cause a panic in the guest, which in turn would result +in a backtrace/dump. + 5. The kvm_run structure Application code obtains a pointer to the kvm_run structure by -- 1.7.8