From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71B8AC04FF3 for ; Mon, 24 May 2021 20:38:01 +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 2855E613F4 for ; Mon, 24 May 2021 20:38:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2855E613F4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.131877.246260 (Exim 4.92) (envelope-from ) id 1llHKY-0001fB-M4; Mon, 24 May 2021 20:37:42 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 131877.246260; Mon, 24 May 2021 20:37:42 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1llHKY-0001f4-IY; Mon, 24 May 2021 20:37:42 +0000 Received: by outflank-mailman (input) for mailman id 131877; Mon, 24 May 2021 20:37:41 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1llHKX-0001ey-4a for xen-devel@lists.xenproject.org; Mon, 24 May 2021 20:37:41 +0000 Received: from mail-qk1-x736.google.com (unknown [2607:f8b0:4864:20::736]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id fb112d32-1625-435e-86d4-070dcf340050; Mon, 24 May 2021 20:37:39 +0000 (UTC) Received: by mail-qk1-x736.google.com with SMTP id f18so28295191qko.7 for ; Mon, 24 May 2021 13:37:39 -0700 (PDT) Received: from localhost.localdomain (c-73-89-138-5.hsd1.vt.comcast.net. [73.89.138.5]) by smtp.gmail.com with ESMTPSA id t25sm5142847qkt.62.2021.05.24.13.37.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 May 2021 13:37:38 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: fb112d32-1625-435e-86d4-070dcf340050 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=fT2owAWSONQ5Td8PrGcFnFo4mj+tLu/Yq6/E3PpJKDM=; b=LMVvtw69MKVxK+kROImOEJaQegyq/o3anijqdLvUoo3LIy+h6+7oZ4L8PLDU5K2zN0 KWajWfCxxq5j4YNcqzCWPUOo2YUcguATVRXGcsi5ZUtSI2LxjfuE8aQS4POE6v/3MdTc AhXKR2ep7bqtxiWQBbTFaujfzA8FjPqMeiTPrBcybXkmgCkjiJrZ7BWhJ9OFTUQ+VBsS l5w+w7Py1iXe7KcF9gF4AyyYkqNRGCgMSrvG0OM5gfT954viw6jEaGkvS4LgXGQRC8nB rFQwKlksuj1jFP4ipU/RX/kcp9pP6ebRpGy29yz25JjN0H6cPV71KvKLDLI34r0GZhyB HFRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=fT2owAWSONQ5Td8PrGcFnFo4mj+tLu/Yq6/E3PpJKDM=; b=E6zR1XcmYxYGuSHAiUDx6NGkiR09VgPjBaNjwgsAVg9CVVKYHEmTSJhJaj8Cto3X2B KLOdtRk/7Ue3nwSZV1XCUaqUNf1OJXP7IN6+Aovvie4gyvIjqa8kAWv5phHde8su9tCx KjLOJOh7DbmRDqCcsLPOEAkN02g9YKQTpuCBEdK8gzp1PEEobJ6rcoKs4WJmyw6XxA+E aP2F5qS0DpjiiYwPlB8ETszaY6qfV5s8N8+XkXR/BynxUP+qkwIveK/TF3j7orUGrXtz rTNSy7RuckgxKiDFU5+gvWmM1uPIbnmjtdOrT8UsMkZvujVVj8+5t4AcbcLTU3ek/X0E kQew== X-Gm-Message-State: AOAM533tc+SDafo5LEcWP1IDXARvIyRflmJnl4xwcfg6uSF4ySEf8QDh Xfg31CfIUOVxmZoIViSfLQU= X-Google-Smtp-Source: ABdhPJxKKmRl70PFWvfEmJ085Ib8hp4wiOr/94ElFKb3+npLqJHzrtoVbUfm4lqTBF8aMVnggiIdXw== X-Received: by 2002:a05:620a:1312:: with SMTP id o18mr27335892qkj.158.1621888659431; Mon, 24 May 2021 13:37:39 -0700 (PDT) From: Nick Rosbrook X-Google-Original-From: Nick Rosbrook To: xen-devel@lists.xenproject.prg, xen-devel@lists.xenproject.org Cc: Nick Rosbrook , George Dunlap , Ian Jackson , Wei Liu Subject: [RESEND PATCH 00/12] golang/xenlight: domain life cycle support Date: Mon, 24 May 2021 16:36:41 -0400 Message-Id: X-Mailer: git-send-email 2.17.1 The primary goal of this patch series is to allow users of the xenlight package to manage a full domain life cycle. In particular, it provides support for receiving domain death events so that domain shutdown, reboot, destroy, etc. can be handled. And, it addresses issues found when using the package to boot domains with various configurations. These patches address several things (e.g. bug fixes, code style, conveniences, new wrapper functions), but are all work towards the final goal of allowing a package user to manage a full domain life cycle. Nick Rosbrook (12): golang/xenlight: update generated code golang/xenlight: fix StringList toC conversion golang/xenlight: fix string conversion in generated toC functions golang/xenlight: export keyed union interface types golang/xenlight: use struct pointers in keyed union fields golang/xenlight: rename Ctx receivers to ctx golang/xenlight: add logging conveniences for within xenlight golang/xenlight: add functional options to configure Context golang/xenlight: add DomainDestroy wrapper golang/xenlight: add SendTrigger wrapper golang/xenlight: do not negate ret when converting to Error golang/xenlight: add NotifyDomainDeath method to Context tools/golang/xenlight/gengotypes.py | 11 +- tools/golang/xenlight/helpers.gen.go | 210 ++++++++++++-- tools/golang/xenlight/types.gen.go | 63 +++-- tools/golang/xenlight/xenlight.go | 398 ++++++++++++++++++++------- 4 files changed, 521 insertions(+), 161 deletions(-) -- 2.17.1