From fc199d218459493603d1ce01b945ced5cd346e3b Mon Sep 17 00:00:00 2001 From: Owen Smith Date: Wed, 29 May 2019 16:20:24 +0100 Subject: [PATCH] Add BUILD_NUMBER to version string in XenStore Append BUILD_NUMBER to the version stored in ~/drivers/ This will help determine the exact version of drivers when troubleshooting issues with limited access to the VMs Signed-off-by: Owen Smith --- 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 2b9c690..60201fc 100644 --- a/src/xenbus/fdo.c +++ b/src/xenbus/fdo.c @@ -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 ); -- 2.39.5