1 #ifndef KVM__DEBUG_H 2 #define KVM__DEBUG_H 3 4 #include <linux/types.h> 5 6 #define KVM_DEBUG_CMD_TYPE_DUMP (1 << 0) 7 #define KVM_DEBUG_CMD_TYPE_NMI (1 << 1) 8 9 struct debug_cmd_params { 10 u32 dbg_type; 11 u32 cpu; 12 }; 13 14 struct debug_cmd { 15 u32 type; 16 u32 len; 17 struct debug_cmd_params params; 18 }; 19 20 int kvm_cmd_debug(int argc, const char **argv, const char *prefix); 21 void kvm_debug_help(void); 22 23 #endif 24