]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: SVM: fix suspend/resume support
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 23 Jul 2008 08:43:38 +0000 (11:43 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Aug 2008 19:42:59 +0000 (12:42 -0700)
commit88532fcf5415e2a895587f3330a4abbbc81e4c00
treea7c68ba85107ffa55d36e466c93d300ee9e8660b
parent82506d9bdf48fd15af526cc5c5518d9a1cda117e
KVM: SVM: fix suspend/resume support

Original-Commit-Hash: ab6267b708bec563891294488f2e854be404bdaf

On suspend the svm_hardware_disable function is called which frees all svm_data
variables. On resume they are not re-allocated. This patch removes the
deallocation of svm_data from the hardware_disable function to the
hardware_unsetup function which is not called on suspend.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/svm.c