« Previous | Next » 

Revision c5999bfc


Added by Jan Kiszka almost 11 years ago

kvm: x86: Only read/write MSR_KVM_ASYNC_PF_EN if supported

If the kernel does not support KVM_CAP_ASYNC_PF, it also does not know
about the related MSR. So skip it during state synchronization in that
case. Fixes annoying kernel warnings.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Marcelo Tosatti <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences