[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 0/12] HyperV equivalent of pvpanic driver
From: |
Denis V. Lunev |
Subject: |
[Qemu-devel] [PATCH v5 0/12] HyperV equivalent of pvpanic driver |
Date: |
Thu, 2 Jul 2015 19:07:43 +0300 |
Windows 2012 guests can notify hypervisor about occurred guest crash
(Windows bugcheck(BSOD)) by writing specific Hyper-V msrs. This patch does
handling of this MSR's by KVM and sending notification to user space that
allows to gather Windows guest crash dump by QEMU/LIBVIRT.
The idea is to provide functionality equal to pvpanic device without
QEMU guest agent for Windows.
The idea is borrowed from Linux HyperV bus driver and validated against
Windows 2k12.
Changes from v4:
* fixed typo in email of Andreas Färber <address@hidden>
my vim strangely behaves on lines with extended Deutch chars
Changes from v3:
* remove unused HV_X64_MSR_CRASH_CTL_NOTIFY
* added documentation section about KVM_SYSTEM_EVENT_CRASH
* allow only supported values inside crash ctl msr
* qemu: split patch into generic crash handling patches and hyperv specific
* qemu: skip migration of crash ctl msr value
Changes from v2:
* forbid modification crash ctl msr by guest
* qemu_system_guest_panicked usage in pvpanic and s390x
* hyper-v crash handler move from generic kvm to i386
* hyper-v crash handler: skip fetching crash msrs just mark crash occured
* sync with linux-next 20150629
* patch 11 squashed to patch 10
* patch 9 squashed to patch 7
Changes from v1:
* hyperv code move to hyperv.c
* added read handlers of crash data msrs
* added per vm and per cpu hyperv context structures
* added saving crash msrs inside qemu cpu state
* added qemu fetch and update of crash msrs
* added qemu crash msrs store in cpu state and it's migration
Signed-off-by: Andrey Smetanin <address@hidden>
Signed-off-by: Denis V. Lunev <address@hidden>
CC: Gleb Natapov <address@hidden>
CC: Paolo Bonzini <address@hidden>
- [Qemu-devel] [PATCH v5 0/12] HyperV equivalent of pvpanic driver,
Denis V. Lunev <=
- [Qemu-devel] [PATCH 03/12] kvm: add hyper-v crash msrs values, Denis V. Lunev, 2015/07/02
- [Qemu-devel] [PATCH 04/12] kvm/x86: added hyper-v crash msrs into kvm hyperv context, Denis V. Lunev, 2015/07/02
- [Qemu-devel] [PATCH 02/12] kvm: introduce vcpu_debug = kvm_debug + vcpu context, Denis V. Lunev, 2015/07/02
- [Qemu-devel] [PATCH 06/12] kvm/x86: mark hyper-v crash msrs as partition wide, Denis V. Lunev, 2015/07/02
- [Qemu-devel] [PATCH 01/12] kvm/x86: move Hyper-V MSR's/hypercall code into hyperv.c file, Denis V. Lunev, 2015/07/02
- [Qemu-devel] [PATCH 10/12] qemu/kvm: added kvm system event crash handler, Denis V. Lunev, 2015/07/02
- [Qemu-devel] [PATCH 07/12] kvm/x86: added hyper-v crash data and ctl msr's get/set'ers, Denis V. Lunev, 2015/07/02
- [Qemu-devel] [PATCH 11/12] qemu: add crash_occurred flag into CPUState, Denis V. Lunev, 2015/07/02