Browse Source
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>pull/88/head
3 changed files with 7 additions and 0 deletions
@ -0,0 +1,4 @@ |
|||
#include "qemu/osdep.h" |
|||
#include "sysemu/arch_init.h" |
|||
|
|||
const uint32_t arch_type = QEMU_ARCH_NONE; |
|||
Loading…
Reference in new issue