Revision 99afc91d arch_init.c
b/arch_init.c | ||
---|---|---|
44 | 44 |
#include "exec-memory.h" |
45 | 45 |
#include "hw/pcspk.h" |
46 | 46 |
#include "qemu/page_cache.h" |
47 |
#include "qmp-commands.h" |
|
47 | 48 |
|
48 | 49 |
#ifdef DEBUG_ARCH_INIT |
49 | 50 |
#define DPRINTF(fmt, ...) \ |
... | ... | |
1080 | 1081 |
return 0; |
1081 | 1082 |
#endif |
1082 | 1083 |
} |
1084 |
|
|
1085 |
|
|
1086 |
TargetInfo *qmp_query_target(Error **errp) |
|
1087 |
{ |
|
1088 |
TargetInfo *info = g_malloc0(sizeof(*info)); |
|
1089 |
|
|
1090 |
info->arch = TARGET_TYPE; |
|
1091 |
|
|
1092 |
return info; |
|
1093 |
} |
Also available in: Unified diff