diff options
author | David Woodhouse <dwmw@amazon.co.uk> | 2023-01-19 00:04:31 +0000 |
---|---|---|
committer | David Woodhouse <dwmw@amazon.co.uk> | 2023-03-07 17:04:30 +0000 |
commit | 032475127225e5949c021dcb1dfcc0ffec400157 (patch) | |
tree | 7a38c417e416225ee9e0b6f1b4addb619f7ff2b1 /qobject/json-parser-int.h | |
parent | b08d88e30f061d5d8ae080a453a078214d4b462a (diff) | |
download | qemu-032475127225e5949c021dcb1dfcc0ffec400157.zip qemu-032475127225e5949c021dcb1dfcc0ffec400157.tar.gz qemu-032475127225e5949c021dcb1dfcc0ffec400157.tar.bz2 |
hw/xen: Add emulated implementation of XenStore operations
Now that we have an internal implementation of XenStore, we can populate
the xenstore_backend_ops to allow PV backends to talk to it.
Watches can't be processed with immediate callbacks because that would
call back into XenBus code recursively. Defer them to a QEMUBH to be run
as appropriate from the main loop. We use a QEMUBH per XS handle, and it
walks all the watches (there shouldn't be many per handle) to fire any
which have pending events. We *could* have done it differently but this
allows us to use the same struct watch_event as we have for the guest
side, and keeps things relatively simple.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
Diffstat (limited to 'qobject/json-parser-int.h')
0 files changed, 0 insertions, 0 deletions