summary refs log tree commit diff stats
path: root/fsdev/virtfs-proxy-helper.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2023-04-12 19:51:02 +0100
committerAnthony PERARD <anthony.perard@citrix.com>2023-06-07 15:07:10 +0100
commitc9bdfe8d587c1a6a8fc2e0ff97343745a9f5f247 (patch)
tree3c290e8fa48fe0d923703cc35635f92ec7396889 /fsdev/virtfs-proxy-helper.c
parent2f20b1732d44c7eb1abcb611fdb07a96dbf40a17 (diff)
downloadfocaccia-qemu-c9bdfe8d587c1a6a8fc2e0ff97343745a9f5f247.tar.gz
focaccia-qemu-c9bdfe8d587c1a6a8fc2e0ff97343745a9f5f247.zip
hw/xen: Fix broken check for invalid state in xs_be_open()
Coverity points out that if (!s && !s->impl) isn't really what we intended
to do here. CID 1508131.

Fixes: 032475127225 ("hw/xen: Add emulated implementation of XenStore operations")
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230412185102.441523-6-dwmw2@infradead.org>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'fsdev/virtfs-proxy-helper.c')
0 files changed, 0 insertions, 0 deletions