Na jakim hypervisor(ze) pracuje?

Linux

Zastanawialiście się kiedyś jak sprawdzić na jakim wirtualizatorze pracuje system?

Ostatnio siedziałem trochę w Azure (west us) pracując na ubuntu. Jako koleś od dawna związany z różnymi wirtualizatorami, zacząłem zastanawiać się czy aby Microsoft nie wprowadza mnie w błąd opowiadając, że Azure pracuje na specjalnej, zminimalizowanej wersji Hyper-V.

Jako, że soft zawsze da się oszukać to dalsze badania raczej traktuję z przymrużeniem oka. Sprawdziłem kilka możliwości – jak mówią, miliony much nie może się mylić w swoim kulinarnym menu. A może, może 🙂

Co wyszło z poszukiwań prezentuję poniżej:

sudo dmesg | grep -i "hypervisor"
[ 0.000000] Hypervisor detected: Microsoft Hyper-V

hostnamectl
Static hostname: vm-db
Icon name: computer-vm
Chassis: vm
Machine ID: d0ad90d2a00645009eafaf4da8e4e567
Boot ID: dece2d9b36244662a37181a9a92cd849
Virtualization: microsoft
Operating System: Ubuntu 18.04.4 LTS
Kernel: Linux 5.0.0-1032-azure
Architecture: x86-64

systemd-detect-virt
microsoft

lshw -class system
vm-db
description: Desktop Computer
product: Virtual Machine
vendor: Microsoft Corporation
version: 7.0
serial: 0000-0009-3751-2752-4391-2079-71
width: 64 bits
capabilities: smbios-2.3 dmi-2.3 vsyscall32
configuration: boot=normal chassis=desktop uuid=CF241B82-53D7-2344-9355-5506B869A6D3

dmidecode -s system-product-name
Virtual Machine

dmidecode | grep Product
Product Name: Virtual Machine
Product Name: Virtual Machine
dmidecode -s system-manufacturer
Microsoft Corporation

A Wy sprawdziliście na czym działacie? Pewnie stary, dobry VMware?

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Free(BSD)
yt-dlp – download your data from youtube

Hi, this short article only to mention that there is a wonderful application that exists for a years for the purpose to download YOUR or maybe some other movies from youtube. I don’t want to go in to legal aspect too much, what can be downloaded from youtube, what not …

Linux
Migrate WordPress site to another hosting service.

IntroductionThis article details the migration of WordPress site (exactly this site you are now on) from one service provider to Amazon Lightsail. There might be various reason to do that (mine is outlined below) but in general I hope to share the message that especially with WordPress, migration can be …

VMware
VMware Workstation and Fusion can be installed and use for free (even for the enterprise)

For a while now, the VMware Workstation (and Fusion for MacOS) can be used without any additional fee for Personal use. That was a great Broadcom news and nice gesture from that software vendor. Recently Broadcom announced that the software will be available for all, even the commercial sector. This …