On 02/09/2015 21:01, Sebastian Schütte wrote:
> I inserted some printk() lines into init_vmcb() around the call of
> svm_set_guest_pat() to print out the g_pat value as well as
> svm->vcpu.vcpu_id and noticed that something was off:
>
> Initially, the PATs of all VCPUs are set to
> do you get normal speed?
Nope, still slow... I somehow missed that svm_set_msr() calls
svm_set_guest_pat() as well, it does seem to properly change g_pat. The only
thing that catches my eyes is that later on all WT entries in g_pat are
replaced by WC (0x0007040600070406 ->
I inserted some printk() lines into init_vmcb() around the call of
svm_set_guest_pat() to print out the g_pat value as well as svm->vcpu.vcpu_id
and noticed that something was off:
Initially, the PATs of all VCPUs are set to 0x0606060606060606. However, after
attaching some devices (vfio-pci
Please try this:
Still no difference
I guess the trace_kvm_cr_write() call in that patch was supposed to
trigger kvm_cr entries while tracing? I couldn't find any, though, the
only entries containing cr within the output of trace-cmd report
were kvm_exit ones that looked quite similar to the
On 23/08/2015 11:53, Sebastian Schütte wrote:
What version of SeaBIOS?
1.8.2 stable, from the Arch repo
Can you try cherry-picking commit 5492830370171b6a4ede8a3bfba687a8d0f25fa5?
Tried that, but it doesn't seem to make a difference.
If that fails, can you trace the execution of the VM
https://bugzilla.kernel.org/show_bug.cgi?id=103321
Bug ID: 103321
Summary: NPT page attribute support causes extreme slowdown
Product: Virtualization
Version: unspecified
Kernel Version: 4.2-rc3+
Hardware: x86-64
OS: Linux