QEMU/KVM on ThinkPad X230T Laptop with Dual-boot: Difference between revisions
From WikiMLT
mNo edit summary |
|||
Line 6: | Line 6: | ||
egrep -c '(vmx|svm)' /proc/cpuinfo | egrep -c '(vmx|svm)' /proc/cpuinfo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Install QEMU, KVM, LIBVIRT == | == Install QEMU, KVM, LIBVIRT == | ||
<syntaxhighlight lang="shell" line="1"> | <syntaxhighlight lang="shell" line="1"> | ||
sudo apt install qemu-system-x86 libvirt-daemon libvirt-clients bridge-utils virt-manager virtinst libosinfo-bin ovmf | sudo apt install qemu-system-x86 libvirt-daemon libvirt-clients bridge-utils virt-manager virtinst libosinfo-bin ovmf | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<noinclude> | ----<syntaxhighlight lang="xml" line="1"> | ||
<div id= | <disk type="block" device="disk"> | ||
<driver name="qemu" type="raw" cache="none" discard="unmap"/> | |||
<source dev="/dev/sda"/> | |||
<target dev="sda" bus="sata"/> | |||
<address type="drive" controller="0" bus="0" target="0" unit="0"/> | |||
</disk> | |||
</syntaxhighlight><noinclude> | |||
<div id="devStage"> | |||
{{devStage | {{devStage | ||
| Прндл = Virtual Machines | | Прндл = Virtual Machines |
Revision as of 16:02, 12 August 2022
Test the Virtualization Capabilities of the System
Check weather the system supports virtualisation. The following command must return at least 1
:
egrep -c '(vmx|svm)' /proc/cpuinfo
Install QEMU, KVM, LIBVIRT
sudo apt install qemu-system-x86 libvirt-daemon libvirt-clients bridge-utils virt-manager virtinst libosinfo-bin ovmf
<disk type="block" device="disk">
<driver name="qemu" type="raw" cache="none" discard="unmap"/>
<source dev="/dev/sda"/>
<target dev="sda" bus="sata"/>
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
</disk>