From patchwork Mon Oct 7 15:12:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Rosbrook X-Patchwork-Id: 11177777 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 F0C6C15AB for ; Mon, 7 Oct 2019 15:14:49 +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 CC96D21479 for ; Mon, 7 Oct 2019 15:14:49 +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="uS/ydvqj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CC96D21479 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 1iHUhd-0006mJ-O3; Mon, 07 Oct 2019 15:13:37 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iHUhc-0006lv-N4 for xen-devel@lists.xenproject.org; Mon, 07 Oct 2019 15:13:36 +0000 X-Inumbo-ID: ff994f88-e914-11e9-8c93-bc764e2007e4 Received: from mail-qt1-x843.google.com (unknown [2607:f8b0:4864:20::843]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id ff994f88-e914-11e9-8c93-bc764e2007e4; Mon, 07 Oct 2019 15:13:20 +0000 (UTC) Received: by mail-qt1-x843.google.com with SMTP id u22so19590655qtq.13 for ; Mon, 07 Oct 2019 08:13:20 -0700 (PDT) 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=otLA6Fkhh5XtEMm18WJHRmnbLI/KLG2HVoo+fAaHpwc=; b=uS/ydvqjYgsU+TkaZObT078vcuiFapvWDFxkjqJQp/mDii9wFX6XkQondnXjzTkoJe hyMHonLmENRjqrSOkBRlM+khMiZkptTqWDnJTw23p/mZoGWYh5za3cQm5otOxowHG4xB 5F82+l5bvpSNFuCzHHx5OAs71UzQVrwsm5PB08Hh8qX60VE/WHhnqIJlQkYaqtEgw3e+ nxX8oWEbYk+MkJxAjpyiIlGWbi7Zh47tum/L38SbzF0lGtPEPvVeytPpRGCVfVcsoDzV 51HelY5iuAn7XBYRmLUxdhJ/tPxnjH0ICUiXv6LQdH6EwMpMe2IcX/2Yq26AX3+t59Ex q4Sw== 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=otLA6Fkhh5XtEMm18WJHRmnbLI/KLG2HVoo+fAaHpwc=; b=ugIMXGP+ph3GLpT64ahm7UEfixSRqiMKUv25Q+nOXQlXm7/SLaHcqL+HFoAx60QlWz zZdFYxmlX7IVz6VNCbC+BnfyvvS88DhNIRo5Kj3BL/FRStWy3gpPR4LhTaIYbvpf9/NI qQNCPQvWCu7QejINZZ1ea05xBAQoLTLQggLvBZ2r/SgoAB7AZcZv0Abg9L5XrMnatbGT aXpczORLNTVMbSClUyxoKm8j1X9l0QdHtm997WK1dKUdlwBvpDRMHHroSUfGLtyRnp6/ oTwVTq1tLNX5c+AihvcmbU0jDU8THMAR2Z+aQeOJdrEoxe8wqHffFh7l3CyBochUmlqb 2/pg== X-Gm-Message-State: APjAAAWJ6QFzHDe36JHqUzyf6xL+9v+7WOwevJojgCe4n5tqljstYpPA glbzmIv/buhfMwBVjxi3tt+R9b48 X-Google-Smtp-Source: APXvYqyry27NHhLb8boxb+vIO2WAi4BT6bDhk4JQ7OADkVD/6ZJqu3tFI2fDghE6yD19phS1yr4FFA== X-Received: by 2002:a0c:ebc4:: with SMTP id k4mr24633678qvq.250.1570461200223; Mon, 07 Oct 2019 08:13:20 -0700 (PDT) Received: from five.crux.rad.ainfosec.com (209-217-208-226.northland.net. [209.217.208.226]) by smtp.googlemail.com with ESMTPSA id c185sm8354313qkg.74.2019.10.07.08.13.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2019 08:13:19 -0700 (PDT) From: Nick Rosbrook To: xen-devel@lists.xenproject.org Date: Mon, 7 Oct 2019 11:12:51 -0400 Message-Id: X-Mailer: git-send-email 2.19.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Xen-devel] [PATCH 04/24] 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 --- Cc: George Dunlap Cc: Ian Jackson Cc: Wei Liu 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 7bf16dc03b..4d4fad2a9d 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