From: Joerg Roedel Date: Fri, 19 Feb 2010 15:23:06 +0000 (+0100) Subject: KVM: SVM: Don't sync nested cr8 to lapic and back X-Git-Tag: v2.6.35-rc1~436^2~258 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88ab24adc7142506c8583ac36a34fa388300b750;p=pandora-kernel.git KVM: SVM: Don't sync nested cr8 to lapic and back This patch makes syncing of the guest tpr to the lapic conditional on !nested. Otherwise a nested guest using the TPR could freeze the guest. Another important change this patch introduces is that the cr8 intercept bits are no longer ORed at vmrun emulation if the guest sets VINTR_MASKING in its VMCB. The reason is that nested cr8 accesses need alway be handled by the nested hypervisor because they change the shadow version of the tpr. Cc: stable@kernel.org Signed-off-by: Joerg Roedel Signed-off-by: Avi Kivity --- Reading git-diff-tree failed