KVM: mark segments accessed on HW task switch
authorGleb Natapov <gleb@redhat.com>
Mon, 25 Jan 2010 10:01:04 +0000 (12:01 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:36:06 +0000 (12:36 -0300)
commite01c2426149d70dc6dd46ad0453195656b6eeaa4
tree84c9e16ac21c7a78c3aa1f6308adfa26c6c742a4
parent81231c698a71af6e1815df72c06685d295e1cc1d
KVM: mark segments accessed on HW task switch

On HW task switch newly loaded segments should me marked as accessed.

Reported-by: Lorenzo Martignoni <martignlo@gmail.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c