kvm, x86: Adding support for SE mode execution
This patch adds methods in KvmCPU model to handle KVM exits caused by syscall instructions and page faults. These types of exits will be encountered if KvmCPU is run in SE mode.
This commit is contained in:
@@ -59,8 +59,11 @@
|
||||
#define reserved4_func 0x58 // Reserved for user
|
||||
#define reserved5_func 0x59 // Reserved for user
|
||||
|
||||
#define work_begin_func 0x5a
|
||||
#define work_end_func 0x5b
|
||||
#define work_begin_func 0x5a
|
||||
#define work_end_func 0x5b
|
||||
|
||||
#define syscall_func 0x60 // Reserved for user
|
||||
#define pagefault_func 0x61 // Reserved for user
|
||||
|
||||
// These operations are for critical path annotation
|
||||
#define annotate_func 0x55
|
||||
|
||||
Reference in New Issue
Block a user