xref: /qemu/hw/arm/xen-stubs.c (revision 019fbfa4bcd2d3a835c241295e22ab2b5b56129b)
1 /*
2  * Stubs for unimplemented Xen functions for ARM.
3  *
4  * SPDX-License-Identifier: MIT
5  */
6 
7 #include "qemu/osdep.h"
8 #include "qapi/qapi-commands-migration.h"
9 #include "system/xen.h"
10 #include "hw/hw.h"
11 #include "hw/xen/xen-hvm-common.h"
12 #include "hw/xen/arch_hvm.h"
13 
arch_handle_ioreq(XenIOState * state,ioreq_t * req)14 void arch_handle_ioreq(XenIOState *state, ioreq_t *req)
15 {
16     hw_error("Invalid ioreq type 0x%x\n", req->type);
17 }
18 
arch_xen_set_memory(XenIOState * state,MemoryRegionSection * section,bool add)19 void arch_xen_set_memory(XenIOState *state, MemoryRegionSection *section,
20                          bool add)
21 {
22 }
23 
xen_hvm_modified_memory(ram_addr_t start,ram_addr_t length)24 void xen_hvm_modified_memory(ram_addr_t start, ram_addr_t length)
25 {
26 }
27 
qmp_xen_set_global_dirty_log(bool enable,Error ** errp)28 void qmp_xen_set_global_dirty_log(bool enable, Error **errp)
29 {
30 }
31