From: Paolo Bonzini Subject: Re: [PATCH 0/8] kvm: nVMX: Checkpoint/restore support for VMX state Date: Wed, 8 Feb 2017 17:24:56 +0100 Message-ID: <4e2df8e6-0c1b-5d57-0247-bd7cd69c3e12@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 To: Jim Mattson , kvm@vger.kernel.org Return-path: Received: from mail-wm0-f65.google.com ([74.125.82.65]:36550 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932227AbdBHQZI (ORCPT ); Wed, 8 Feb 2017 11:25:08 -0500 Received: by mail-wm0-f65.google.com with SMTP id r18so34146304wmd.3 for ; Wed, 08 Feb 2017 08:25:08 -0800 (PST) In-Reply-To: <1480536229-11754-1-git-send-email-jmattson@google.com> Sender: kvm-owner@vger.kernel.org List-ID: On 30/11/2016 21:03, Jim Mattson wrote: > This series of patches introduces checkpoint and restore operations > for the VMX state of a VM, so that VMX-capable VMs can be migrated. > > Two new ioctls are introduced: KVM_GET_VMX_STATE and > KVM_SET_VMX_STATE. The VMX state that is checkpointed/restored > consists of the VMXON region address (if any), the current VMCS > address (if any), and the cached current VMCS contents (if any). One > piece of implementation-specific state that is also > checkpointed/restored is the nested_run_pending bit. > > On live migration, our userspace process does not have access to guest > memory when the VM is set up on the target host, so some operations > that require a GPA->HPA mapping are deferred until the next vcpu_run > using a new vcpu request. I merged patches 1-6 into kvm/queue. Rebasing took a bit of work, so please take a look. Paolo