KVM: Consolidate load/save temporary buffer allocation and freeing
authorAvi Kivity <avi@redhat.com>
Sun, 20 Jun 2010 12:54:43 +0000 (15:54 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:46:57 +0000 (10:46 +0300)
commitd1ac91d8a2f00dc6a3954f7e8971339b0893edc4
tree4748e076b42e4aacdd4ad6cc9d5741d384bf826b
parenta1a005f36e0defea7c5490772c318c6af2261d31
KVM: Consolidate load/save temporary buffer allocation and freeing

Instead of three temporary variables and three free calls, have one temporary
variable (with four names) and one free call.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c