Add VT flag to cpuinfo
PATCH 1/1 Add VT flag to cpuinfo
Andrew-
Attached is a trivial patch to 2.6 that will add vt' to the flags field of /proc/cpuinfo' for CPUs that have Intel's virtualization technology.
Signed-off-by Donald D. Dugger <[email protected]>
--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale [email protected]
Ph: (303)440-1368
arch/i386/kernel/cpu/proc.c +1 -1
@@ -44,7 +44,7 @@NULL ,NULL ,NULL ,NULL ,NULL ,NULL ,NULL ,NULL ,/* Intel-defined (#2) */ -"pni" ,NULL ,NULL ,"monitor" ,"ds_cpl" ,NULL ,NULL ,"est" , +"pni" ,NULL ,NULL ,"monitor" ,"ds_cpl" ,"vt" ,NULL ,"est" ,"tm2" ,NULL ,"cid" ,NULL ,NULL ,"cx16" ,"xtpr" ,NULL ,NULL ,NULL ,NULL ,NULL ,NULL ,NULL ,NULL ,NULL , NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
arch/x86_64/kernel/setup.c +1 -1
@@ -1213,7 +1213,7 @@NULL ,NULL ,NULL ,NULL ,NULL ,NULL ,NULL ,NULL ,/* Intel-defined (#2) */ -"pni" ,NULL ,NULL ,"monitor" ,"ds_cpl" ,NULL ,NULL ,"est" , +"pni" ,NULL ,NULL ,"monitor" ,"ds_cpl" ,"vt" ,NULL ,"est" ,"tm2" ,NULL ,"cid" ,NULL ,NULL ,"cx16" ,"xtpr" ,NULL ,NULL ,NULL ,NULL ,NULL ,NULL ,NULL ,NULL ,NULL , NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
Quoted 4 lines · [email protected] (Donald D Dugger) writes:
Andrew-
Attached is a trivial patch to 2.6 that will add
vt' to the flags field of/proc/cpuinfo' for CPUs that have Intel's virtualization technology.
The x86-64 tree already has "vmx" for it. What is the correct name?
-Andi