]> err.no Git - util-linux/commit
lscpu: add Hypervisor detection
authorKarel Zak <kzak@redhat.com>
Tue, 30 Sep 2008 23:29:32 +0000 (01:29 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 22 Oct 2008 11:56:52 +0000 (13:56 +0200)
commitc8b64f6d7770d62065bdc4fa5c4f80cc2326e203
tree0d99f9c206a83d8ffd3a41b59294421802773dcf
parent846baede1680a56cdcaab2dae68fa35c7899174e
lscpu: add Hypervisor detection

This patch adds two new fields:

 * "Hypervisor vendor"  -- based on CPUID and hypervisor specific
   PCI devices. lscpu(1) supports KVM, XEN, Microsoft HV now.

 * "Virtualization type"
- "none" = Xen dom0
- "full" = full virtualization (KVM, Xen, ...)
- "para" = Xen paravirtualization

Co-Author: Ky Srinivasan <ksrinivasan@novell.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lscpu.1
sys-utils/lscpu.c