mhz is our piece of code which displays the actual frequency of the Core i7
- download and compile the source code
$ gcc mhz.c -o mhz
- change for root the owner of the executable, then change its attributs with a setuid.
# chown root mhz # chmod u+s mhz
- make sure to load before, the following Linux daemons which provide access to the MSR registers and the SMBIOS structures
# modprobe msr # modprobe dmi-sysfs
- then run the program with core number as the only argument.
$ mhz 3 3200
Following our article how to install Xen for Debian within ArchLinux, we were stuck with packages issues between virt-manager and the Wheezy distribution.
Using command line, we successfully created a Wheezy Debian virtual machine, named VPC1 for that case.
Disappointed not being able to use the virt-manager with Debian, we then proceeded to install the OpenSUSE 64-bit overriding the Debian partition.
Back to ArchLinux, we are now running the previous virtual disk VPC1.img under KVM plus virt-manager. Here are shown the screenshots of the result.
The Wiki gives the step by step instructions to install Debian and Xen Hypervisor straight from ArchLinux.