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.7 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,URIBL_BLOCKED,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 1D559C43460 for ; Thu, 29 Apr 2021 00:14:58 +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 CC9BF6144A for ; Thu, 29 Apr 2021 00:14:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CC9BF6144A 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.119614.226170 (Exim 4.92) (envelope-from ) id 1lbuKH-00072S-05; Thu, 29 Apr 2021 00:14:41 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 119614.226170; Thu, 29 Apr 2021 00:14:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lbuKG-00072L-Ss; Thu, 29 Apr 2021 00:14:40 +0000 Received: by outflank-mailman (input) for mailman id 119614; Thu, 29 Apr 2021 00:14:39 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lbuKE-00072A-VM for xen-devel@lists.xenproject.org; Thu, 29 Apr 2021 00:14:39 +0000 Received: from mail-qk1-x735.google.com (unknown [2607:f8b0:4864:20::735]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 26db95de-88d3-4037-9cca-b69fde44230c; Thu, 29 Apr 2021 00:14:38 +0000 (UTC) Received: by mail-qk1-x735.google.com with SMTP id u20so33409107qku.10 for ; Wed, 28 Apr 2021 17:14:38 -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 r185sm1021694qkf.78.2021.04.28.17.14.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Apr 2021 17:14:37 -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: 26db95de-88d3-4037-9cca-b69fde44230c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=JgWNZYdWbxhv4Vwgh6STOe2vmJwSi9uDZw25xJ4C5u0=; b=NZJwCNiz2Y3t20rRF9tiRZD4hJZeP4/XZ8GU+/jaUIDw2q7cbxaF1d72TEbEgbofmV ABB6gE18HdBVOw04MMxnYHfdx3qWiSz2cMYNwfnQy50MhqxbRy9TVYs65GgFtiG8K1OI WwkF/M20459aCVchnq9blTawaUSCcVwVq3DlCZxen1dBUINwkdUhemqD4tVc86lFmOJ3 inmQ/dhqW9K7Yvox0IZyAuxGVGZYml/3xLPWVlKFNUYWiDAgWOgbJHbqv9LBMcTN0CO+ 2kAvGHRX9ZUe1PZs4O7arhQdtTJGVJQYceosvc8+WIBGD0w7apj4EZI15ommwSZ6f2vy 38mw== 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=JgWNZYdWbxhv4Vwgh6STOe2vmJwSi9uDZw25xJ4C5u0=; b=Z3BUEttelbo/8umz6/CV0B3GwPM3+H+MvnvoykYBlkFBismmUPmuVhvcNezUzYTg8q +MoE98LjdBiaWK5p9LKCSq2y1npF9e6eJrzLuJujenRwxtGZt0+5CYbgAswuJiY8wRMT qH7zlzVVBascjkeHq/LE2UEizRN/grFcAQ1y/7f+16yFPm+Oeq+REAZAHDww7h+bfVby N/nRuCy4jGEA+UwO/T8o8NWgPd54hnRsSV8SsC6hQza4u+p7MZPE79c2TIv+TzeMKilY QCntypUVAiGZwne3D6x4BqKetgqxVSqnmFSmZtEiKID9skMuPzrEiew2GjdBvMuZ3lug J2zA== X-Gm-Message-State: AOAM530Sylq9WTPniGlrUA4RgpoSBSWuGRmv3mV6fpbAGOeO7mT3K2aD Odx5ZilOjElDQLLc+/Jd0lLR7qrl0bY= X-Google-Smtp-Source: ABdhPJzhvrGgmwZ9/SbsyzA7VyJs2aFfFrFK9G+0nBKx8C0jibnMbVZi9Nb9ku7q0SjemOErk8tQlw== X-Received: by 2002:a05:620a:4553:: with SMTP id u19mr21009894qkp.485.1619655277468; Wed, 28 Apr 2021 17:14:37 -0700 (PDT) From: Nick Rosbrook X-Google-Original-From: Nick Rosbrook To: xen-devel@lists.xenproject.org Cc: Nick Rosbrook , George Dunlap , Ian Jackson , Wei Liu Subject: [PATCH 00/12] golang/xenlight: domain life cycle support Date: Wed, 28 Apr 2021 20:14:22 -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 | 395 ++++++++++++++++++++------- 4 files changed, 518 insertions(+), 161 deletions(-) -- 2.17.1