KVM: x86: release time_page on vcpu destruction
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 25 Feb 2009 15:08:31 +0000 (16:08 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 22 Apr 2009 10:52:10 +0000 (13:52 +0300)
commit7f1ea208968f021943d4103ba59e06bb6d8239cb
tree1827ac4801b5b9c5bb69f921b60ab6747593beae
parent4cd481f68dde99ac416003b825c835f71e364393
KVM: x86: release time_page on vcpu destruction

Not releasing the time_page causes a leak of that page or the compound
page it is situated in.

Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c