To view an individual PR, use:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id).
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and ob
Hi. How do I attach a CD-ROM device (in this case an ISO file) to a VM without
bhyve booting into it?
bhyve -c 1 -m 512M -w -H \
-s 0,hostbridge \
-s 3,ahci-cd,/media/Debian-11.1.0-amd64-DVD-1.iso \
-s 4,virtio-blk,/dev/zvol/zroot/bhyve_vms/debianvm \
-s 29,fbuf,tc
if the cd is not bootable,you can attach it like this :
-s 1,ahci-cd,/home/marietto/Downloads/virtio/virtio-win-0.1.208.iso \
or you can grab the files that you want when the os is loaded,declaring the
folder on the host os where are stored the files like this :
-s 9,virtio-9p,sharename=/mnt \
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260081
--- Comment #2 from Ka Ho Ng ---
Do you have an opened differential to that? LGTM.
Ka Ho
--
You are receiving this mail because:
You are the assignee for the bug.
Thanks, Mario, but when I add this line,
-s 9,virtio-9p,sharename=/media \
I get the following error message,
pci slot 9:0: unknown device "virtio-9p"
I read about shared folders earlier while looking for a solution and concluded
FreeBSD doesn't support it (yet).
> From: Mario Marietto
> Sen
Hi,
the bootorder is determined by pci slot order. Just add your disk before your
cd-rom:
bhyve -c 1 -m 512M -w -H \
-s 0,hostbridge \
-s 3,virtio-blk,/dev/zvol/zroot/bhyve_vms/debianvm \
-s 4,ahci-cd,/media/Debian-11.1.0-amd64-DVD-1.iso \
-s 29,fbuf,tcp=0.0.0.0:5
i would like to investigate why virtio-9p does not work for him. for me it
worked until some time ago.
Il lun 29 nov 2021, 07:31 Corvin Köhne ha scritto:
> Hi,
>
> the bootorder is determined by pci slot order. Just add your disk before
> your cd-rom:
>
> bhyve -c 1 -m 512M -w -H \
> -s
pci slot 9:0: unknown device "virtio-9p"
Looks like bhyve has no virtio-9p emulation. I guess it’s an older bhyve
version than yours.
Best regards
Corvin
Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Beckhoff
Registered office: Verl, Germany | Register court: Gueters