[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Are FreeBSD guest images working?
From: |
Ilya Maximets |
Subject: |
[Qemu-devel] Are FreeBSD guest images working? |
Date: |
Thu, 15 Nov 2018 14:06:36 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
> Hi, the list,
>
> I am trying to boot a FreeBSD guest but failed. It hangs at the
> kernel booting phase:
>
> /boot/ker]el/kernel text=0x14ed860 data=0x132538+0x4baa68
> syms=[0x8+0x159ee8+0x8
> Booting...
> (nothing more)
>
> It's just as simple as downloading the image and boot so I can't think
> of anything strange within my procedures so far:
>
> https://wiki.qemu.org/Hosts/BSD#FreeBSD
>
> I also tried the latest image here:
>
> https://download.freebsd.org/ftp/releases/VM-IMAGES/11.2-RELEASE/amd64/Latest/FreeBSD-11.2-RELEASE-amd64.qcow2.xz
>
> but it's having the same problem as 11.0.
>
> Am downloading an fresh ISO, but before I continue I'm just curious on
> whether anyone is using these images and whether there's quick answers
> to what I have encountered.
>
> Thanks in advance,
>
> --
> Peter Xu
Hi,
I have one VM with FreeBSD-11.2-RELEASE-amd64.qcow2 image and it works
fine under qemu 2.12.1. But it's controlled by libvirt + virt-manager,
so it has a bit more cmdline arguments than in wiki.
In general, those images has serial console disabled by default.
Creating the following file in VM fs:
address@hidden ~]# cat /boot/loader.conf
boot_multicons="YES"
boot_serial="YES"
comconsole_speed="115200"
console="comconsole,vidconsole"
allows me to successfully boot with:
# qemu-system-x86_64 -machine accel=kvm -m 2048 \
-cpu host -enable-kvm -nographic -smp 2 \
-drive if=virtio,file=./FreeBSD-11.2-RELEASE-amd64.qcow2,format=qcow2
Best regards, Ilya Maximets.
- [Qemu-devel] Are FreeBSD guest images working?,
Ilya Maximets <=