]> xenbits.xensource.com Git - people/liuw/xen.git/commitdiff
golang/xenlight: define Devid type as int
authorNick Rosbrook <rosbrookn@ainfosec.com>
Mon, 16 Dec 2019 18:08:00 +0000 (18:08 +0000)
committerGeorge Dunlap <george.dunlap@citrix.com>
Mon, 16 Dec 2019 18:08:00 +0000 (18:08 +0000)
Signed-off-by: Nick Rosbrook <rosbrookn@ainfosec.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
tools/golang/xenlight/xenlight.go

index 640d82f35f12c227e30dc7c9ab9385c17407c134..8ac26e63f0842e4253ad79054c4ae2c76a5a21fb 100644 (file)
@@ -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