* windows related questions
@ 2011-04-17 21:04 Vasiliy G Tolstov
2011-04-17 21:36 ` James Harper
0 siblings, 1 reply; 4+ messages in thread
From: Vasiliy G Tolstov @ 2011-04-17 21:04 UTC (permalink / raw)
To: xen-devel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: windows related questions
2011-04-17 21:04 windows related questions Vasiliy G Tolstov
@ 2011-04-17 21:36 ` James Harper
2011-04-18 6:50 ` Vasiliy G Tolstov
2011-04-28 13:29 ` Vasiliy G Tolstov
0 siblings, 2 replies; 4+ messages in thread
From: James Harper @ 2011-04-17 21:36 UTC (permalink / raw)
To: v.tolstov, xen-devel
[-- Attachment #1: Type: text/plain, Size: 971 bytes --]
>
> 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
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: windows related questions
2011-04-17 21:36 ` James Harper
@ 2011-04-18 6:50 ` Vasiliy G Tolstov
2011-04-28 13:29 ` Vasiliy G Tolstov
1 sibling, 0 replies; 4+ messages in thread
From: Vasiliy G Tolstov @ 2011-04-18 6:50 UTC (permalink / raw)
To: James Harper; +Cc: xen-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: windows related questions
2011-04-17 21:36 ` James Harper
2011-04-18 6:50 ` Vasiliy G Tolstov
@ 2011-04-28 13:29 ` Vasiliy G Tolstov
1 sibling, 0 replies; 4+ messages in thread
From: Vasiliy G Tolstov @ 2011-04-28 13:29 UTC (permalink / raw)
To: James Harper; +Cc: xen-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-04-28 13:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-17 21:04 windows related questions Vasiliy G Tolstov
2011-04-17 21:36 ` James Harper
2011-04-18 6:50 ` Vasiliy G Tolstov
2011-04-28 13:29 ` Vasiliy G Tolstov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.