diff options
author | Kevin Wolf | 2020-02-24 15:29:50 +0100 |
---|---|---|
committer | Kevin Wolf | 2020-03-06 17:15:38 +0100 |
commit | 5964ed56d9a138c1172db1335c65bda42c4f6260 (patch) | |
tree | 074b731956855e42a4d1bd58df71fdb80cf6ba91 /include/sysemu/arch_init.h | |
parent | qemu-storage-daemon: Add barebone tool (diff) | |
download | qemu-5964ed56d9a138c1172db1335c65bda42c4f6260.tar.gz qemu-5964ed56d9a138c1172db1335c65bda42c4f6260.tar.xz qemu-5964ed56d9a138c1172db1335c65bda42c4f6260.zip |
stubs: Add arch_type
blockdev.c uses the arch_type constant, so before we can use the file in
tools (i.e. outside of the system emulator), we need to add a stub for
it. A new QEMU_ARCH_NONE is introduced for this case.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200224143008.13362-3-kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/sysemu/arch_init.h')
-rw-r--r-- | include/sysemu/arch_init.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysemu/arch_init.h b/include/sysemu/arch_init.h index 62c6fe4cf1..01392dc945 100644 --- a/include/sysemu/arch_init.h +++ b/include/sysemu/arch_init.h @@ -24,6 +24,8 @@ enum { QEMU_ARCH_NIOS2 = (1 << 17), QEMU_ARCH_HPPA = (1 << 18), QEMU_ARCH_RISCV = (1 << 19), + + QEMU_ARCH_NONE = (1 << 31), }; extern const uint32_t arch_type; |