From patchwork Fri Nov 15 19:44:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Rosbrook X-Patchwork-Id: 11247023 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 54DE81393 for ; Fri, 15 Nov 2019 19:46:32 +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 309A32073A for ; Fri, 15 Nov 2019 19:46:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="o1Kk0r9e" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 309A32073A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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 1iVhWt-0001KK-Le; Fri, 15 Nov 2019 19:45:15 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iVhWs-0001Jl-G3 for xen-devel@lists.xenproject.org; Fri, 15 Nov 2019 19:45:14 +0000 X-Inumbo-ID: 6a4da196-07e0-11ea-b678-bc764e2007e4 Received: from mail-qv1-xf41.google.com (unknown [2607:f8b0:4864:20::f41]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 6a4da196-07e0-11ea-b678-bc764e2007e4; Fri, 15 Nov 2019 19:45:02 +0000 (UTC) Received: by mail-qv1-xf41.google.com with SMTP id i3so4226373qvv.7 for ; Fri, 15 Nov 2019 11:45:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Bl4kmcGwcbL0QI9zZzG8ebrx0FfXrmxwyQuh29q0y+o=; b=o1Kk0r9eSfUrtfVO+oaE3vb539jkXLsPeETlmMgJB/5CL1f20aRaqt63FNke0/R+i+ K/njuBL1oCxOL6y7CAPigFazdnohIAtkI1jKDBDWCx9Z7nTsADvivS4vUCw1e/5IbSZO 95IoO9SjrPbAzuTlbSaGL8Baf7mKHFu8ZU5q6NmdCRpZsQrnhkbv4+0pll/nnm0jvB4F RPGbcHyHpD9EUNVeONjzJ9UvSkHT4SYWVxyzJ7DOYXgmIdYGOH5M4bji0NqBY/reFAqh 21UTLfVhABF/fuNMHt17PZR/VZojokdtkfsZVQlUQ9K6qIn3QrDbmsAc0Ux2yCCq5o8Y IyjQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Bl4kmcGwcbL0QI9zZzG8ebrx0FfXrmxwyQuh29q0y+o=; b=RUqM8grYNDYjuUccrh/rHYNQ2ds4madGsvIpsq9Wk0/8LTYMReVmNRz+qB/Qt51bjq MFqpN0j8xINWOsc/dJw44Y+PC/RZmkP0RPX/J5WHrTwZxbnrPX0oP532aLZgqOhq+1EM vcdaqb3sTvTDV7x4nlFnRFh2DPPZaiV1y0r9mu5Q1bxBeY20I7lwMD7ZmrQyT8HjuJ/P h6ki16joiLu/CUABkDRzdY6s1cMO+6I1k21rC5KY8rkwPpTkIpBk3RPlmFL7DUro0QpV ClvjCSjoMktoQ0TX8jM1ytXM5jAGvM61XxZii5sVgg0uQRgnDhx+hTcuQRA0JUw0E7bO RMpA== X-Gm-Message-State: APjAAAWyOflK+Fa0vmBIE4gdMIjRIV1dHacHgWp75+PpzzNXR2wYR/3x hXIuDGes9cUGRlwVH1pFvYbpBTpa X-Google-Smtp-Source: APXvYqxSbBon3vU0SZiiFutdAuzKP2JRdgirGoGDD0ybyb4T1TjdHDUrqX8jTG1poxUPZphsvWNvag== X-Received: by 2002:ad4:408d:: with SMTP id l13mr1235441qvp.49.1573847101905; Fri, 15 Nov 2019 11:45:01 -0800 (PST) Received: from five.crux.rad.ainfosec.com (209-217-208-226.northland.net. [209.217.208.226]) by smtp.googlemail.com with ESMTPSA id y10sm4649679qkb.55.2019.11.15.11.45.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Nov 2019 11:45:01 -0800 (PST) From: Nick Rosbrook To: xen-devel@lists.xenproject.org Date: Fri, 15 Nov 2019 14:44:10 -0500 Message-Id: X-Mailer: git-send-email 2.19.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Xen-devel] [PATCH v2 03/22] golang/xenlight: define Devid type as int X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Nick Rosbrook , Ian Jackson , kerriganb@ainfosec.com, George Dunlap , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" From: Nick Rosbrook Signed-off-by: Nick Rosbrook Reviewed-by: George Dunlap --- tools/golang/xenlight/xenlight.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/golang/xenlight/xenlight.go b/tools/golang/xenlight/xenlight.go index 640d82f35f..8ac26e63f0 100644 --- a/tools/golang/xenlight/xenlight.go +++ b/tools/golang/xenlight/xenlight.go @@ -81,6 +81,9 @@ func (e Error) Error() string { type Domid uint32 +// Devid is a device ID. +type Devid int + type MemKB uint64 type Uuid C.libxl_uuid