qemu/hw/i386/kvm/xen_xenstore.h
David Woodhouse c08f5d0e53 hw/xen: Add xen_xenstore device for xenstore emulation
Just the basic shell, with the event channel hookup. It only dumps the
buffer for now; a real ring implmentation will come in a subsequent patch.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
2023-03-01 09:08:26 +00:00

20 lines
508 B
C

/*
* QEMU Xen emulation: Xenstore emulation
*
* Copyright © 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Authors: David Woodhouse <dwmw2@infradead.org>
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#ifndef QEMU_XEN_XENSTORE_H
#define QEMU_XEN_XENSTORE_H
void xen_xenstore_create(void);
int xen_xenstore_reset(void);
uint16_t xen_xenstore_get_port(void);
#endif /* QEMU_XEN_XENSTORE_H */