commit | 0da1db75a2feca54564add30828bab658982481c | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Wed Jul 02 16:02:11 2008 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Sun Jul 20 12:42:37 2008 +0300 |
tree | 7b4a148573e0e6df60682124b26de5d71af0fad3 | |
parent | 180c12fb22bd17c7187ae1bce023d24a42b2980c [diff] |
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>