|
@@ -245,7 +245,7 @@ err:
|
|
walker->error_code |= PFERR_WRITE_MASK;
|
|
walker->error_code |= PFERR_WRITE_MASK;
|
|
if (user_fault)
|
|
if (user_fault)
|
|
walker->error_code |= PFERR_USER_MASK;
|
|
walker->error_code |= PFERR_USER_MASK;
|
|
- if (fetch_fault)
|
|
|
|
|
|
+ if (fetch_fault && is_nx(vcpu))
|
|
walker->error_code |= PFERR_FETCH_MASK;
|
|
walker->error_code |= PFERR_FETCH_MASK;
|
|
if (rsvd_fault)
|
|
if (rsvd_fault)
|
|
walker->error_code |= PFERR_RSVD_MASK;
|
|
walker->error_code |= PFERR_RSVD_MASK;
|