Displaying 4 results from an estimated 4 matches for "22c4734".
2012 Apr 30
4
[PATCHv2] x86info: dump kvm cpuid's
...= 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->maxei2);
+
+ if (cpu->maxhv >= 0x40000000)
+ dump_raw_cpuid(cpu->numb...
2012 Apr 30
4
[PATCHv2] x86info: dump kvm cpuid's
...= 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->maxei2);
+
+ if (cpu->maxhv >= 0x40000000)
+ dump_raw_cpuid(cpu->numb...
2012 Apr 30
2
x86info: dump kvm cpuid's
...> ---
> >
> > Dave - not sure whether there's a mailing list for x86info.
> > The patch is on top of the master branch in
> > git://git.codemonkey.org.uk/x86info.git
> >
> > Thanks!
> >
> > diff --git a/x86info.c b/x86info.c
> > index 22c4734..dee5ed1 100644
> > --- a/x86info.c
> > +++ b/x86info.c
> > @@ -44,6 +44,7 @@ static void display_detailed_info(struct cpudata *cpu)
> >
> > if (cpu->maxei2 >=0xC0000000)
> > dump_raw_cpuid(cpu->number, 0xC0000000, cpu->maxei2);
> > +...
2012 Apr 30
2
x86info: dump kvm cpuid's
...> ---
> >
> > Dave - not sure whether there's a mailing list for x86info.
> > The patch is on top of the master branch in
> > git://git.codemonkey.org.uk/x86info.git
> >
> > Thanks!
> >
> > diff --git a/x86info.c b/x86info.c
> > index 22c4734..dee5ed1 100644
> > --- a/x86info.c
> > +++ b/x86info.c
> > @@ -44,6 +44,7 @@ static void display_detailed_info(struct cpudata *cpu)
> >
> > if (cpu->maxei2 >=0xC0000000)
> > dump_raw_cpuid(cpu->number, 0xC0000000, cpu->maxei2);
> > +...