From: "Denis V. Lunev" <den@openvz.org> To: unlisted-recipients:; (no To-header on input) Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, Andrey Smetanin <asmetanin@virtuozzo.com>, "Denis V. Lunev" <den@openvz.org>, Paolo Bonzini <pbonzini@redhat.com>, Gleb Natapov <gleb@kernel.org> Subject: [PATCH 3/12] kvm: add hyper-v crash msrs values Date: Fri, 3 Jul 2015 15:01:36 +0300 [thread overview] Message-ID: <1435924905-8926-4-git-send-email-den@openvz.org> (raw) In-Reply-To: <1435924905-8926-1-git-send-email-den@openvz.org> From: Andrey Smetanin <asmetanin@virtuozzo.com> Added Hyper-V crash msrs values - HV_X64_MSR_CRASH*. Signed-off-by: Andrey Smetanin <asmetanin@virtuozzo.com> Signed-off-by: Denis V. Lunev <den@openvz.org> Reviewed-by: Peter Hornyack <peterhornyack@google.com> CC: Paolo Bonzini <pbonzini@redhat.com> CC: Gleb Natapov <gleb@kernel.org> --- arch/x86/include/uapi/asm/hyperv.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/x86/include/uapi/asm/hyperv.h b/arch/x86/include/uapi/asm/hyperv.h index ce6068d..8fba544 100644 --- a/arch/x86/include/uapi/asm/hyperv.h +++ b/arch/x86/include/uapi/asm/hyperv.h @@ -199,6 +199,17 @@ #define HV_X64_MSR_STIMER3_CONFIG 0x400000B6 #define HV_X64_MSR_STIMER3_COUNT 0x400000B7 +/* Hyper-V guest crash notification MSR's */ +#define HV_X64_MSR_CRASH_P0 0x40000100 +#define HV_X64_MSR_CRASH_P1 0x40000101 +#define HV_X64_MSR_CRASH_P2 0x40000102 +#define HV_X64_MSR_CRASH_P3 0x40000103 +#define HV_X64_MSR_CRASH_P4 0x40000104 +#define HV_X64_MSR_CRASH_CTL 0x40000105 +#define HV_X64_MSR_CRASH_CTL_NOTIFY (1ULL << 63) +#define HV_X64_MSR_CRASH_PARAMS \ + (1 + (HV_X64_MSR_CRASH_P4 - HV_X64_MSR_CRASH_P0)) + #define HV_X64_MSR_HYPERCALL_ENABLE 0x00000001 #define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_SHIFT 12 #define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_MASK \ -- 2.1.4
WARNING: multiple messages have this Message-ID (diff)
From: "Denis V. Lunev" <den@openvz.org> Cc: kvm@vger.kernel.org, Gleb Natapov <gleb@kernel.org>, qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>, Andrey Smetanin <asmetanin@virtuozzo.com>, "Denis V. Lunev" <den@openvz.org> Subject: [Qemu-devel] [PATCH 3/12] kvm: add hyper-v crash msrs values Date: Fri, 3 Jul 2015 15:01:36 +0300 [thread overview] Message-ID: <1435924905-8926-4-git-send-email-den@openvz.org> (raw) In-Reply-To: <1435924905-8926-1-git-send-email-den@openvz.org> From: Andrey Smetanin <asmetanin@virtuozzo.com> Added Hyper-V crash msrs values - HV_X64_MSR_CRASH*. Signed-off-by: Andrey Smetanin <asmetanin@virtuozzo.com> Signed-off-by: Denis V. Lunev <den@openvz.org> Reviewed-by: Peter Hornyack <peterhornyack@google.com> CC: Paolo Bonzini <pbonzini@redhat.com> CC: Gleb Natapov <gleb@kernel.org> --- arch/x86/include/uapi/asm/hyperv.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/x86/include/uapi/asm/hyperv.h b/arch/x86/include/uapi/asm/hyperv.h index ce6068d..8fba544 100644 --- a/arch/x86/include/uapi/asm/hyperv.h +++ b/arch/x86/include/uapi/asm/hyperv.h @@ -199,6 +199,17 @@ #define HV_X64_MSR_STIMER3_CONFIG 0x400000B6 #define HV_X64_MSR_STIMER3_COUNT 0x400000B7 +/* Hyper-V guest crash notification MSR's */ +#define HV_X64_MSR_CRASH_P0 0x40000100 +#define HV_X64_MSR_CRASH_P1 0x40000101 +#define HV_X64_MSR_CRASH_P2 0x40000102 +#define HV_X64_MSR_CRASH_P3 0x40000103 +#define HV_X64_MSR_CRASH_P4 0x40000104 +#define HV_X64_MSR_CRASH_CTL 0x40000105 +#define HV_X64_MSR_CRASH_CTL_NOTIFY (1ULL << 63) +#define HV_X64_MSR_CRASH_PARAMS \ + (1 + (HV_X64_MSR_CRASH_P4 - HV_X64_MSR_CRASH_P0)) + #define HV_X64_MSR_HYPERCALL_ENABLE 0x00000001 #define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_SHIFT 12 #define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_MASK \ -- 2.1.4
next prev parent reply other threads:[~2015-07-03 12:02 UTC|newest] Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-07-03 12:01 [PATCH v6 0/12] HyperV equivalent of pvpanic driver Denis V. Lunev 2015-07-03 12:01 ` [Qemu-devel] " Denis V. Lunev 2015-07-03 12:01 ` [PATCH 1/12] kvm/x86: move Hyper-V MSR's/hypercall code into hyperv.c file Denis V. Lunev 2015-07-03 12:01 ` [Qemu-devel] " Denis V. Lunev 2015-07-03 12:01 ` [PATCH 2/12] kvm: introduce vcpu_debug = kvm_debug + vcpu context Denis V. Lunev 2015-07-03 12:01 ` [Qemu-devel] " Denis V. Lunev 2015-07-03 12:01 ` Denis V. Lunev [this message] 2015-07-03 12:01 ` [Qemu-devel] [PATCH 3/12] kvm: add hyper-v crash msrs values Denis V. Lunev 2015-07-03 12:01 ` [PATCH 4/12] kvm/x86: added hyper-v crash msrs into kvm hyperv context Denis V. Lunev 2015-07-03 12:01 ` [Qemu-devel] " Denis V. Lunev 2015-07-03 12:01 ` [PATCH 5/12] kvm: added KVM_REQ_HV_CRASH value to notify qemu about hyper-v crash Denis V. Lunev 2015-07-03 12:01 ` [Qemu-devel] " Denis V. Lunev 2015-07-03 12:01 ` [PATCH 6/12] kvm/x86: mark hyper-v crash msrs as partition wide Denis V. Lunev 2015-07-03 12:01 ` [Qemu-devel] " Denis V. Lunev 2015-07-03 12:01 ` [PATCH 7/12] kvm/x86: added hyper-v crash data and ctl msr's get/set'ers Denis V. Lunev 2015-07-03 12:01 ` [Qemu-devel] " Denis V. Lunev 2015-08-19 0:41 ` Wanpeng Li 2015-08-19 0:41 ` [Qemu-devel] " Wanpeng Li 2015-08-19 0:47 ` Denis V. Lunev 2015-08-19 0:47 ` [Qemu-devel] " Denis V. Lunev 2015-07-03 12:01 ` [PATCH 8/12] kvm/x86: add sending hyper-v crash notification to user space Denis V. Lunev 2015-07-03 12:01 ` [Qemu-devel] " Denis V. Lunev 2015-07-03 12:01 ` [PATCH 09/12] Added generic panic handler qemu_system_guest_panicked() Denis V. Lunev 2015-07-03 12:01 ` [Qemu-devel] " Denis V. Lunev 2015-07-03 12:01 ` [PATCH 10/12] kvm: Add kvm system event crash handler Denis V. Lunev 2015-07-03 12:01 ` [Qemu-devel] " Denis V. Lunev 2015-07-03 12:01 ` [PATCH 11/12] cpu: Add crash_occurred flag into CPUState Denis V. Lunev 2015-07-03 12:01 ` [Qemu-devel] " Denis V. Lunev 2015-09-02 21:13 ` Paolo Bonzini 2015-09-02 21:13 ` [Qemu-devel] " Paolo Bonzini 2015-07-03 12:01 ` [PATCH 12/12] i386/kvm: Hyper-v crash msrs set/get'ers and migration Denis V. Lunev 2015-07-03 12:01 ` [Qemu-devel] " Denis V. Lunev 2015-07-07 10:19 ` Paolo Bonzini 2015-07-07 10:19 ` [Qemu-devel] " Paolo Bonzini 2015-07-07 10:21 ` Paolo Bonzini 2015-07-07 10:21 ` [Qemu-devel] " Paolo Bonzini 2015-07-07 10:20 ` [PATCH v6 0/12] HyperV equivalent of pvpanic driver Paolo Bonzini 2015-07-07 10:20 ` [Qemu-devel] " Paolo Bonzini 2015-08-12 11:54 ` Denis V. Lunev 2015-08-12 11:54 ` [Qemu-devel] " Denis V. Lunev 2015-08-12 12:47 ` Paolo Bonzini 2015-08-12 12:47 ` [Qemu-devel] " Paolo Bonzini 2015-08-12 13:22 ` Denis V. Lunev 2015-08-12 13:22 ` [Qemu-devel] " Denis V. Lunev -- strict thread matches above, loose matches on Subject: below -- 2015-07-02 16:01 [PATCH v4 " Denis V. Lunev 2015-07-02 16:01 ` [PATCH 3/12] kvm: add hyper-v crash msrs values Denis V. Lunev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1435924905-8926-4-git-send-email-den@openvz.org \ --to=den@openvz.org \ --cc=asmetanin@virtuozzo.com \ --cc=gleb@kernel.org \ --cc=kvm@vger.kernel.org \ --cc=pbonzini@redhat.com \ --cc=qemu-devel@nongnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.