summaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
authorAnthony PERARD2019-08-23 12:15:34 +0200
committerAnthony PERARD2019-08-27 15:18:28 +0200
commit705be570941b38cd1cbebc68f7f671ce7532ecb0 (patch)
treecd0383fd2ad62e8e46a39b17164989b83508e733 /exec.c
parentxen-bus: Fix backend state transition on device reset (diff)
downloadqemu-705be570941b38cd1cbebc68f7f671ce7532ecb0.tar.gz
qemu-705be570941b38cd1cbebc68f7f671ce7532ecb0.tar.xz
qemu-705be570941b38cd1cbebc68f7f671ce7532ecb0.zip
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>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions