@@ -694,6 +694,8 @@ enum VMEXIT_EXITCODE
VMEXIT_MONITOR = 138,
VMEXIT_MWAIT = 139,
VMEXIT_MWAIT_CONDITIONAL= 140,
+ VMEXIT_XSETBV = 141, /* 0x8d */
+ VMEXIT_RDPRU = 142, /* 0x8e */
VMEXIT_NPF = 1024, /* nested paging fault */
VMEXIT_INVALID = -1
};
@@ -853,6 +855,8 @@ const char * hvm_svm_exit_reason_name[HVM_SVM_EXIT_REASON_MAX] = {
"VMEXIT_MWAIT",
/* 140 */
"VMEXIT_MWAIT_CONDITIONAL",
+ "VMEXIT_XSETBV",
+ "VMEXIT_RDPRU",
[VMEXIT_NPF] = "VMEXIT_NPF", /* nested paging fault */
};
@@ -946,6 +950,8 @@ enum {
HVM_EVENT_TRAP,
HVM_EVENT_TRAP_DEBUG,
HVM_EVENT_VLAPIC,
+ HVM_EVENT_XCR_READ,
+ HVM_EVENT_XCR_WRITE,
HVM_EVENT_HANDLER_MAX
};
const char * hvm_event_handler_name[HVM_EVENT_HANDLER_MAX] = {
@@ -981,7 +987,9 @@ const char * hvm_event_handler_name[HVM_EVENT_HANDLER_MAX] = {
"realmode_emulate",
"trap",
"trap_debug",
- "vlapic"
+ "vlapic",
+ "xcr_read",
+ "xcr_write"
};
enum {
Basically this means adding VMEXIT strings for XSETBV exit, and adding the handlers and strings for them. Signed-off-by: George Dunlap <george.dunlap@cloud.com> --- tools/xentrace/xenalyze.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)