summaryrefslogtreecommitdiff
path: root/Documentation/dmaengine
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-07-07 15:32:17 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2015-07-10 14:25:26 +0300
commit3c2e7f7de3240216042b61073803b61b9b3cfb22 (patch)
tree36e8e5595161f582836a91cd34caf19b15d2cb18 /Documentation/dmaengine
parent5544eb9b81940647b8fad1f251b37cbe2819ce44 (diff)
downloadlinux-3c2e7f7de3240216042b61073803b61b9b3cfb22.tar.xz
KVM: SVM: use NPT page attributes
Right now, NPT page attributes are not used, and the final page attribute depends solely on gPAT (which however is not synced correctly), the guest MTRRs and the guest page attributes. However, we can do better by mimicking what is done for VMX. In the absence of PCI passthrough, the guest PAT can be ignored and the page attributes can be just WB. If passthrough is being used, instead, keep respecting the guest PAT, and emulate the guest MTRRs through the PAT field of the nested page tables. The only snag is that WP memory cannot be emulated correctly, because Linux's default PAT setting only includes the other types. Tested-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/dmaengine')
0 files changed, 0 insertions, 0 deletions