Displaying 2 results from an estimated 2 matches for "phyaddr_bit".
Did you mean:
phyaddr_bits
2012 Apr 30
4
[PATCHv2] x86info: dump kvm cpuid's
...ast one CPUID besides
+ * the vendor ID so assume that.
+ */
+ cpu->maxhv = maxhv ? maxhv : 0x40000001;
+ } else {
+ /* Suppress hypervisor cpuid unless running on a hypervisor */
+ cpu->maxhv = 0;
+ }
cpuid(cpu->number, 0x80000008,&address_bits, NULL, NULL, NULL);
cpu->phyaddr_bits = address_bits & 0xFF;
diff --git a/x86info.c b/x86info.c
index 22c4734..80cae36 100644
--- a/x86info.c
+++ b/x86info.c
@@ -44,6 +44,10 @@ static void display_detailed_info(struct cpudata *cpu)
if (cpu->maxei2 >=0xC0000000)
dump_raw_cpuid(cpu->number, 0xC0000000, cpu->maxe...
2012 Apr 30
4
[PATCHv2] x86info: dump kvm cpuid's
...ast one CPUID besides
+ * the vendor ID so assume that.
+ */
+ cpu->maxhv = maxhv ? maxhv : 0x40000001;
+ } else {
+ /* Suppress hypervisor cpuid unless running on a hypervisor */
+ cpu->maxhv = 0;
+ }
cpuid(cpu->number, 0x80000008,&address_bits, NULL, NULL, NULL);
cpu->phyaddr_bits = address_bits & 0xFF;
diff --git a/x86info.c b/x86info.c
index 22c4734..80cae36 100644
--- a/x86info.c
+++ b/x86info.c
@@ -44,6 +44,10 @@ static void display_detailed_info(struct cpudata *cpu)
if (cpu->maxei2 >=0xC0000000)
dump_raw_cpuid(cpu->number, 0xC0000000, cpu->maxe...