|
From: | Sebastian Herbszt |
Subject: | [Qemu-devel] Re: [PATCH v2 6/6] Pass cpu speed into SM BIOS. |
Date: | Mon, 25 Aug 2008 21:15:51 +0200 |
Gleb Natapov wrote: <snip>
+#define CPUFREQ_PREFIX "/sys/devices/system/cpu"
<snip>>
+ f = fopen("/proc/cpuinfo", "r");
<snip> How stable are the values provided by those files? AFAIK the data from /proc/cpuinfo does change if cpufreq is used. Could this somehow "hurt" the VM, e.g. by SMBIOS table value possibly changing on consecutive qemu starts? - Sebastian
[Prev in Thread] | Current Thread | [Next in Thread] |