diff options
author | 2011-01-21 21:48:22 +0100 | |
---|---|---|
committer | 2011-01-23 02:27:22 -0200 | |
commit | c5999bfcfdf66390c98115044cb6fd174fbcf36d (patch) | |
tree | 26c063d765cabca38b4ee8b72ccaece253b62616 /net/tap-linux.c | |
parent | kvm: x86: Implicitly clear nmi_injected/pending on reset (diff) | |
download | qemu-c5999bfcfdf66390c98115044cb6fd174fbcf36d.tar.xz qemu-c5999bfcfdf66390c98115044cb6fd174fbcf36d.zip |
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 'net/tap-linux.c')
0 files changed, 0 insertions, 0 deletions