From: Paolo Bonzini Subject: Re: [PATCH 0/8] kvm: nVMX: Checkpoint/restore support for VMX state Date: Fri, 9 Dec 2016 16:28:44 +0100 Message-ID: <203030e9-5f2e-9383-933f-6088f794ea93@redhat.com> References: <1480536229-11754-1-git-send-email-jmattson@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Jim Mattson , David Hildenbrand Return-path: Received: from mail-wj0-f195.google.com ([209.85.210.195]:32862 "EHLO mail-wj0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751845AbcLIP2v (ORCPT ); Fri, 9 Dec 2016 10:28:51 -0500 Received: by mail-wj0-f195.google.com with SMTP id kp2so2930195wjc.0 for ; Fri, 09 Dec 2016 07:28:50 -0800 (PST) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 06/12/2016 20:02, Jim Mattson wrote: > For example, a userspace instruction emulator may need access to > several VMCS fields to determine how to emulate an instruction when > the vCPU is in virtualized VMX non-root mode. Why? Wouldn't KVM_GET_SREGS for example provide values descriptor cache from the active L2 guest (and thus, indirectly, from the VMCS12)? Thanks, Paolo