Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1186347 > unrolled thread
| Started by | Andy Lutomirski <luto@kernel.org> |
|---|---|
| First post | 2015-07-17 02:40 +0200 |
| Last post | 2015-07-17 02:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 2/4] KVM: SVM: use NPT page attributes Andy Lutomirski <luto@kernel.org> - 2015-07-17 02:40 +0200
| From | Andy Lutomirski <luto@kernel.org> |
|---|---|
| Date | 2015-07-17 02:40 +0200 |
| Subject | Re: [PATCH 2/4] KVM: SVM: use NPT page attributes |
| Message-ID | <pN1QZ-6aW-9@gated-at.bofh.it> |
On 07/07/2015 06:45 AM, Paolo Bonzini wrote: > 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. > As of quite recently, Linux understands that the PAT has eight slots, and we can probably give you WP. Do you want it? --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web