Re: Running a FreeBSD guest

2021-03-24 Thread Dan Ritter
Victor Sudakov wrote: > Dan Ritter wrote: > > Here's a typical non-libvirtd qemu/kvm invocation: > > > > cd /var/spool/kvm > > export VNAME=virtualmachinename > > export CPUS=2 > > export RAM=4096 > > export MAC=00:15:f1:c1:a2:01 > > export VNC=:1 > > export IMAGE=/var/spool/kvm/images/$VNAME.img

Re: Running a FreeBSD guest

2021-03-24 Thread john doe
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 fi

Re: Running a FreeBSD guest

2021-03-24 Thread Andrei POPESCU
On Mi, 24 mar 21, 09:22:32, Victor Sudakov wrote: > > Do you think I can install qemu-kvm without installing the 230 X11 > packages is requires? It is possible. It should be relatively easy to do so if some packages are only recommended instead of depended on. Does 'apt install --no-install-re

Re: Running a FreeBSD guest

2021-03-24 Thread didier gaumet
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:

Re: Running a FreeBSD guest

2021-03-23 Thread Victor Sudakov
Dan Ritter wrote: > > > > > > > > What's the minimum software kit to run a couple of FreeBSD guests > > > > (serial console, no graphics needed) on a Debian 10 host? > > > > > > > > I don't need any fancy management GUI like that of VirtualBox, would > > > > just prefer some minimalistic hypervis

Re: Running a FreeBSD guest

2021-03-23 Thread Victor Sudakov
didier gaumet wrote: > Le 23/03/2021 à 10:54, Victor Sudakov a écrit : > > > 1. Does qemu use hardware virtualization (VT-d, whatever is in the CPU)? > > Yes, I think that basically, KVM requires it (and that Qemu does not) The relation between qemu and kvm confuses me. "apt install qemu-kvm" is

Re: Running a FreeBSD guest

2021-03-23 Thread Liam O'Toole
On Tue, 23 Mar, 2021 at 17:06:47 +0700, Victor Sudakov wrote: > didier gaumet wrote: [...] > > This one will probably do: > > https://wiki.debian.org/SystemVirtualization > > (particularly the 3rd chapter "System Virtualization" if I understand your > > usecase) > > This is a comprehensive docu

Re: Running a FreeBSD guest

2021-03-23 Thread Dan Ritter
Victor Sudakov wrote: > Robbi Nespu wrote: > > On 3/23/21 10:20 AM, Victor Sudakov wrote: > > > Dear Colleagues, > > > > > > What's the minimum software kit to run a couple of FreeBSD guests > > > (serial console, no graphics needed) on a Debian 10 host? > > > > > > I don't need any fancy manage

Re: Running a FreeBSD guest

2021-03-23 Thread Victor Sudakov
didier gaumet wrote: > Le 23/03/2021 à 11:06, Victor Sudakov a écrit : > > > My usecase would be, among other things, to access external media > > attached to the host from inside the guest, e.g. those partitioned and > > encrypted in FreeBSD-specific ways (geli encryption, gbde etc). > > this li

Re: Running a FreeBSD guest

2021-03-23 Thread didier gaumet
Le 23/03/2021 à 10:54, Victor Sudakov a écrit : 1. Does qemu use hardware virtualization (VT-d, whatever is in the CPU)? Yes, I think that basically, KVM requires it (and that Qemu does not) 2. Can qemu present the NIC and drives to the guest paravirtualized? FreeBSD understands VirtIO Block

Re: Running a FreeBSD guest

2021-03-23 Thread didier gaumet
Le 23/03/2021 à 11:06, Victor Sudakov a écrit : My usecase would be, among other things, to access external media attached to the host from inside the guest, e.g. those partitioned and encrypted in FreeBSD-specific ways (geli encryption, gbde etc). this link, albeit a little old should be of i

Re: Running a FreeBSD guest

2021-03-23 Thread Victor Sudakov
didier gaumet wrote: > > > > What's the minimum software kit to run a couple of FreeBSD guests > > (serial console, no graphics needed) on a Debian 10 host? > > > > I don't need any fancy management GUI like that of VirtualBox, would > > just prefer some minimalistic hypervisor managed from the C

Re: Running a FreeBSD guest

2021-03-23 Thread Victor Sudakov
Robbi Nespu wrote: > On 3/23/21 10:20 AM, Victor Sudakov wrote: > > Dear Colleagues, > > > > What's the minimum software kit to run a couple of FreeBSD guests > > (serial console, no graphics needed) on a Debian 10 host? > > > > I don't need any fancy management GUI like that of VirtualBox, would

Re: Running a FreeBSD guest

2021-03-23 Thread tomas
On Tue, Mar 23, 2021 at 12:42:17AM -0700, David Christensen wrote: > On 3/22/21 7:20 PM, Victor Sudakov wrote: > >Dear Colleagues, > > > >What's the minimum software kit to run a couple of FreeBSD guests > >(serial console, no graphics needed) on a Debian 10 host? > > > >I don't need any fancy mana

Re: Running a FreeBSD guest

2021-03-23 Thread didier gaumet
Le 23/03/2021 à 03:20, Victor Sudakov a écrit : Dear Colleagues, What's the minimum software kit to run a couple of FreeBSD guests (serial console, no graphics needed) on a Debian 10 host? I don't need any fancy management GUI like that of VirtualBox, would just prefer some minimalistic hypervi

Re: Running a FreeBSD guest

2021-03-23 Thread David Christensen
On 3/22/21 7:20 PM, Victor Sudakov wrote: Dear Colleagues, What's the minimum software kit to run a couple of FreeBSD guests (serial console, no graphics needed) on a Debian 10 host? I don't need any fancy management GUI like that of VirtualBox, would just prefer some minimalistic hypervisor ma

Re: Running a FreeBSD guest

2021-03-22 Thread Robbi Nespu
On 3/23/21 10:20 AM, Victor Sudakov wrote: Dear Colleagues, What's the minimum software kit to run a couple of FreeBSD guests (serial console, no graphics needed) on a Debian 10 host? I don't need any fancy management GUI like that of VirtualBox, would just prefer some minimalistic hypervisor m

Running a FreeBSD guest

2021-03-22 Thread Victor Sudakov
Dear Colleagues, What's the minimum software kit to run a couple of FreeBSD guests (serial console, no graphics needed) on a Debian 10 host? I don't need any fancy management GUI like that of VirtualBox, would just prefer some minimalistic hypervisor managed from the CLI. The ability to access th