ziomario@Z390-AORUS-PRO-DEST:~$ quickget freebsd 14.0
[#7252fe 1.0GiB/1.0GiB(99%) CN:1 DL:9.1MiB]
Checking freebsd-14.0-disc1/FreeBSD-14.0-RELEASE-amd64-disc1.iso with sha256sum... Good!
Making freebsd-14.0-disc1.conf
Giving user execute permissions on freebsd-14.0-disc1.conf,
To start your FreeBSD virtual machine run:
quickemu --vm freebsd-14.0-disc1.conf
ziomario@Z390-AORUS-PRO-DEST:~$ quickemu --vm freebsd-14.0-disc1.conf
Quickemu 4.9.1 using /usr/local/bin/qemu-system-x86_64 v7.2.50
- Host: Ubuntu 23.10 running Linux 6.5 (Z390-AORUS-PRO-DEST)
- CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
- CPU VM: 1 Socket(s), 4 Core(s), 2 Thread(s), 8G RAM
- BOOT: EFI (Freebsd), OVMF (/usr/share/OVMF/OVMF_CODE.fd), SecureBoot (off).
- Disk: freebsd-14.0-disc1/disk.qcow2 (16G)
Just created, booting from freebsd-14.0-disc1/FreeBSD-14.0-RELEASE-amd64-disc1.iso
- Boot ISO: freebsd-14.0-disc1/FreeBSD-14.0-RELEASE-amd64-disc1.iso
- Display: SDL, qxl-vga, GL (on), VirGL (off)
- Sound: intel-hda
- ssh: On host: ssh user@localhost -p 22220
- WebDAV: On guest: dav://localhost:9843/
- 9P: On guest: - smbd: On guest: smb://10.0.2.4/qemu
- Network: User (virtio-net)
- Monitor: On host: nc -U "freebsd-14.0-disc1/freebsd-14.0-disc1-monitor.socket"
or : socat -,echo=0,icanon=0 unix-connect:freebsd-14.0-disc1/freebsd-14.0-disc1-monitor.socket
- Serial: On host: nc -U "freebsd-14.0-disc1/freebsd-14.0-disc1-serial.socket"
or : socat -,echo=0,icanon=0 unix-connect:freebsd-14.0-disc1/freebsd-14.0-disc1-serial.socket
audio: Could not init `pa' audio driver
cat: freebsd-14.0-disc1/freebsd-14.0-disc1.pid: No such file or directory
- Process: Starting freebsd-14.0-disc1.conf as freebsd-14.0-disc1 ()
I didn’t try if qxl works with 13.2,but who cares if vmware-svga works better ? 😄
Yeah,after a long training to learn how to virtualize any OS available for the x86_64 cpus using almost all the tools available,I have switched to the arm cpus to continue to have fun. Qemu-kvm is the first choice,but later I discovered how fun is to play with bhyve under FreeBSD and xen under arm 32 and arm 64. Actually I’m trying to boot FreeBSD as a domU when dom0 is Devuan,on my old ARMv7 Chromebook. Unfortunately it seems that xen is bugged and can’t boot FreeBSD. No problems for Linux. I’ve bought the Raspberry p 4B because I want to do the same experiment there. Maybe I will be luckier with Arm 64 bit. I’m also working on a more interesting project. I’ve bought some old smartphones with Android preinstalled. These phones are special because we can bypass the bootloader protection and we can virtualize FreeBSD with kvm or xen,leaving 1 core for Android and the rest will go to FreeBSD. I love FreeBSD,I want to put it everywhere 😄
For FreeBSD 14-RELEASE,this parameter works good :
-device vmware-svga,id=video0,vgamem_mb=16,bus=pcie.0,addr=0x2anyway,I don’t know the reason why it is frozen. The mouse does not work. I think the freezing is tied to the “parallel0 console”
Yes,I know barrier. But do you want that I pass from the annoyance A to the annoyance B ? Barrier should be configured everytime I (we) want to create a new vm. More than one problem for me,I’m trying to explain to you how you can make the life easier to everyone who wants to use your tool. For example,I’ve added the parameters below to the file : freebsd-14.0-disc1.sh and voila’,there is no more need to press any key to pass the mouse from the host to the guest. Just try and see if it works. If it works,please add these values by default in the appropriate place of your tool. Don’t think to what I can do to tweak your script,think what YOU can do to make a better product :
just add these :
and remove this :
-device usb-mouse,bus=input.0 \