Loading util/oslib-win32.c +6 −1 Original line number Diff line number Diff line Loading @@ -831,6 +831,11 @@ char *qemu_get_host_name(Error **errp) size_t qemu_get_host_physmem(void) { /* currently unimplemented */ MEMORYSTATUSEX statex; statex.dwLength = sizeof(statex); if (GlobalMemoryStatusEx(&statex)) { return statex.ullTotalPhys; } return 0; } Loading
util/oslib-win32.c +6 −1 Original line number Diff line number Diff line Loading @@ -831,6 +831,11 @@ char *qemu_get_host_name(Error **errp) size_t qemu_get_host_physmem(void) { /* currently unimplemented */ MEMORYSTATUSEX statex; statex.dwLength = sizeof(statex); if (GlobalMemoryStatusEx(&statex)) { return statex.ullTotalPhys; } return 0; }