Re: [Qemu-devel] [PATCH 05/18] xen: add xenstore watcher infratructure

2018-12-05 Thread Paul Durrant
> -Original Message- > From: Anthony PERARD [mailto:anthony.per...@citrix.com] > Sent: 03 December 2018 14:43 > To: Paul Durrant > Cc: qemu-bl...@nongnu.org; qemu-devel@nongnu.org; xen- > de...@lists.xenproject.org; Kevin Wolf ; Max Reitz > ; Stefano Stabellini > Subject: Re: [PATCH 05/18

Re: [Qemu-devel] [PATCH 05/18] xen: add xenstore watcher infratructure

2018-12-03 Thread Anthony PERARD
On Wed, Nov 21, 2018 at 03:11:58PM +, Paul Durrant wrote: > A Xen PV frontend communicates its state to the PV backend by writing to > the 'state' key in the frontend area in xenstore. It is therefore > necessary for a XenDevice implementation to be notified whenever the > value of this key cha

[Qemu-devel] [PATCH 05/18] xen: add xenstore watcher infratructure

2018-11-21 Thread Paul Durrant
A Xen PV frontend communicates its state to the PV backend by writing to the 'state' key in the frontend area in xenstore. It is therefore necessary for a XenDevice implementation to be notified whenever the value of this key changes. This patch adds code to do this as follows: - an 'fd handler'