xref: /DragonOS/kernel/src/arch/x86_64/kvm/vmx/kvm_emulation.rs (revision 40314b30ab2a7e1fd06a05a00f693e644e446035)
1*40314b30SXiaoye Zheng // pub struct X86Exception {
2*40314b30SXiaoye Zheng // 	vector: u8,
3*40314b30SXiaoye Zheng // 	error_code_valid: bool,
4*40314b30SXiaoye Zheng // 	error_code: u16,
5*40314b30SXiaoye Zheng // 	// bool nested_page_fault;
6*40314b30SXiaoye Zheng // 	address: u64, /* cr2 or nested page fault gpa */
7*40314b30SXiaoye Zheng // }
8