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