From fb2475aed34e5d175df04505bd44e72a9966fba9 Mon Sep 17 00:00:00 2001 From: Nick Rosbrook Date: Mon, 16 Dec 2019 18:08:00 +0000 Subject: [PATCH] golang/xenlight: define Devid type as int 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 -- 2.39.5