[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[win-pv-devel] [PATCH] Add BUILD_NUMBER to version string in XenStore


  • To: <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Owen Smith <owen.smith@xxxxxxxxxx>
  • Date: Tue, 28 May 2019 12:34:40 +0100
  • Authentication-results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=owen.smith@xxxxxxxxxx; spf=Pass smtp.mailfrom=owen.smith@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxxxxxxxxxxxxx
  • Cc: Owen Smith <owen.smith@xxxxxxxxxx>
  • Delivery-date: Tue, 28 May 2019 11:35:14 +0000
  • Ironport-sdr: 5PX0PR6zpoySMiIri09UfYW0vXSZorVUgtUygxhIvffM4GpyDT3u1QibZhEibNV2vs1je28qkr vZQaVQ6p7yXOi7r6LRQhsoGkjwl8ViILdnrGwDP7HbrI+y1cKZ3dQWgfIVpYDbD238Mj9XMGK2 eTzhrPsCR54wlYa02eJ3LCa2ImOsAeh6288fuVIncW8bJoTmS0X32lqhISHbEJzE/GORRXutkq N9tCQPHfxptDZis8B9bQK1+THxYAxrgphYMlngi3Wk0XR2Qt6jdMiR/b95ehFWUNbb+YjSV39I Sqk=
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

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@xxxxxxxxxx>
---
 src/xenbus/fdo.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/xenbus/fdo.c b/src/xenbus/fdo.c
index 8ca8f52..728419d 100644
--- a/src/xenbus/fdo.c
+++ b/src/xenbus/fdo.c
@@ -2593,12 +2593,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
                         );
 
-- 
2.16.2.windows.1


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.