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