[host] app: print CPU information on startup

This commit is contained in:
Quantum 2021-08-30 21:52:23 -04:00 committed by Geoffrey McRae
parent c7666b065a
commit e05bb196f0

View File

@ -32,6 +32,7 @@
#include "common/sysinfo.h" #include "common/sysinfo.h"
#include "common/time.h" #include "common/time.h"
#include "common/stringutils.h" #include "common/stringutils.h"
#include "common/cpuinfo.h"
#include <lgmp/host.h> #include <lgmp/host.h>
@ -539,6 +540,7 @@ int app_main(int argc, char * argv[])
return LG_HOST_EXIT_FATAL; return LG_HOST_EXIT_FATAL;
DEBUG_INFO("Looking Glass Host (%s)", BUILD_VERSION); DEBUG_INFO("Looking Glass Host (%s)", BUILD_VERSION);
lgDebugCPU();
struct IVSHMEM shmDev = { 0 }; struct IVSHMEM shmDev = { 0 };
if (!ivshmemInit(&shmDev)) if (!ivshmemInit(&shmDev))