Skip to content

Commit b87f8bf

Browse files
authored
Add debug logging for missing PIT/AT timer
Log a debug message if the timer is not found.
1 parent 4a441cd commit b87f8bf

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/vmaware.hpp

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11191,9 +11191,14 @@ struct VM {
1119111191
if (found) break;
1119211192
}
1119311193

11194-
free(buffer);
11195-
SetupDiDestroyDeviceInfoList(devs);
11196-
return !found;
11194+
free(buffer);
11195+
SetupDiDestroyDeviceInfoList(devs);
11196+
11197+
if (!found) {
11198+
debug("CLOCK: PIT/AT (PNP0100) timer not found");
11199+
}
11200+
11201+
return !found;
1119711202
}
1119811203
// ADD NEW TECHNIQUE FUNCTION HERE
1119911204
#endif

0 commit comments

Comments
 (0)