From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vasiliy G Tolstov Subject: RE: windows related questions Date: Thu, 28 Apr 2011 17:29:16 +0400 Message-ID: <1303997357.9570.2.camel@vase> References: <1303074260.17240.3.camel@mobile> Reply-To: v.tolstov@selfip.ru Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: James Harper Cc: xen-devel List-Id: xen-devel@lists.xenproject.org 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 Selfip.Ru