KVM now working in Fossapup (Solved)

Moderators: 666philb, Forum moderators

Post Reply
Clarity
Posts: 3435
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1415 times
Been thanked: 455 times

KVM now working in Fossapup (Solved)

Post by Clarity »

The BIOS-UEFI for virtualization is enabled, but there is a problem:

FossaPUP reports its presence
virtualization is seen.jpg
virtualization is seen.jpg (119.52 KiB) Viewed 1790 times
but it is NOT found and cannot be enabled.

Code: Select all

root# echo "Check system to see if VM is loaded"
Check system to see if VM is loaded
root# lsmod| egrep --color=always kvm
root# echo "Its not loaded, so load the VM support"
Its not loaded, so load the VM support
root# modprobe kvm-amd
modprobe: ERROR: could not insert 'kvm_amd': Operation not supported
root# echo "Failure to load the VM support needed"
Please help
Last edited by Clarity on Fri Sep 25, 2020 8:09 am, edited 1 time in total.
User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 148 times

Re: KVM not working in Fossapup

Post by 666philb »

hi @Clarity

it's the ubuntu qemu that's the issue. either the PPM misses some stuff when installing or it's broken. i tried bionics qemu and kvm worked fine although virgl (graphics acceleration) doesn't work.

i've uploaded a qemu compiled in fossapup & kvm and virgl works. note that this is a minimal qemu and could well need extra stuff adding. http://distro.ibiblio.org/puppylinux/pe ... x86_64.pet

it uses puppys inbuilt qemu_gui and can be launched from menu>>system>>QEMU
Clarity
Posts: 3435
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1415 times
Been thanked: 455 times

Re: KVM not working in Fossapup

Post by Clarity »

@666philb Excellent :!:

Loaded Pet, enabled UEFI feature, rebooted, Loaded KVM-AMD and Started QEMU via Menu>System>QEMU.

Will show results of the VM guest machine runs and share performance finds, soon. Expect to test a boot of FossaPUP64-v95 in the VM guest.

If like past PUPs hosting VMs, the guests perform as fast as the host PUPs. In the case of Fatdog in the past, the Fatdog guest "out-performed" the Fatdog host in responsiveness.

I fully expect to see the same in this PC as well.
User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 148 times

Re: KVM not working in Fossapup

Post by 666philb »

there's an issue with xorg-autoconf and qemu and a fossapup guest will hang if booted normally so to get fossapup running in qemu you'll need to boot with the no X option. then

chmod a-x /usr/sbin/xorg-autoconf.

then xwin to start.

if booted with the qemu_gui and it's default parameters you should have sound working and GL graphics
Clarity
Posts: 3435
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1415 times
Been thanked: 455 times

Re: <SOLVED> KVM now working in Fossapup

Post by Clarity »

:thumbup: Thanks @666philb .

You have just shown us the way to run 2 FossaPUPs PCs on a single machine! :idea:

For example one could be pristine, while the other could be a tailored multimedia FossaPUP on our LAN!
Or the other could be a FossaPUP devoted to development and testing exclusively, separate from the one.
Performance is wonderful as there is no apparent overhead.

Single PC, 2 fabulous FossaPUPs at the same time! 8-)

Anyone else seeing this?
User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 148 times

fossa in a fossa in a fossa in a fossa

Post by 666philb »

fossainafossainafossainafossa.jpg
fossainafossainafossainafossa.jpg (78.39 KiB) Viewed 1682 times
they do get a lot slower as you go in ... surprised GL was still working on the inner one (transparent conky)
Clarity
Posts: 3435
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1415 times
Been thanked: 455 times

Re: <SOLVED> KVM now working in Fossapup

Post by Clarity »

HA!!! :lol:

That was CLEVER!!! :idea:

Are you showing a Host PC, with a Virtual PC, which, acting as a host itself, has a Virtual PC, which in its world acting as a host, in turn, has it virtual PC?

Essentially you are showing 2 PCs on a single machine. One is the base PC, while the other is dedicated to running various guest configurations within it. And those guests in the other are "stealing" service from their 'envisioned host'. Very Clever proof of concept and tests!

Another way of simplifying is "a virtual PC, within a virtual PC, within a Virtual PC, within a PC, within a single machine.

CLEVER test. :thumbup2:
User avatar
bigpup
Moderator
Posts: 6524
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 791 times
Been thanked: 1356 times

Re: KVM now working in Fossapup (Solved)

Post by bigpup »

And it still runs better than Windows 10 :D :thumbup2:

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Post Reply

Return to “Fossapup64”