From patchwork Fri Sep 14 00:38:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liran Alon X-Patchwork-Id: 10600215 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 3C48A181C for ; Fri, 14 Sep 2018 00:40:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A74D72B2A3 for ; Fri, 14 Sep 2018 00:40:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A3F52B2AB; Fri, 14 Sep 2018 00:40:11 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2392E2B2A3 for ; Fri, 14 Sep 2018 00:40:10 +0000 (UTC) Received: from localhost ([::1]:46772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0c9Z-0005Qu-Ha for patchwork-qemu-devel@patchwork.kernel.org; Thu, 13 Sep 2018 20:40:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0c8T-0004Ye-CQ for qemu-devel@nongnu.org; Thu, 13 Sep 2018 20:39:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0c8Q-0004YW-47 for qemu-devel@nongnu.org; Thu, 13 Sep 2018 20:39:01 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:56292) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g0c8P-0004Un-Pw for qemu-devel@nongnu.org; Thu, 13 Sep 2018 20:38:58 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w8E0YevU015344; Fri, 14 Sep 2018 00:38:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id; s=corp-2018-07-02; bh=0xz526Uzp2CLITxn7stVf8AG2MiDgkh9nbVOd+PDi/4=; b=pnfrDbreCae4BUY/v0GWqGBwPG7EvdC9QZEXrJJsdtdG9CUMjRJbM1BKtMWk0+AWIxph z0OEiYX/GKi+dBjc+AR3olWR7oID/jI8iEP2PgfhEenxbe7jXKqTG+OeqFmNN9/DRPCN RHel+wO6qL6SrGzWsCvZkA7L7TJCcCvB8vqafaiMYdMTvIeYxTuP03MIQpyaGOX/NFlK zQsNyr2vTW0++ITgENFrIjZMhKcYjtQDKADq0PvL6KinZgC8yFPCvfj8V/Bpr9iKiIfT xRzF3kK2dNUGsT6vJSZsRxf3urirpUcZ+sD6SxHkBS2CtjuZReBEitcuVhL7Yo/xR0ky 0Q== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2mc5utvbk5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 14 Sep 2018 00:38:51 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w8E0cnKv028334 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 14 Sep 2018 00:38:50 GMT Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w8E0cmmO020248; Fri, 14 Sep 2018 00:38:48 GMT Received: from spark.ravello.local (/213.57.127.2) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 14 Sep 2018 00:38:48 +0000 From: Liran Alon To: qemu-devel@nongnu.org, rth@twiddle.net, ehabkost@redhat.com Date: Fri, 14 Sep 2018 03:38:25 +0300 Message-Id: <20180914003827.124570-1-liran.alon@oracle.com> X-Mailer: git-send-email 2.16.1 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9015 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=622 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809140005 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 156.151.31.86 Subject: [Qemu-devel] [PATCH 0/2]: KVM: i386: Add support for save and restore nested state X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com, idan.brown@oracle.com, mtosatti@redhat.com, kvm@vger.kernel.org, jmattson@google.com 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 aims to add support for QEMU to be able to migrate VMs that are running nested hypervisors. In order to do so, it utilizes the new IOCTLs introduced in KVM commit 8fcc4b5923af ("kvm: nVMX: Introduce KVM_CAP_NESTED_STATE") which were created for this purpose. 1st patch is not really related to the goal of the patch series. It just makes CPUX86State->xsave_buf to be compiled only when needed (When compiling with KVM or HVF CPU accelerator). 2nd patch adds the support to migrate VMs that are running nested hypervisors. Regards, -Liran