diff options
author | Edgar E. Iglesias <edgar.iglesias@amd.com> | 2024-08-16 15:46:32 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@amd.com> | 2024-09-04 16:50:42 +0200 |
commit | a9fbd5275a66535ac7a450666a51653e46daed83 (patch) | |
tree | 3ffa6e5d5e9d93a7897ecdcdc5fcb3c30b86104e /hw/arm/xen-stubs.c | |
parent | 1af029d799d0ab9a14e11c6e35620c26a3b87945 (diff) | |
download | qemu-a9fbd5275a66535ac7a450666a51653e46daed83.zip qemu-a9fbd5275a66535ac7a450666a51653e46daed83.tar.gz qemu-a9fbd5275a66535ac7a450666a51653e46daed83.tar.bz2 |
hw/arm: xenpvh: Move stubbed functions to xen-stubs.c
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'hw/arm/xen-stubs.c')
-rw-r--r-- | hw/arm/xen-stubs.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/hw/arm/xen-stubs.c b/hw/arm/xen-stubs.c new file mode 100644 index 0000000..4ac6a56 --- /dev/null +++ b/hw/arm/xen-stubs.c @@ -0,0 +1,32 @@ +/* + * Stubs for unimplemented Xen functions for ARM. + * + * SPDX-License-Identifier: MIT + */ + +#include "qemu/osdep.h" +#include "qemu/error-report.h" +#include "qapi/qapi-commands-migration.h" +#include "hw/boards.h" +#include "sysemu/sysemu.h" +#include "hw/xen/xen-hvm-common.h" +#include "hw/xen/arch_hvm.h" + +void arch_handle_ioreq(XenIOState *state, ioreq_t *req) +{ + hw_error("Invalid ioreq type 0x%x\n", req->type); + return; +} + +void arch_xen_set_memory(XenIOState *state, MemoryRegionSection *section, + bool add) +{ +} + +void xen_hvm_modified_memory(ram_addr_t start, ram_addr_t length) +{ +} + +void qmp_xen_set_global_dirty_log(bool enable, Error **errp) +{ +} |