aboutsummaryrefslogtreecommitdiff
path: root/audio/noaudio.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-01-21 21:48:22 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2011-01-23 02:27:22 -0200
commitc5999bfcfdf66390c98115044cb6fd174fbcf36d (patch)
tree26c063d765cabca38b4ee8b72ccaece253b62616 /audio/noaudio.c
parentd8f771d9124e9a295b564d47d7546d93e844b526 (diff)
downloadqemu-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 'audio/noaudio.c')
0 files changed, 0 insertions, 0 deletions