From: Avi Kivity Subject: [PATCH 0/2] Fix xsave/xcr save/restore memory leak Date: Sun, 20 Jun 2010 16:14:11 +0300 Message-ID: <1277039653-26056-1-git-send-email-avi@redhat.com> Cc: kvm@vger.kernel.org To: Marcelo Tosatti , Sheng Yang Return-path: Received: from mx1.redhat.com ([209.132.183.28]:58281 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753874Ab0FTNOQ (ORCPT ); Sun, 20 Jun 2010 09:14:16 -0400 Sender: kvm-owner@vger.kernel.org List-ID: There's a small leak in xsave/xcr save/restore that rapidly drains all memory during Windows XP install without FlexPriority, since that triggers qemu register reload frequently. Avi Kivity (2): KVM: Fix xsave and xcr save/restore memory leak KVM: Consolidate load/save temporary buffer allocation and freeing arch/x86/kvm/x86.c | 66 +++++++++++++++++++++++++-------------------------- 1 files changed, 32 insertions(+), 34 deletions(-)