HyperV equivalent of pvpanic driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest12 patches 9 repliesIn review
- v512 patches 4 repliesSuperseded
- v48 of 12 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 9 patches | 21 replies | Superseded | |
| v2 | 11 patches | 19 replies | Superseded | |
| v1 | 2 patches | 7 replies | Superseded |
Changes in v6 from the cover letter
* added hyperv crash msrs into supported/emulated list
* qemu: reset CPUState::crash_occurred at cpu reset
* qemu: userspace checks kernel support of hyperv crash msrs by kvm_get_supported_msrs
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | kvm/x86: move Hyper-V MSR's/hypercall code into hyperv.c filearch/ arch/ arch/ +4 more | +366 | 0 replies | |
| 2/12 | kvm: introduce vcpu_debug = kvm_debug + vcpu contextinclude/ | +3 | 0 replies | |
| 3/12 | kvm: add hyper-v crash msrs valuesarch/ | +11 | 0 replies | |
| 4/12 | kvm/x86: added hyper-v crash msrs into kvm hyperv contextarch/ | +4 | 0 replies | |
| 5/12 | kvm: added KVM_REQ_HV_CRASH value to notify qemu about hyper-v crashinclude/ | +1 | 0 replies | |
| 6/12 | kvm/x86: mark hyper-v crash msrs as partition widearch/ | +2 | 0 replies | |
| 7/12 | kvm/x86: added hyper-v crash data and ctl msr's get/set'ersarch/ arch/ arch/ | +80 | 2 replies | |
| 8/12 | kvm/x86: add sending hyper-v crash notification to user spaceDocumentation/ arch/ include/ | +12 | 0 replies | |
| 9/12 | Added generic panic handler qemu_system_guest_panicked()hw/ include/ target-s390x/ +1 more | +10 | 0 replies | |
| 10/12 | kvm: Add kvm system event crash handlerkvm-all.c linux-headers/ | +5 | 0 replies | |
| 11/12 | cpu: Add crash_occurred flag into CPUStateexec.c include/ qom/ +1 more | +24 | 1 reply | |
| 12/12 | i386/kvm: Hyper-v crash msrs set/get'ers and migrationlinux-headers/ target-i386/ target-i386/ +3 more | +75 | 2 replies |
Reviews trailers per patch
8 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Peter Hornyack |
|---|---|
| 1/12 | R-b |
| 2/12 | R-b |
| 3/12 | R-b |
| 4/12 | R-b |
| 5/12 | R-b |
| 6/12 | R-b |
| 7/12 | R-b |
| 8/12 | R-b |
| 9/12 | |
| 10/12 | |
| 11/12 | |
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/12] HyperV equivalent of pvpanic driver
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 v5:
* added hyperv crash msrs into supported/emulated list
* qemu: reset CPUState::crash_occurred at cpu reset
* qemu: userspace checks kernel support of hyperv crash msrs by kvm_get_supported_msrs
Changes from v4:
* fixed typo in email of Andreas Färber <[email protected]> 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 occurred
* 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