Re: [PATCH/RFC] cpuid.c: Provide CPU model information

2013-04-15 Thread David Michael
Hi, On Wed, Apr 3, 2013 at 5:19 AM, Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com wrote: You should probably rather parse smbios tables I couldn't find a way to access SMBIOS information with configuration files, so about a week ago I made a module for this purpose. I've been toying

Re: [PATCH/RFC] cpuid.c: Provide CPU model information

2013-04-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 30.01.2013 21:36, David Michael wrote: insmod cpuid if [ $cpuid_model_name = QEMU Virtual CPU ... This is not a proper way to detect qemu (see -cpu ?). You should probably rather parse smbios tables signature.asc Description: OpenPGP digital signature

[PATCH/RFC] cpuid.c: Provide CPU model information

2013-01-30 Thread David Michael
Hi, I have some disks that can be booted both physically and virtually, and it is helpful to have different options depending on the type of platform being used. It's fine having different menu entries to select at boot time, but I wanted to automate this in the configuration. I didn't find a