From patchwork Thu Jan 16 09:35:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Durrant X-Patchwork-Id: 11336413 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EE30F921 for ; Thu, 16 Jan 2020 09:37:20 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CA7492075B for ; Thu, 16 Jan 2020 09:37:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="oclJVgTV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA7492075B Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=amazon.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1is1ZX-0006cW-Eu; Thu, 16 Jan 2020 09:36:15 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1is1ZW-0006cP-A0 for xen-devel@lists.xenproject.org; Thu, 16 Jan 2020 09:36:14 +0000 X-Inumbo-ID: a32fd2b6-3843-11ea-86d6-12813bfff9fa Received: from smtp-fw-2101.amazon.com (unknown [72.21.196.25]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id a32fd2b6-3843-11ea-86d6-12813bfff9fa; Thu, 16 Jan 2020 09:36:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1579167375; x=1610703375; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=efU3VlGXTVjqmw3jYRrO8kEfGbTZ4DtOzJo7P1wuncg=; b=oclJVgTVj+Q0DVdh6rxCCnpLVzWDqal7bTbNRn9lOMjzfoWD/rfDB2Cb r7Vjbf3R40h5xsyKavK2HY35OZpdYpNZaCSbetQqp3TA2Hv0/vC+nVCKG rOLqvUfJurpvB3rNZjDUzZSKS/RENF2pCJ2jiESAFimqzfTGU4uUV41N8 g=; IronPort-SDR: u304MDMTBJkqs37GqDamXgVHdVmwgFkPnbfOPLEaQCwuFfscoz6qKc5vanMoYHrEdAJfY9lBUi 30sYrup0DcSA== X-IronPort-AV: E=Sophos;i="5.70,325,1574121600"; d="scan'208";a="12699619" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2b-55156cd4.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 16 Jan 2020 09:36:12 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2b-55156cd4.us-west-2.amazon.com (Postfix) with ESMTPS id 35CB0A26E2; Thu, 16 Jan 2020 09:36:10 +0000 (UTC) Received: from EX13D32EUB002.ant.amazon.com (10.43.166.114) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Thu, 16 Jan 2020 09:36:09 +0000 Received: from EX13MTAUWA001.ant.amazon.com (10.43.160.58) by EX13D32EUB002.ant.amazon.com (10.43.166.114) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 16 Jan 2020 09:36:08 +0000 Received: from u2f063a87eabd5f.cbg10.amazon.com (10.125.106.135) by mail-relay.amazon.com (10.43.160.118) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Thu, 16 Jan 2020 09:36:05 +0000 From: Paul Durrant To: Date: Thu, 16 Jan 2020 09:35:56 +0000 Message-ID: <20200116093602.4203-1-pdurrant@amazon.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Precedence: Bulk Subject: [Xen-devel] [PATCH v3 0/6] xl/libxl: domid allocation/preservation changes X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Julien Grall , Wei Liu , jandryuk@gmail.com, George Dunlap , Andrew Cooper , Paul Durrant , Konrad Rzeszutek Wilk , Ian Jackson , Jan Beulich , Anthony PERARD Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" This series was previously named "xl/libxl: allow creation of domains with a specified domid". Paul Durrant (6): libxl: add definition of INVALID_DOMID to the API libxl_create: make 'soft reset' explicit libxl: add infrastructure to track and query 'retired' domids libxl: allow creation of domains with a specified or random domid xl.conf: introduce 'domid_policy' xl: allow domid to be preserved on save/restore or migrate docs/man/xl.1.pod.in | 14 ++++ docs/man/xl.conf.5.pod | 10 +++ tools/examples/xl.conf | 4 ++ tools/libxl/libxl.h | 13 +++- tools/libxl/libxl_create.c | 94 ++++++++++++++++++------- tools/libxl/libxl_dm.c | 2 +- tools/libxl/libxl_domain.c | 132 +++++++++++++++++++++++++++++++++++ tools/libxl/libxl_internal.c | 2 +- tools/libxl/libxl_internal.h | 16 ++++- tools/libxl/libxl_types.idl | 1 + tools/xl/xl.c | 10 +++ tools/xl/xl.h | 2 + tools/xl/xl_cmdtable.c | 6 +- tools/xl/xl_migrate.c | 15 ++-- tools/xl/xl_saverestore.c | 19 +++-- tools/xl/xl_utils.h | 2 - tools/xl/xl_vmcontrol.c | 3 + xen/include/public/xen.h | 3 + 18 files changed, 304 insertions(+), 44 deletions(-) --- Cc: Andrew Cooper Cc: Anthony PERARD Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: jandryuk@gmail.com Cc: Julien Grall Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabellini Cc: Wei Liu