windows related questions
Hello. Can somebody tell me, if i use win-gpl-pv drivers, how can i access xenstore?
I found one project in github with patch, but it apply cleanly only on top of old revision of drivers. (containt gntmem and xenstore userspace libs) (github.com/smowton/xen-pv-windows-evtchn) Can somebody forward port it to newer version?
How can i write application, what read some info from xenstore under windows?
And second question - does windows gpl-pv drivers contains some code to emulate serial devices like in Linux (/dev/hvc0) ?
Thank You for all answers and helpful links.
Quoted 9 lines
Hello. Can somebody tell me, if i use win-gpl-pv drivers, how can i access xenstore?
I found one project in github with patch, but it apply cleanly only on top of old revision of drivers. (containt gntmem and xenstore userspace libs) (github.com/smowton/xen-pv-windows-evtchn) Can somebody forward port it to newer version?
How can i write application, what read some info from xenstore under windows?
The shutdownmon in gplpv uses xenstore to do its thing. The interface isn't well tested beyond the watch/read/write that shutdownmon does but if you find any bugs I can fix them.
What's missing though is a userspace library to do the dirty work for you, so you need to talk to the io interface directly. Have a look at the shutdownmon code.
Quoted 4 lines
And second question - does windows gpl-pv drivers contains some code to emulate serial devices like in Linux (
/dev/hvc0) ?
No. What sort of use did you have in mind?
James
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 10 lines · James Harper
Quoted 9 lines
Hello. Can somebody tell me, if i use win-gpl-pv drivers, how can i access xenstore?
I found one project in github with patch, but it apply cleanly only on top of old revision of drivers. (containt gntmem and xenstore userspace libs) (github.com/smowton/xen-pv-windows-evtchn) Can somebody forward port it to newer version?
How can i write application, what read some info from xenstore under windows?
Quoted 4 lines
The shutdownmon in gplpv uses xenstore to do its thing. The interface isn't well tested beyond the watch/read/write that shutdownmon does but if you find any bugs I can fix them.
What's missing though is a userspace library to do the dirty work for you, so you need to talk to the io interface directly. Have a look at the shutdownmon code.
Thank's
Quoted 8 lines
Quoted 4 lines
And second question - does windows gpl-pv drivers contains some code to emulate serial devices like in Linux (
/dev/hvc0) ?No. What sort of use did you have in mind?
James
I want to able to send some command to userspace daemon, for example - kill some task if the network (tcp/ip) not respond...
Signature · 2 lines
Vasiliy G Tolstov <[email protected]> Selfip.Ru
Quoted 10 lines · James Harper
Quoted 9 lines
Hello. Can somebody tell me, if i use win-gpl-pv drivers, how can i access xenstore?
I found one project in github with patch, but it apply cleanly only on top of old revision of drivers. (containt gntmem and xenstore userspace libs) (github.com/smowton/xen-pv-windows-evtchn) Can somebody forward port it to newer version?
How can i write application, what read some info from xenstore under windows?
Quoted 3 lines
The shutdownmon in gplpv uses xenstore to do its thing. The interface isn't well tested beyond the watch/read/write that shutdownmon does but if you find any bugs I can fix them.
What's missing though is a userspace library to do the dirty work for you, so you need to talk to the io interface directly. Have a look at the shutdownmon code.
Can You provide some example of xs_write under windows ? What i need to modify in xs_read of shutdownmon to write some info to xenstore?
Signature · 2 lines
Vasiliy G Tolstov <[email protected]> Selfip.Ru