Re: [PATCH 0/7] KVM: x86: Let the guest write to multiple debug registers with one vmexit

2014-03-10 Thread Radim Krčmář
2014-03-07 12:42+0100, Paolo Bonzini: Alex Williamson reported that a Windows game does something weird that makes the guest save and restore debug registers on each context switch. This cause several hundred thousands vmexits per second, and basically cuts performance in half when running

Re: [PATCH 0/7] KVM: x86: Let the guest write to multiple debug registers with one vmexit

2014-03-09 Thread Jan Kiszka
On 2014-03-07 12:42, Paolo Bonzini wrote: Alex Williamson reported that a Windows game does something weird that makes the guest save and restore debug registers on each context switch. This cause several hundred thousands vmexits per second, and basically cuts performance in half when running

Re: [PATCH 0/7] KVM: x86: Let the guest write to multiple debug registers with one vmexit

2014-03-09 Thread Jan Kiszka
On 2014-03-09 09:11, Jan Kiszka wrote: On 2014-03-07 12:42, Paolo Bonzini wrote: Alex Williamson reported that a Windows game does something weird that makes the guest save and restore debug registers on each context switch. This cause several hundred thousands vmexits per second, and

Re: [PATCH 0/7] KVM: x86: Let the guest write to multiple debug registers with one vmexit

2014-03-09 Thread Paolo Bonzini
Il 09/03/2014 09:15, Jan Kiszka ha scritto: This looks good now to me from KVM perspective. I was just wondering how the case is handled that the host used debug registers on the thread the runs a VCPU? What if I set a hw breakpoint on its userspace path e.g.? What if I debug the kernel side

[PATCH 0/7] KVM: x86: Let the guest write to multiple debug registers with one vmexit

2014-03-07 Thread Paolo Bonzini
Alex Williamson reported that a Windows game does something weird that makes the guest save and restore debug registers on each context switch. This cause several hundred thousands vmexits per second, and basically cuts performance in half when running under KVM. However, when not running in