qapi: Rename QAPIDoc.Section.name to .tag
[qemu/kevin.git] / hw / i386 / kvm / xen_overlay.h
blob75ecb6b3598ba5b2221b38aeda1671bd6672189e
1 /*
2 * QEMU Xen emulation: Shared/overlay pages support
4 * Copyright © 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
6 * Authors: David Woodhouse <dwmw2@infradead.org>
8 * This work is licensed under the terms of the GNU GPL, version 2 or later.
9 * See the COPYING file in the top-level directory.
12 #ifndef QEMU_XEN_OVERLAY_H
13 #define QEMU_XEN_OVERLAY_H
15 void xen_overlay_create(void);
17 int xen_overlay_map_shinfo_page(uint64_t gpa);
18 void *xen_overlay_get_shinfo_ptr(void);
20 int xen_sync_long_mode(void);
21 int xen_set_long_mode(bool long_mode);
22 bool xen_is_long_mode(void);
24 void xen_overlay_do_map_page(MemoryRegion *page, uint64_t gpa);
26 #endif /* QEMU_XEN_OVERLAY_H */