« Previous | Next » 

Revision c5999bfc

IDc5999bfcfdf66390c98115044cb6fd174fbcf36d

Added by Jan Kiszka over 13 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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences