Good, simple tutorial on getting qemu/kvm up and running?

Questions about virtualization software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
weedeater64
Level 1
Level 1
Posts: 44
Joined: Mon Jun 08, 2015 6:23 pm

Good, simple tutorial on getting qemu/kvm up and running?

Post by weedeater64 »

As with so many things, you go do a search and get countless results. You quickly see that very often many of those results have conflicting/differing instructions.

I want to have a go with some virtual machines. I definitely want to use qemu/kvm.

There is no shortage of tutorials, of course. Question is which is most authoritative, and also easy to follow.

Running Linux Mint 20, Xfce 64 bit.
AMD A12-9720P RADEON R7, 12 COMPUTE CORES 4C+8G
Mem: 7.0Gi 1.2Gi 4.1Gi 16Mi 1.6Gi 5.4Gi
Swap: 2.0Gi 0B 2.0Gi

I've enabled virtualization in bios and get this..

Code: Select all

LenPad:~$ kvm-ok  
INFO: /dev/kvm exists  
KVM acceleration can be used
and this..

Code: Select all

LenPad:~$ lsmod | grep kvm
kvm_amd                98304  0
ccp                    86016  1 kvm_amd
kvm                   663552  1 kvm_amd
I stopped there to seek advice rather than follow some bogus 'tutorial' and end up with a mess.

Thanks.
powerhouse
Level 6
Level 6
Posts: 1144
Joined: Thu May 03, 2012 3:54 am
Location: Israel
Contact:

Re: Good, simple tutorial on getting qemu/kvm up and running?

Post by powerhouse »

You might want to try my tutorial here: https://www.heiko-sieger.info/creating- ... ssthrough/

It also has links to further information and is AMD-specific, though I also describe how to make it work for Intel.

I'm running GPU passthrough VMs for the last 12 years. I would never go back to running Windows on bare metal.

Good luck and I try to follow the thread to see if I can help.
Subjects of interest: Linux, vfio passthrough virtualization, photography
See my blog on virtualization, including tutorials: https://www.heiko-sieger.info/category/ ... alization/
Post Reply

Return to “Virtual Machines”