Page 1 of 1

KVM now working in Fossapup (Solved)

Posted: Wed Sep 23, 2020 11:05 pm
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 1925 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

Re: KVM not working in Fossapup

Posted: Thu Sep 24, 2020 1:15 pm
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

Re: KVM not working in Fossapup

Posted: Fri Sep 25, 2020 7:29 am
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.

Re: KVM not working in Fossapup

Posted: Fri Sep 25, 2020 7:46 am
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

Re: <SOLVED> KVM now working in Fossapup

Posted: Fri Sep 25, 2020 8:22 pm
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?

fossa in a fossa in a fossa in a fossa

Posted: Fri Sep 25, 2020 9:24 pm
by 666philb
fossainafossainafossainafossa.jpg
fossainafossainafossainafossa.jpg (78.39 KiB) Viewed 1817 times
they do get a lot slower as you go in ... surprised GL was still working on the inner one (transparent conky)

Re: <SOLVED> KVM now working in Fossapup

Posted: Fri Sep 25, 2020 10:10 pm
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:

Re: KVM now working in Fossapup (Solved)

Posted: Sat Sep 26, 2020 2:30 am
by bigpup
And it still runs better than Windows 10 :D :thumbup2: