Closed laeti-tia closed 8 years ago
Interesting information about other virtualisation technologies: http://www.dmo.ca/blog/detecting-virtualization-on-linux/
Interesting blog. I also added detection for Microsoft Virtual PC since I saw a few of those in the LS as well.
On Mon, May 16, 2016 at 04:36:30AM -0700, Antoine Delvaux wrote:
Interesting information about other virtualisation technologies: http://www.dmo.ca/blog/detecting-virtualization-on-linux/
There is already a few programs for detecting virtualization, if we want to use them.
Debian:
imvirt - detects several virtualizations imvirt-helper - helper programs to detect several virtualizations libimvirt-perl - Perl module for detecting several virtualizations virt-what - detect if we are running in a virtual machine
CentOS:
perl-Sys-Detect-Virtualization.x86_64 : Library to detect if a UNIX system is running as a virtual : machine virt-what.x86_64 : Detect if we are running in a virtual machine virtdetect.noarch : Detect if a UNIX system is running as a virtual machine
Valentin Vidic Computer Systems Engineer - Expert Department of Computer Infrastructure and Services Croatian Academic and Research Network - CARNet Josipa Marohnica 5, HR-10000 Zagreb, Croatia tel: +385 1 6661 714, fax. +385 1 6661 635 gsm: +385 91 2480 919 www.CARNet.hr
Andy, here is my patch to detect Xen guests. Let me know if you think there's something missing or should be done differently.
Thanks,