vmx.c (243650) | vmx.c (243651) |
---|---|
1/*- 2 * Copyright (c) 2011 NetApp, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 1289 unchanged lines hidden (view full) --- 1298 gla = vmcs_gla(); 1299 gpa = vmcs_gpa(); 1300 cr3 = vmcs_guest_cr3(); 1301 handled = vmx_ept_fault(vmx->vm, vcpu, gla, gpa, 1302 vmexit->rip, vmexit->inst_length, 1303 cr3, qual, &vmexit->u.paging.vie); 1304 if (!handled) { 1305 vmexit->exitcode = VM_EXITCODE_PAGING; | 1/*- 2 * Copyright (c) 2011 NetApp, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 1289 unchanged lines hidden (view full) --- 1298 gla = vmcs_gla(); 1299 gpa = vmcs_gpa(); 1300 cr3 = vmcs_guest_cr3(); 1301 handled = vmx_ept_fault(vmx->vm, vcpu, gla, gpa, 1302 vmexit->rip, vmexit->inst_length, 1303 cr3, qual, &vmexit->u.paging.vie); 1304 if (!handled) { 1305 vmexit->exitcode = VM_EXITCODE_PAGING; |
1306 vmexit->u.paging.cr3 = cr3; | |
1307 vmexit->u.paging.gpa = gpa; | 1306 vmexit->u.paging.gpa = gpa; |
1308 vmexit->u.paging.rwx = qual & 0x7; | |
1309 } 1310 break; 1311 default: 1312 break; 1313 } 1314 1315 if (handled) { 1316 /* --- 530 unchanged lines hidden --- | 1307 } 1308 break; 1309 default: 1310 break; 1311 } 1312 1313 if (handled) { 1314 /* --- 530 unchanged lines hidden --- |