diff options
| author | Paolo Bonzini <[email protected]> | 2022-02-10 07:33:38 -0500 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-04-29 12:49:55 -0400 |
| commit | 362505deb8e2ce27993a1dee0b3c5755d4d6646e (patch) | |
| tree | 24d7ab5693d56ec0e5ba33f7ac869e2cbaf6aadf /net/lapb/lapb_in.c | |
| parent | f417e1459a1299bb4984cbffc03d8746cab9f8a8 (diff) | |
KVM: x86/mmu: store shadow EFER.NX in the MMU role
Now that the MMU role is separate from the CPU role, it can be a
truthful description of the format of the shadow pages. This includes
whether the shadow pages use the NX bit; so force the efer_nx field
of the MMU role when TDP is disabled, and remove the hardcoding it in
the callers of reset_shadow_zero_bits_mask.
In fact, the initialization of reserved SPTE bits can now be made common
to shadow paging and shadow NPT; move it to shadow_mmu_init_context.
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions