Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5214396imm; Tue, 16 Oct 2018 07:00:35 -0700 (PDT) X-Google-Smtp-Source: ACcGV63nvE+yJmn32QZ7aEAl0x5I5+Ql4y3mHjmRByJYPh2cg8EW2p2EicJcSBYyBxwob32WxMlm X-Received: by 2002:a17:902:b90c:: with SMTP id bf12-v6mr21881098plb.259.1539698434976; Tue, 16 Oct 2018 07:00:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539698434; cv=none; d=google.com; s=arc-20160816; b=RoACJjYt2SIceDijrdJ2pdB3LSkeHQC5PvAGFQT3QXL2gnJxd7DCsuRrFlcXfK3986 XPzqusSqXLkXNg/9qVF7BrruqDfltJC5jzqtTgPFhEX67uysOqnuCOR2UF/G+D9MVFVD zO7KnPeCf+hBibpmm4wPJVD1j0W7lx9k5KWRj5ph7QwqhYOvX+EfhpD3KtwjrPn9yUiB +Nu5zXUinIEiJmWDL+cUvroxcxvU2URvyH+rv1Vl95zfqxtMVk0D2sZIepqcvLYF1fvH VArN41tMaNh4la0/N7v/1gNm3xmjCktl7Ma6RsuhM2CEXvqR65kLSPfkO3Ey23WlEcJe Wu3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=Cu3Ay1tUiagm28kUAVo9E/O+8KrTrC0+P0R3kSvtd3c=; b=RguVsWzzt4WeVv7WH5uZWqp5m72GzKV/WMxDgGHekEWpAK4JJf0MWEwV0i1UomF3Rk mWZHgha+kuXjTAbLrEhtOt3w3gW/c/ceBdMG3mVNLBnQucNTfJWvYYmYNihf7HHodrum EH2TW+qWNlvUbMsEOJMlGuj5SSaNB9sVid0g1vl4yFlQJhD5lgk4gl9q5RV+5kzs2dOv 42jh/kKAxgOagqEORuWOdZP/jExy90yEZI7Br+021cNFlHo0d1vPqX4ufRulSfIxFDbF RPmhlWMDm1xwh+6lDPktwOfQFzS1wr9EXs2O8yVAfXIJU4REOsON4SReU53/S3Pl8++y oxRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z1-v6si13785405plo.59.2018.10.16.07.00.18; Tue, 16 Oct 2018 07:00:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727164AbeJPVuQ (ORCPT + 99 others); Tue, 16 Oct 2018 17:50:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57034 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727007AbeJPVuP (ORCPT ); Tue, 16 Oct 2018 17:50:15 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0059B308624F; Tue, 16 Oct 2018 13:59:40 +0000 (UTC) Received: from vitty.brq.redhat.com.redhat.com (unknown [10.34.244.70]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 39C2B62489; Tue, 16 Oct 2018 13:59:37 +0000 (UTC) From: Vitaly Kuznetsov To: Paolo Bonzini , kvm@vger.kernel.org Cc: Radim =?utf-8?B?S3LEjW3DocWZ?= , Roman Kagan , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , "Michael Kelley \(EOSG\)" , Jim Mattson , Liran Alon , linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 09/12] x86/kvm/nVMX: allow bare VMXON state migration In-Reply-To: <8d6b85c4-16c6-cbde-22ec-ee61df0c49fd@redhat.com> References: <20180913170522.24876-1-vkuznets@redhat.com> <20180913170522.24876-10-vkuznets@redhat.com> <8d6b85c4-16c6-cbde-22ec-ee61df0c49fd@redhat.com> Date: Tue, 16 Oct 2018 15:59:35 +0200 Message-ID: <87zhvernzs.fsf@vitty.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Tue, 16 Oct 2018 13:59:40 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Paolo Bonzini writes: > On 13/09/2018 19:05, Vitaly Kuznetsov wrote: >> It is perfectly valid for a guest to do VMXON and not do VMPTRLD. This >> state needs to be preserved on migration. >> >> Signed-off-by: Vitaly Kuznetsov > > Please cover this in state-test.c too. > Sure, this is kind of tested in the newly introduced evmcs_test but makes perfect sense to do this in state_test too. The series also got rotten and requires a rebase, will do that. Thanks, -- Vitaly