[PATCH] tcg/svm: use host cr4 during NPT page table walk

2020-06-29 Thread Alexander Boettcher
Hello, during a page table walk of TCG+SVM the code in target/i386/excp_helper.c get_hphys() uses the cr4 register of the guest instead of the hypervisor to check for the PSE bit. In the test case we have, the guest have not enabled (yet) the PSE bit and so the page table walk results in a wron

Re: [PATCH] tcg/svm: use host cr4 during NPT page table walk

2020-06-29 Thread Paolo Bonzini
On 29/06/20 15:25, Alexander Boettcher wrote: > Hello, > > during a page table walk of TCG+SVM the code in target/i386/excp_helper.c > get_hphys() uses the cr4 register of the guest instead of the hypervisor to > check for the PSE bit. In the test case we have, the guest have not enabled > (yet