]> xenbits.xensource.com Git - people/pauldu/xenbus.git/commitdiff
Add BUILD_NUMBER to version string in XenStore
authorOwen Smith <owen.smith@citrix.com>
Wed, 29 May 2019 15:20:24 +0000 (16:20 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Wed, 29 May 2019 15:20:24 +0000 (16:20 +0100)
Append BUILD_NUMBER to the version stored in ~/drivers/<index>
This will help determine the exact version of drivers when
troubleshooting issues with limited access to the VMs

Signed-off-by: Owen Smith <owen.smith@citrix.com>
src/xenbus/fdo.c

index 2b9c6907d6fb045b584db961255356f9a9834b8d..60201fce74703e7dd9bcc8506cdcedc78a278ca9 100644 (file)
@@ -2701,12 +2701,13 @@ update:
                         NULL,
                         "drivers",
                         Distribution,
-                        "%s %s %u.%u.%u %s",
+                        "%s %s %u.%u.%u.%u %s",
                         Vendor,
                         Product,
                         MAJOR_VERSION,
                         MINOR_VERSION,
                         MICRO_VERSION,
+                        BUILD_NUMBER,
                         ATTRIBUTES
                         );