[all] refactor cpuInfo function names

This commit is contained in:
Geoffrey McRae
2023-11-19 01:22:09 +11:00
parent 750cab83a3
commit 5d4c1d348c
6 changed files with 11 additions and 10 deletions

View File

@@ -618,7 +618,7 @@ static bool newKVMFRData(KVMFRUserData * dst)
{
int cpus, cores, sockets;
char model[1024];
if (!lgCPUInfo(model, sizeof(model), &cpus, &cores, &sockets))
if (!cpuInfo_get(model, sizeof(model), &cpus, &cores, &sockets))
return false;
KVMFRRecord_VMInfo vmInfo =
@@ -807,7 +807,7 @@ int app_main(int argc, char * argv[])
return LG_HOST_EXIT_FATAL;
DEBUG_INFO("Looking Glass Host (%s)", BUILD_VERSION);
lgDebugCPU();
cpuInfo_log();
struct IVSHMEM shmDev = { 0 };
if (!ivshmemInit(&shmDev))