History

kvm/x86: add sending hyper-v crash notification to user space

Sending of notification is done by exiting vcpu to user space if KVM_REQ_HV_CRASH is enabled for vcpu. At exit to user space the kvm_run structure contains system_event with type KVM_SYSTEM_EVENT_CRASH to notify about guest crash occurred.

Andrey Smetanin committed 11 years ago

Commit 2ce79181 parent e7d95134 files · +13 −0Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/linux/kvm.h+1−0
@@ -317,6 +317,7 @@ struct kvm_run { · 316 unmodified lines
317 struct {317 struct {
318#define KVM_SYSTEM_EVENT_SHUTDOWN 1318#define KVM_SYSTEM_EVENT_SHUTDOWN 1
319#define KVM_SYSTEM_EVENT_RESET 2319#define KVM_SYSTEM_EVENT_RESET 2
320#define KVM_SYSTEM_EVENT_CRASH 3
320 __u32 type;321 __u32 type;
321 __u64 flags;322 __u64 flags;
322 } system_event;323 } system_event;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t