lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101203202349.GA26281@amt.cnet>
Date:	Fri, 3 Dec 2010 18:23:49 -0200
From:	Marcelo Tosatti <mtosatti@...hat.com>
To:	Joerg Roedel <joerg.roedel@....com>
Cc:	Avi Kivity <avi@...hat.com>, kvm@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/6] KVM: SVM: Wrap access to intercept masks into
 functions

On Tue, Nov 30, 2010 at 06:03:55PM +0100, Joerg Roedel wrote:
> Hi Avi, Hi Marcelo,
> 
> this patchset wraps the access to the intercept vectors in the VMCB into
> specific functions. There are two reasons for this:
> 
> 	1) In the nested-svm code the effective intercept masks are
> 	   calculated from the host and the guest intercept masks.
> 	   Whenever KVM changes the host intercept mask while the VCPU
> 	   is in guest-mode the effective intercept masks need to be
> 	   re-calculated. This is nicely wrapped into these functions
> 	   now and makes the code more robust.
> 
> 	2) These changes make the implementation of the upcoming
> 	   vmcb-clean-bits feature easier and also more robust (which
> 	   was the main reason for writing this patchset).
> 
> These patches were developed on-top of the patch-set I sent yesterday. I
> tested these patches with various guests (Windows-64, Linux 32,32e and
> 64 as well as with nested-svm).
> 
> Regards,
> 
> 	Joerg
> 
> Summary:
> 
>  arch/x86/include/asm/svm.h |   44 +++--
>  arch/x86/kvm/svm.c         |  391 ++++++++++++++++++++++++--------------------
>  2 files changed, 241 insertions(+), 194 deletions(-)
> 
> Joerg Roedel (6):
>       KVM: SVM: Add function to recalculate intercept masks
>       KVM: SVM: Add manipulation functions for CRx intercepts
>       KVM: SVM: Add manipulation functions for DRx intercepts
>       KVM: SVM: Add manipulation functions for exception intercepts
>       KVM: SVM: Add manipulation functions for misc intercepts
>       KVM: SVM: Use get_host_vmcb function in svm_get_msr for TSC

Applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ