From: Avi Kivity Date: Mon, 30 Apr 2007 13:07:54 +0000 (+0300) Subject: KVM: Avoid saving and restoring some host CPU state on lightweight vmexit X-Git-Tag: v2.6.23-rc1~520^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6adf28365b2fca0b5235cabff00c9f3d1e7bdf4;p=pandora-kernel.git KVM: Avoid saving and restoring some host CPU state on lightweight vmexit Many msrs and the like will only be used by the host if we schedule() or return to userspace. Therefore, we avoid saving them if we handle the exit within the kernel, and if a reschedule is not requested. Based on a patch from Eddie Dong with a couple of fixes by me. Signed-off-by: Yaozu(Eddie) Dong Signed-off-by: Avi Kivity --- Reading git-diff-tree failed