Mailing List Archive

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.



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
RE: windows related questions [ In reply to ]
>
> 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.

>
> 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
RE: windows related questions [ In reply to ]
On Mon, 2011-04-18 at 07:36 +1000, James Harper wrote:
> >
> > 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.
>

Thank's

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

--
Vasiliy G Tolstov <v.tolstov@selfip.ru>
Selfip.Ru


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
RE: windows related questions [ In reply to ]
On Mon, 2011-04-18 at 07:36 +1000, James Harper wrote:
> >
> > 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.

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?


--
Vasiliy G Tolstov <v.tolstov@selfip.ru>
Selfip.Ru


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel