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

Re: Running a FreeBSD guest



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
> > just prefer some minimalistic hypervisor managed from the CLI. The
> > ability to access the host's raw disk devices from the guest would be a
> > great advantage.
> > 
> > Please don't just say "kvm" or any other single word but give a pointer
> > to a good step-by-step document.
> > 
> 
> I think qemu is fast and simple,
> 
> $ qemu-img create freebsd.img 4G
> 
> $ qemu-system-x86_64 -hda freebsd.img -cdrom
> FreeBSD-12.2-RELEASE-amd64-bootonly.iso -boot d -m 512
> 
> do the installation and then try boot it with
> 
> $ qemu-system-x86_64 -hda freebsd.img -m 512

Really, a nice thing. Thank you. A couple of questions if you please:

1. Does qemu use hardware virtualization (VT-d, whatever is in the CPU)?

2. Can qemu present the NIC and drives to the guest paravirtualized?
FreeBSD understands VirtIO Block Adapter, VirtIO Ethernet and VMware
VMXNET3 and some other paravirtualized devices.

-- 
Victor Sudakov VAS4-RIPE
http://vas.tomsk.ru/
2:5005/49@fidonet

Attachment: signature.asc
Description: PGP signature


Reply to: