From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Wolf Subject: =?UTF-8?q?=5BPATCH=20v2=200/3=5D=20Fix=20task=20switches=20into/out=20of=20VM86?= Date: Fri, 27 Jan 2012 20:23:33 +0100 Message-ID: <1327692216-20450-1-git-send-email-kwolf@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kwolf@redhat.com, gleb@redhat.com, joerg.roedel@amd.com, yoshikawa.takuya@oss.ntt.co.jp, avi@redhat.com, mtosatti@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:49780 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752582Ab2A0TUV (ORCPT ); Fri, 27 Jan 2012 14:20:21 -0500 Sender: kvm-owner@vger.kernel.org List-ID: I believe this should work with both VMX and SVM now. Gleb, J=C3=B6rg, = can one of you test this with SVM? I did some testing on my buggy processor and it= looks as good as it gets, but it would be better if you could confirm. Kevin Wolf (3): KVM: x86 emulator: Fix task switch privilege checks KVM: x86 emulator: VM86 segments must have DPL 3 KVM: x86 emulator: Allow PM/VM86 switch during task switch arch/x86/include/asm/kvm_emulate.h | 3 +- arch/x86/include/asm/kvm_host.h | 4 +- arch/x86/kvm/emulate.c | 79 ++++++++++++++++++++++++++++= ++++--- arch/x86/kvm/svm.c | 5 ++- arch/x86/kvm/vmx.c | 8 ++- arch/x86/kvm/x86.c | 12 ++++- 6 files changed, 94 insertions(+), 17 deletions(-) --=20 1.7.6.5