filmov
tv
QEMU: A proper guide!

Показать описание
Denshi decides to make the QEMU guide that everyone else was scared of making. A Proper guide.
Commands in the video:
Installation:
Arch: sudo pacman -S qemu (optionally "qemu-arch-extra" for more architectures)
Debian/Ubuntu: sudo apt install qemu
Fedora: sudo dnf install qemu
To create a virtual image use:
Launching the VM:
(-enable-kvm enables KVM, -cdrom selects an iso to load as a cd, -boot menu=on enables a boot menu, -drive file= selects a file for the drive, -m sets the amount of dedicated RAM)
(Remember! Ctrl + Alt + G to exit capture, Ctrl + Alt + F to fullscreen!)
That doesn't run so good, what can we do to improve it?
Basic performance options
-cpu host (sets the CPU to the hosts' CPU)
-smp 2 (sets the numbers of cores)
Basic Graphics Acceleration
the -vga option can be used to specify one of various vga card emulators:
"qxl" offers 2D acceleration but requires kernel modules "qxl" and "bochs_drm" to be enabled:
-vga qxl
"virtio" works much better and supports some 3D emulation:
-vga virtio -display sdl,gl=on
Commands in the video:
Installation:
Arch: sudo pacman -S qemu (optionally "qemu-arch-extra" for more architectures)
Debian/Ubuntu: sudo apt install qemu
Fedora: sudo dnf install qemu
To create a virtual image use:
Launching the VM:
(-enable-kvm enables KVM, -cdrom selects an iso to load as a cd, -boot menu=on enables a boot menu, -drive file= selects a file for the drive, -m sets the amount of dedicated RAM)
(Remember! Ctrl + Alt + G to exit capture, Ctrl + Alt + F to fullscreen!)
That doesn't run so good, what can we do to improve it?
Basic performance options
-cpu host (sets the CPU to the hosts' CPU)
-smp 2 (sets the numbers of cores)
Basic Graphics Acceleration
the -vga option can be used to specify one of various vga card emulators:
"qxl" offers 2D acceleration but requires kernel modules "qxl" and "bochs_drm" to be enabled:
-vga qxl
"virtio" works much better and supports some 3D emulation:
-vga virtio -display sdl,gl=on
Комментарии