]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU audit: audit_mappings tweaks
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 10 Jun 2009 15:27:07 +0000 (12:27 -0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:54 +0000 (08:32 +0300)
commit2e55f8c8041f4cca479911066f90e25a3810f505
treebdd3804ee2c76136c914798850ed760be40e8dc8
parent66fb4721a53b4dcf7ff6bada1a06c0d98f3834bc
KVM: MMU audit: audit_mappings tweaks

- Fail early in case gfn_to_pfn returns is_error_pfn.
- For the pre pte write case, avoid spurious "gva is valid but spte is notrap"
  messages (the emulation code does the guest write first, so this particular
  case is OK).

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c