[PATCH v2 1/3] KVM: x86: prevent MWAIT in guest with buggy MONITOR

2017-11-29 Thread Radim Krčmář
The bug prevents MWAIT from waking up after a write to the monitored cache line. KVM might emulate a CPU model that shouldn't have the bug, so the guest would not employ a workaround and possibly miss wakeups. Better to avoid the situation. Reviewed-by: Alexander Graf

[PATCH v2 1/3] KVM: x86: prevent MWAIT in guest with buggy MONITOR

2017-11-29 Thread Radim Krčmář
The bug prevents MWAIT from waking up after a write to the monitored cache line. KVM might emulate a CPU model that shouldn't have the bug, so the guest would not employ a workaround and possibly miss wakeups. Better to avoid the situation. Reviewed-by: Alexander Graf Signed-off-by: Radim Krčmář