From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH kvm-unit-tests v2 0/3] More nvmx unit tests changes Date: Tue, 10 Jun 2014 08:51:56 +0200 Message-ID: <5396AB0C.1070404@redhat.com> References: <1402347894-13659-1-git-send-email-bsd@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jan Kiszka To: Bandan Das , kvm@vger.kernel.org Return-path: Received: from mail-we0-f173.google.com ([74.125.82.173]:52195 "EHLO mail-we0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754987AbaFJGwB (ORCPT ); Tue, 10 Jun 2014 02:52:01 -0400 Received: by mail-we0-f173.google.com with SMTP id t60so123301wes.32 for ; Mon, 09 Jun 2014 23:51:59 -0700 (PDT) In-Reply-To: <1402347894-13659-1-git-send-email-bsd@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Il 09/06/2014 23:04, Bandan Das ha scritto: > A couple more updates to test_vmxon, test_vmptrld > and test_vmclear based on kvm commits - > > 3573e22cfecaac83f82ef4f6847d90e466fc8e10 > KVM: nVMX: additional checks on vmxon region > > 96ec146330d18a938b4773be8d6dd1f93399507c > KVM: nVMX: fail on invalid vmclear/vmptrld pointer > > v2: > - 1/3(New): Move the writing of flags register inside asm blocks > > Bandan Das (3): > VMX: move write_rflags inside asm blocks for vmx instructions > VMX: Add more checks to test_vmxon > VMX: Updated test_vmclear and test_vmptrld > > lib/x86/processor.h | 7 --- > x86/vmx.c | 121 +++++++++++++++++++++++++++++++++++++++++----------- > x86/vmx.h | 10 ++++- > 3 files changed, 103 insertions(+), 35 deletions(-) > Sooner or later, we probably want to return the flags so that you can test for CF=1 or ZF=1. For now, I've applied the patch. Thanks! Paolo