OSDN Git Service

hw/xen: Add basic ring handling to xenstore
authorDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 28 Dec 2022 10:06:49 +0000 (10:06 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 1 Mar 2023 09:08:26 +0000 (09:08 +0000)
commitf3341e7b91548c38d484285307c23b8f9ce73307
treed98528c7341c5c6df14586975e560eaabc0b12a1
parentc08f5d0e53b00f101c6aab7b5c7eabe22bab1962
hw/xen: Add basic ring handling to xenstore

Extract requests, return ENOSYS to all of them. This is enough to allow
older Linux guests to boot, as they need *something* back but it doesn't
matter much what.

A full implementation of a single-tentant internal XenStore copy-on-write
tree with transactions and watches is waiting in the wings to be sent in
a subsequent round of patches along with hooking up the actual PV disk
back end in qemu, but this is enough to get guests booting for now.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/i386/kvm/xen_xenstore.c