Searched hist:"705 be570941b38cd1cbebc68f7f671ce7532ecb0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/xen/ |
H A D | xen-bus.c | diff 705be570941b38cd1cbebc68f7f671ce7532ecb0 Fri Aug 23 05:15:34 CDT 2019 Anthony PERARD <anthony.perard@citrix.com> xen-bus: Avoid rewriting identical values to xenstore
When QEMU receives a xenstore watch event suggesting that the "state" of the frontend changed, it records this in its own state but it also re-write the value back into xenstore even so there were no change. This triggers an unnecessary xenstore watch event which QEMU will process again (and maybe the frontend as well). Also QEMU could potentially write an already old value.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Paul Durrant <paul.durrant@citrix.com> Message-Id: <20190823101534.465-3-anthony.perard@citrix.com>
|