KVM + qemu + virt-manager - A better way to Virtualize on Linux?

preview_player
Показать описание
In this video I show you how to setup qemu/kvm/virt-manager aswell as how to install a virtual machine in it, and convert an already existing vdi that you would use with virtual box into a qcow2 image to use with qemu/kvm/virt-manager

and be sure to click that notification bell so you know when new videos are released. ₿💰💵💲Help Support the Channel by Donating Crypto💲💵💰₿

Bitcoin
3MMKHXPQrGHEsmdHaAGD59FWhKFGeUsAxV

Ethereum
0xeA4DA3F9BAb091Eb86921CA6E41712438f4E5079

Litecoin
MBfrxLJMuw26hbVi2MjCVDFkkExz8rYvUF

Dash
Xh9PXPEy5RoLJgFDGYCDjrbXdjshMaYerz

Zcash
t1aWtU5SBpxuUWBSwDKy4gTkT2T1ZwtFvrr

Chainlink
0x0f7f21D267d2C9dbae17fd8c20012eFEA3678F14

Bitcoin Cash
qz2st00dtu9e79zrq5wshsgaxsjw299n7c69th8ryp

Etherum Classic
0xeA641e59913960f578ad39A6B4d02051A5556BfC

USD Coin
0x0B045f743A693b225630862a3464B52fefE79FdB
Рекомендации по теме
Комментарии
Автор

Plot twist: He's actually using linux mint in a VM on windows 10

stevenmedin
Автор

Hey MentalOutlaw, you might find the 'Noise Removal' tool in audacity useful when recordings go bad. I used to own a very cheap mic and it'd always pick up a shit ton of noise, but audacity filtered it out pretty well. Keep up the good work!

goslingtechchannel
Автор

I thought this was a Luke Smith video... You know, the thumbnail...

oredaze
Автор

Update & correction: the command should be `sudo addgroup libvirt`, so everywhere use `libvirt`, NOT `libvirtd` as the group.

massisenergy
Автор

I have long experience with KVM. I also had same difficulty when i started to use KVM. The reason why it was hard is lack of knowledge for modules of libvirt(libvirtd sock), virsh(definition file XML you may see in GUI), qemu-img, virt-manager, cloud-init and VNC.

I do recommend to find information about the above keywords. And please try to be adopted to virsh command line if you only run linux server because virsh allows you to access guest machine's console directly without VNC.

extra tips for performance.
- You need to install virt-io driver for disk, network and GPU because it is fastest driver.
- If you need GUI based guest host, you must go with PCI paththrough. I've never gotten better performance than this composition in VMware, VirtualBox and Hyper-V. VNC based connection is very poor performance even you are running on localhost. But it requires a lot of information because you have to understand how linux's device works because bare-metal system is always different by having different hardware. I could run guest OS with Nvidia and AMD graphic card for MAC OS, windows and Ubuntu.
- Everything you will try is can be done with KVM but you always need to have knowledge for the technology. If you

gregyeo
Автор

Are you planning to make video about doing gpu passthough?

fioletowa.samara
Автор

Here's a tip, switch from Listen Type Address to None in Spice menu
Change Video to Virtio and tick enable 3d acceleration
Go back to Spice menu and enable OpenGL.
There you have now all draw calls ran directly on your GPU
If you want to use other GPU (like a dedicated) ran virt-manager with DRM_PRIME=1 (or other number according to gpu)
And pick that GPU in Spice menu.
Very Sadly this doesn't work with Windows guest, because GPU passthrough not only is harder to do but also needs hardware support for passing through feature, While this VirGL method i told before is hardware agnostic

replikvltyoutube
Автор

This channel will blow up in any given time

gikal
Автор

Have you tried using qemu in command line? I'm a smoothbrain and even I think it's easy

kot
Автор

I started with virtbox too... Then switched to qemu when I wanted to do pass through. (I run a windows vm on linux - so I can run cad on my laptop. Passing the dedicated video card to it.) It has been rock solid. (not that I remember having any problems with virtbox)

MakersEase
Автор

The things that you talk about technology are 200% connected with my heart

rotteegher
Автор

it took me a grand total of 2 weeks. 2 WEEKS. to get KVM passthrough working propperly. and a new graphics card for a 1x slot. And figuring out how to map samba shared. Lots of headaches but I haven't touched it in months and it runs like a champ because I stay on the arch LTS kernel and blacklisted nvidia driver updates so it doesn't kill my linux install.

kablooey
Автор

I just tried VirtualBox - seems to just work. Then I read about nested virtualizations...recursives all the way down!
So there's an extension that allows the VM to share files with the host? Cool - trying to figure access to SD cards (running Kubuntu as VM)..cheers.

stevengill
Автор

Aye, I also struggle with Virt Manager. But every time I am tempted to switch to VirtualBox I remember the joys of working on a terminal the size of a mail stamp because VirtualBox won't resize the damn window unless you have virtualbox-tools installed (not compatible with 90% of my guest VM) and I stick with Virt-Manager

Vlad-
Автор

kvm qemu has been fairly easy and reliable for me for the last decade. I don't know what trouble you've had with it, I'd assume just a missing package. the most trouble I've had with it was long ago when I needed to install a custom networking script to set up a wan connection to a router in a vm. that custom script hasn't been needed in a very long time and everything just works. it's very reliable and easy to use, and doesn't require a gui.

lorenzop
Автор

Gnome boxes seems to be the easiest choice today and if im not wrong you can also run a gnomeboxes vm with virtmanager

BIGOTEMACHINE
Автор

Does anyone know how to bridge the network on vert-manager as I have tried all different kind of network settings and cant get it to bridge as vert-manager always has this strange allocated IP address for the VM so its not possible to SSH into the vm which it does simply on virtualBox but I dont want to use virtualBox vm's as I want to SSH into VertManager vm's?

spaceiswater
Автор

About your comment at 5:27. Actually there is no such difference between modern virtualization. VMware, Virtualbox, KVM, Bhyve, Xen and Hyper-V all run the guest code directly on the host CPU (with the help of the Intel VT-x, AMD-V or other virtualization extensions for various architectures). Any difference in performance are due to other "bottlenecks" in the hypervisor, for example quality of hardware emulation and/or use of paravirtualization.

FreeScience
Автор

What happened to the microphone?
GNOME BOXES (KVM) works out of the box for simple scenarios. But yes, maybe VirtualBox is easier for GPU acceleration and networking

luigitech
Автор

flawless distro hopping in virtual box.
with virt-M I have issues when I exit and go back again, it seems to need a fresh install every time! this shouldn't be some problem a user has to "fix": surely out-of-the-box basics dictates that a virtual machine doesn't do that!

autonaut