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

Re: [win-pv-devel] XENIFACE not attaching to XENBUS



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2015-05-20 20:53, RafaÅ WojdyÅa wrote:
> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> 
> On 2015-05-20 16:15, Paul Durrant wrote:
>>> -----Original Message----- From: 
>>> win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx [mailto:win-pv-devel-
>>> bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of Rafal Wojdyla Sent:
>>> 20 May 2015 11:05 To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
>>> Subject: [win-pv-devel] XENIFACE not attaching to XENBUS
>>> 
>> Hello,
>> 
>> I've noticed something strange when I was experimenting with 
>> adding new APIs to Xenbus. I added a Store API to set key 
>> permissions and incremented the store interface version as usual
>>  (to 2 from 1).

[...snip...]

>>> However, since you did not modify the inf, xeniface should 
>>> still be binding to revision 1 of the PDO and your log shows 
>>> that is still being created. The doc at 
>>> https://msdn.microsoft.com/en-us/library/windows/hardware/ff539950%2
8v=vs.85%29.aspx
>>>
>>> 
says that the maximum number is 64 and there are only 0x28 (40) in
>>> the list so the old compatible ID should still be there. You 
>>> should be able to check via device manager to make sure 
>>> though.

I think I've got it. We're hitting the other limit mentioned in that
MSDN page: "The maximum number of characters in a compatible ID list,
including a NULL terminator after each compatible ID and a final NULL
terminator, is REGSTR_VAL_MAX_HCID_LEN." This is 1024. 1024/40 is 25,
but our IDs are longer than that. I guess I'll remove the oldest
interface versions during testing until some better solution is found. :
)

- -- 
RafaÅ WojdyÅa
Qubes Tools for Windows developer
-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJVXN8BAAoJEIWi9rB2GrW78dIH/jkKZDr3GUvu8NwlSLEqIpx/
BAKIoB8M9uRbFUBR5WfJ/tbQYKnrkudcw+H+/1Fg9ZsrM+CW844ZfYpfRjbXL+U/
pYGB1xN4nRj1eUPHgXBzknMvXmuH7MwhehKBf25NoeYoYl1bxwEzuhwQzOl3PZOZ
pUzm9koDY37t55tggtIsG+3ZK6MhLVHjdtI/yk8YXaU9iRtGAMBRJ4A3/mL7SSO3
aDRb9K/nleOmDZpQZY45dkG4Bflj++0Eyw4JY/wqrRTtfUy5QDq/w0skIWXn3HN/
GtvIGr+CBllPlUH5fC8hAISS5t58sX1R9Q8o+HdP6PzhQ+JPz1R5yc1IRUYAeAw=
=ggVX
-----END PGP SIGNATURE-----

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

 


Rackspace

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