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

[XENVBD PATCH v3 2/2] Merge all hardware IDs into one Models entry



This makes sure that on driver installation, all supported hardware IDs
will be populated into the driver database, thus allowing the device ID
to be freely switched without causing boot installation issues.

Bump the feature score to compensate for the resulting degradation of
identifier-match-type score.

Unlike Xenbus, the feature score bump can be reverted on next PDO
revision bump.

Signed-off-by: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx>
---
 src/xenvbd.inf | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/xenvbd.inf b/src/xenvbd.inf
index 0de71d1..d397210 100644
--- a/src/xenvbd.inf
+++ b/src/xenvbd.inf
@@ -54,12 +54,15 @@ xendisk.sys=0,,
 %Vendor%=Inst,NT@INF_ARCH@
 
 [Inst.NT@INF_ARCH@]
-%XenVbdName%=XenVbd_Inst,XENBUS\VEN_@VENDOR_PREFIX@@VENDOR_DEVICE_ID@&DEV_VBD&REV_0900000B
-%XenVbdName%=XenVbd_Inst,XENBUS\VEN_@VENDOR_PREFIX@0001&DEV_VBD&REV_0900000B
-%XenVbdName%=XenVbd_Inst,XENBUS\VEN_@VENDOR_PREFIX@0002&DEV_VBD&REV_0900000B
+%XenVbdName%=XenVbd_Inst,\
+XENBUS\VEN_@VENDOR_PREFIX@@VENDOR_DEVICE_ID@&DEV_VBD&REV_0900000B\
+,XENBUS\VEN_@VENDOR_PREFIX@0001&DEV_VBD&REV_0900000B\
+,XENBUS\VEN_@VENDOR_PREFIX@0002&DEV_VBD&REV_0900000B
 
 [XenVbd_Inst] 
 CopyFiles=XenVbd_Copyfiles
+; TODO: Remove during next PDO version bump
+FeatureScore=0xFE
 
 [XenVbd_Copyfiles]
 xenvbd.sys
-- 
2.50.1.windows.1



Ngoc Tu Dinh | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech




 


Rackspace

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