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

Re: [XENBUS PATCH v2 6/7] Enable Xenbus precedence



On 23/07/2025 15:58, Tu Dinh wrote:
> Define precedence values based on each device's numeric device ID.
> 
> This ensures that vendor devices always get activated instead of the
> generic ones.
> 
> Signed-off-by: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx>
> ---
>   src/xenbus.inf | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/src/xenbus.inf b/src/xenbus.inf
> index 7cc9ac2..30274e2 100644
> --- a/src/xenbus.inf
> +++ b/src/xenbus.inf
> @@ -120,6 +120,9 @@ AddReg = XenFilt_Parameters
>   HKR,"Parameters",,0x00000010
>   HKR,"Parameters","*PNP0A03",0x00000000,"PCI"
>   HKR,"Parameters","Internal_IDE_Channel",0x00000000,"IDE"
> +HKR,"Parameters","PCI\VEN_5853&DEV_0001",0x00010001,0x0001
> +HKR,"Parameters","PCI\VEN_5853&DEV_0002",0x00010001,0x0002
> +HKR,"Parameters","PCI\VEN_5853&DEV_C000",0x00010001,0x@VENDOR_DEVICE_ID@

The device ID should be "PCI\VEN_5853&DEV_@VENDOR_DEVICE_ID@" (but I'll 
probably drop vendor devices from forced activation in the next version; 
the commit message thus needs changing too)

>   
>   [Monitor_Service]
>   DisplayName=%MonitorName%



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®.