Re: KVM: How does is PAT emulation supposed to work?

2015-04-17 Thread Jan Kiszka
On 2015-04-17 18:43, Radim Krčmář wrote: 2015-04-13 07:16+0200, Jan Kiszka: PS: If someone has a good idea for a simple test case on machines without IOMMU (like my current boxes), thus without a chance to use device pass-through to stress guest PAT settings, I would be all ears. Not a good

Re: KVM: How does is PAT emulation supposed to work?

2015-04-17 Thread Radim Krčmář
2015-04-13 07:16+0200, Jan Kiszka: Hi all, while digging into the PAT topic for Jailhouse, I also wondered how KVM deals with it. And I'm still not getting it complete - or there is a bug: KVM intercepts all guest writes to the PAT MSR and instead keeps the guest value in vcpu-arch.pat.

Re: KVM: How does is PAT emulation supposed to work?

2015-04-17 Thread Radim Krčmář
2015-04-17 19:12+0200, Jan Kiszka: On 2015-04-17 18:43, Radim Krčmář wrote: 2015-04-13 07:16+0200, Jan Kiszka: PS: If someone has a good idea for a simple test case on machines without IOMMU (like my current boxes), thus without a chance to use device pass-through to stress guest PAT

KVM: How does is PAT emulation supposed to work?

2015-04-12 Thread Jan Kiszka
Hi all, while digging into the PAT topic for Jailhouse, I also wondered how KVM deals with it. And I'm still not getting it complete - or there is a bug: KVM intercepts all guest writes to the PAT MSR and instead keeps the guest value in vcpu-arch.pat. But, besides returning that value back on