stubs: Add arch_type
authorKevin Wolf <kwolf@redhat.com>
Mon, 24 Feb 2020 14:29:50 +0000 (15:29 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 6 Mar 2020 16:15:38 +0000 (17:15 +0100)
commit5964ed56d9a138c1172db1335c65bda42c4f6260
tree074b731956855e42a4d1bd58df71fdb80cf6ba91
parentf353415ffdadc9ed188e022855064401f9b2654e
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>
include/sysemu/arch_init.h
stubs/Makefile.objs
stubs/arch_type.c [new file with mode: 0644]