From patchwork Fri Jul 5 21:06:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liran Alon X-Patchwork-Id: 11033347 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9F100912 for ; Fri, 5 Jul 2019 21:08:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 908D5289AF for ; Fri, 5 Jul 2019 21:08:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 819B128A4F; Fri, 5 Jul 2019 21:08:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 390D8289AF for ; Fri, 5 Jul 2019 21:08:22 +0000 (UTC) Received: from localhost ([::1]:56165 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjVRL-0003GN-Mz for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jul 2019 17:08:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43116) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjVQJ-0001Nw-DN for qemu-devel@nongnu.org; Fri, 05 Jul 2019 17:07:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjVQG-00005G-KL for qemu-devel@nongnu.org; Fri, 05 Jul 2019 17:07:14 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:35862) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hjVQ9-0008GT-44 for qemu-devel@nongnu.org; Fri, 05 Jul 2019 17:07:08 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x65L3vPY025585; Fri, 5 Jul 2019 21:06:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=corp-2018-07-02; bh=bJXeKOcF+TXIe3UVh8CqtegBOh7vgPVZcG5BmVQ7yYo=; b=lxvSAqcyHOyvap1hgeVAXdOQJwkuhzOJQ5byYPPrkz1FN46j49qsuSeFmYFfarc3OiAP v3xCAiARWGXMUB+FYAmBWfZki/+EqH4fBIizVCVF4OJW09IgK+VTD5iq16Jj8f4faVAg PYI1UV/lmmhFkSNwfmXd5jYlWOtbZIDX7kvqLTauablF+WVq+xjcg5b7Yc4JtyreDbm/ H6sV6GRAKlPlwacBTfcKoU1mOWixifdJhNafEqBrIIUW8fZ6e2IZZ3zR9Faj5eqr0CiT XY8DhgPrt1rTVLIiTNxyu/Ayl+DlJmVdkYocsK9ILniSAVId6oDpidPbl6mv3nWy2iNt jA== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 2te5tc4j6a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 05 Jul 2019 21:06:57 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x65L2X1t107403; Fri, 5 Jul 2019 21:06:57 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 2thxrvm47h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 05 Jul 2019 21:06:57 +0000 Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x65L6tgQ030839; Fri, 5 Jul 2019 21:06:56 GMT Received: from spark.ravello.local (/213.57.127.2) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 05 Jul 2019 14:06:55 -0700 From: Liran Alon To: qemu-devel@nongnu.org Date: Sat, 6 Jul 2019 00:06:32 +0300 Message-Id: <20190705210636.3095-1-liran.alon@oracle.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9309 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907050266 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9309 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907050266 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 141.146.126.78 Subject: [Qemu-devel] [PATCH 0/4] target/i386: kvm: Various nested-state fixes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com, ehabkost@redhat.com, kvm@vger.kernel.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi, This series is just a bunch of small fixes to recent QEMU nested-state migration support. 1st and 2nd patch can be considered as trivial refactoring patches. 3rd patch fixes a bug of requiring to save VMX nested-state when it is not needed. 4rd patch removes migration blocker when vCPU is exposed with VMX and instead demand nested migration kernel capabilities only when vCPU may have enabled VMX. To provide for better backwards-compatible migration scenarios. For more info, refer to relevant commit message. Thanks, -Liran