From: Arthur Chunqi Li Subject: [PATCH v3 0/2] Basic nested VMX test suite Date: Tue, 16 Jul 2013 23:58:15 +0800 Message-ID: <1373990297-8214-1-git-send-email-yzt356@gmail.com> Cc: jan.kiszka@web.de, gleb@redhat.com, pbonzini@redhat.com, Arthur Chunqi Li To: kvm@vger.kernel.org Return-path: Received: from mail-pd0-f174.google.com ([209.85.192.174]:52409 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933342Ab3GPP6e (ORCPT ); Tue, 16 Jul 2013 11:58:34 -0400 Received: by mail-pd0-f174.google.com with SMTP id 10so825538pdc.33 for ; Tue, 16 Jul 2013 08:58:33 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: These two patches are focued on providing a basic version of VMX nested test suite. This commit provides the architecture of nested VMX similiar to x86/svm.c. setjmp/longjmp is designed to avoid exiting VMX in call-back form. Arthur Chunqi Li (2): kvm-unit-tests : Add setjmp/longjmp to libcflat kvm-unit-tests : The first version of VMX nested test case config-x86-common.mak | 2 + config-x86_64.mak | 3 + lib/setjmp.h | 11 + lib/x86/msr.h | 5 + lib/x86/setjmp64.S | 27 +++ x86/cstart64.S | 4 + x86/unittests.cfg | 6 + x86/vmx.c | 561 +++++++++++++++++++++++++++++++++++++++++++++++++ x86/vmx.h | 406 +++++++++++++++++++++++++++++++++++ 9 files changed, 1025 insertions(+) create mode 100644 lib/setjmp.h create mode 100644 lib/x86/setjmp64.S create mode 100644 x86/vmx.c create mode 100644 x86/vmx.h -- 1.7.9.5