From patchwork Thu Jan 9 11:48:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Durrant X-Patchwork-Id: 11325509 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 C6FD7921 for ; Thu, 9 Jan 2020 11:50:00 +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 A321D2072A for ; Thu, 9 Jan 2020 11:50:00 +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="O07lwd2d" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A321D2072A 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 1ipWIy-0000MT-F6; Thu, 09 Jan 2020 11:48:48 +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 1ipWIx-0000Lj-1d for xen-devel@lists.xenproject.org; Thu, 09 Jan 2020 11:48:47 +0000 X-Inumbo-ID: f864fda7-32d5-11ea-b9a8-12813bfff9fa Received: from smtp-fw-9102.amazon.com (unknown [207.171.184.29]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id f864fda7-32d5-11ea-b9a8-12813bfff9fa; Thu, 09 Jan 2020 11:48:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1578570518; x=1610106518; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=hkv+4MvZMn2cg2Lo+6T7WOCFpLqK03ixLGIUC6dBLj0=; b=O07lwd2dIbwK9bEJGDkZkhYd2orft3V6BDicwoduCTit5f8Zl9F7S6dD MDMcQ3hrcLxvN0jHKR702Gy59x3U2H0VIpuFBAWymwUOUIN+Tf0HhXZtA mdQGxPuR0miFpDkWQvl4yVkz3Jae3MXREFjgsxBjlkDhprM8+w9kyROSs I=; IronPort-SDR: 8na5+yz4VVZJzGPT5LaJ5qP0AMVyZkhS4KTO9i5r19EMY7Mp8rqHCYidsXFrIHW7ByiZPqoKbL GRk6gwchaoYg== X-IronPort-AV: E=Sophos;i="5.69,413,1571702400"; d="scan'208";a="17662301" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1d-9ec21598.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 09 Jan 2020 11:48:25 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1d-9ec21598.us-east-1.amazon.com (Postfix) with ESMTPS id 4DA8FA2446; Thu, 9 Jan 2020 11:48:22 +0000 (UTC) Received: from EX13D32EUC001.ant.amazon.com (10.43.164.159) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 9 Jan 2020 11:48:22 +0000 Received: from EX13MTAUWC001.ant.amazon.com (10.43.162.135) by EX13D32EUC001.ant.amazon.com (10.43.164.159) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 9 Jan 2020 11:48:20 +0000 Received: from u2f063a87eabd5f.cbg10.amazon.com (10.125.106.135) by mail-relay.amazon.com (10.43.162.232) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Thu, 9 Jan 2020 11:48:19 +0000 From: Paul Durrant To: Date: Thu, 9 Jan 2020 11:48:10 +0000 Message-ID: <20200109114816.2293-1-pdurrant@amazon.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Precedence: Bulk Subject: [Xen-devel] [PATCH v2 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: Anthony PERARD , Paul Durrant , Ian Jackson , Wei Liu 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 | 90 +++++++++++++++++------- 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 + 17 files changed, 297 insertions(+), 44 deletions(-) --- Cc: Anthony PERARD Cc: Ian Jackson Cc: Wei Liu