AArch64 EL2 hypervisor for QEMU virt that boots at EL2
1

Configure Feed

Select the types of activity you want to include in your feed.

Record policy decision provenance in structured trap events

+6
+2
core/log.c
··· 133 133 uart_put_hex64(ev->result); 134 134 uart_puts(" action="); 135 135 uart_put_dec64(ev->action); 136 + uart_puts(" class="); 137 + uart_put_dec64(ev->policy_class); 136 138 uart_puts(" pstate="); 137 139 uart_put_hex64(ev->pstate); 138 140 uart_puts(" reason=");
+3
core/trap.c
··· 62 62 ev.action = action_to_log(decision->action); 63 63 ev.result = decision->value; 64 64 ev.reason = decision->reason; 65 + if (decision->entry != (const struct policy_entry *)0) { 66 + ev.policy_class = (uint32_t)decision->entry->access_class; 67 + } 65 68 } 66 69 ev.operand = operand; 67 70 log_event_commit(&ev);
+1
include/hv/log.h
··· 43 43 uint64_t result; 44 44 uint32_t action; 45 45 uint32_t reason; 46 + uint32_t policy_class; 46 47 uint64_t pstate; 47 48 const char *name; 48 49 };