[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running a FreeBSD guest



On 3/24/2021 9:55 AM, didier gaumet wrote:
Le 24/03/2021 à 03:12, Victor Sudakov a écrit :

The relation between qemu and kvm confuses me. "apt install qemu-kvm" is
trying to install a ton of X11 packages including Mesa drivers etc, I
would not really want that. And "apt install kvm" does not find such a
package.

QEMU/KVM relationship:

as I see it (but someone with a real understanding of the subject -that
I do not have- could be horrified by what I say):
- KVM is roughly a Linux(-only) kernel module that permits the use the
Linux Kernel as the basis of an hypervisor and the access to hardware
acceleration. But it is not by itself a whole virtualization solution
- QEMU is a multi-platform virtualization solution that does not require
hardware acceleration and does not by itseelf provide a way to use this
acceleration. In the past many accelerators had been available
- today a common way to virtualize a guest in a linux host is to use
Qemu with the KVM kernel module (and invoking KVM is really invoking Qemu)

more (and more pertinent) info here:
  https://en.wikipedia.org/wiki/QEMU
  https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine

QEMU/X11 relationship:
- I do not really know how to install Qemu without X11 nor if it
possible without the loss of CLI features. Possible solutions could be
to install packages with the "without recommended" option, to forbid
installation of packages by establishing preferences (cf apt_preferences
manpage). A possible culprit is qemu-system-gui and you could forbid its
installation. I do not know if running Qemu immplies that a X11 server

The Debian's wiki (1) suggest one way to install qemu-kvm with Libvirt
for a server.
Note that if you go this way, you might require some pkgs along the way.


1)  https://wiki.debian.org/KVM#Installation

--
John Doe


Reply to: