OSDN Git Service

xen: Expect xenstore write to fail when restricted
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Mon, 5 Mar 2018 10:07:46 +0000 (10:07 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 26 Apr 2018 15:29:51 +0000 (16:29 +0100)
commit4473348adf6640ca12b95bc29d1b06796994afb2
tree52ee76c02eb0cca3f4e06e2b65b2583ea591453a
parent1c4010fa09971bcb8c696aa1df350263a2bd0298
xen: Expect xenstore write to fail when restricted

Saving the current state to xenstore may fail when running restricted
(in particular, after a migration). Therefore, don't report the error or
exit when running restricted.  Toolstacks that want to allow running
QEMU restricted should instead make use of QMP events to listen for
state changes.

CC: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Reviewed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
hw/xen/xen-common.c