diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-01-21 21:48:22 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-01-23 02:27:22 -0200 |
commit | c5999bfcfdf66390c98115044cb6fd174fbcf36d (patch) | |
tree | 26c063d765cabca38b4ee8b72ccaece253b62616 /envlist.c | |
parent | d8f771d9124e9a295b564d47d7546d93e844b526 (diff) | |
download | qemu-c5999bfcfdf66390c98115044cb6fd174fbcf36d.zip qemu-c5999bfcfdf66390c98115044cb6fd174fbcf36d.tar.gz qemu-c5999bfcfdf66390c98115044cb6fd174fbcf36d.tar.bz2 |
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 <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'envlist.c')
0 files changed, 0 insertions, 0 deletions