diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-09-08 17:55:29 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-30 19:11:36 +0200 |
commit | c834596f7916c3ec0719c1ab341186bae17ebba0 (patch) | |
tree | 5885bc1070797ca39fcd2fe6cdbe6ef7a4e4b0f4 /include/hw/xen/xen-x86.h | |
parent | 71f364b703119a319e6ac423c9446849d010abf3 (diff) |
hw/xen: Split x86-specific declaration from generic hardware ones
xen_hvm_init() is restricted to the X86 architecture.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200908155530.249806-6-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/xen/xen-x86.h')
-rw-r--r-- | include/hw/xen/xen-x86.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/hw/xen/xen-x86.h b/include/hw/xen/xen-x86.h new file mode 100644 index 0000000000..85e3db1b8d --- /dev/null +++ b/include/hw/xen/xen-x86.h @@ -0,0 +1,15 @@ +/* + * Xen X86-specific + * + * Copyright 2020 Red Hat, Inc. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ +#ifndef QEMU_HW_XEN_X86_H +#define QEMU_HW_XEN_X86_H + +#include "hw/i386/pc.h" + +void xen_hvm_init_pc(PCMachineState *pcms, MemoryRegion **ram_memory); + +#endif /* QEMU_HW_XEN_X86_H */ |