]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: SVM: fix suspend/resume support
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 2 Jul 2008 14:02:11 +0000 (16:02 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:37 +0000 (12:42 +0300)
commit0da1db75a2feca54564add30828bab658982481c
tree7b4a148573e0e6df60682124b26de5d71af0fad3
parent180c12fb22bd17c7187ae1bce023d24a42b2980c
KVM: SVM: fix suspend/resume support

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>
arch/x86/kvm/svm.c