RE: Bhyve CD-ROM
- Reply: Mario Marietto : "Re: Bhyve CD-ROM"
- In reply to: Mario Marietto : "Re: Bhyve CD-ROM"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Nov 2021 07:46:29 UTC
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: Guetersloh HRA 7075
From: Mario Marietto <marietto2008@gmail.com>
Sent: Monday, November 29, 2021 8:09 AM
To: Corvin Köhne <C.Koehne@beckhoff.com>
Cc: Sysadmin Lists <sysadmin.lists@mailfence.com>; Freebsd Virtualization <freebsd-virtualization@freebsd.org>
Subject: Re: Bhyve CD-ROM
CAUTION: External Email!!
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 <C.Koehne@beckhoff.com<mailto:C.Koehne@beckhoff.com>> 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 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:5900<http://0.0.0.0:5900>,w=800,h=600,wait \
-s 31,lpc \
-l com1,stdio \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd debianvm
Best regards
Corvin
Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Beckhoff
Registered office: Verl, Germany | Register court: Guetersloh HRA 7075
-----Original Message-----
From: owner-freebsd-virtualization@freebsd.org<mailto:owner-freebsd-virtualization@freebsd.org> <owner-freebsd-virtualization@freebsd.org<mailto:owner-freebsd-virtualization@freebsd.org>> On Behalf Of Sysadmin Lists
Sent: Monday, November 29, 2021 7:03 AM
To: Mario Marietto <marietto2008@gmail.com<mailto:marietto2008@gmail.com>>
Cc: Freebsd Virtualization <freebsd-virtualization@freebsd.org<mailto:freebsd-virtualization@freebsd.org>>
Subject: Re: Bhyve CD-ROM
CAUTION: External Email!!
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 <marietto2008@gmail.com<mailto:marietto2008@gmail.com>>
> Sent: Sun Nov 28 23:14:39 CET 2021
> To: <sysadmin.lists@mailfence.com<mailto:sysadmin.lists@mailfence.com>>
> Cc: Freebsd Virtualization <freebsd-virtualization@freebsd.org<mailto:freebsd-virtualization@freebsd.org>>
> Subject: Re: Bhyve CD-ROM
>
>
> 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 \
--
Sent with https://nospamproxywebp.beckhoff.com/enqsig/link?id=BCAAAABGd7m3lfMOLOIhx3uNR_1Qav4Ffx8-jQB0torD82ts_G0AAADzTADPte9W9PqlaXgMPE2o-ss0dWvUhIbbKjdkxmeheoA-wpCZVABIpqOsBmtP82ENzCYFfqq0R8x3KKhL9msTlK-C4cXe143E0KmLsrixsp9XeTqFjocjPJXL5HbZJPF6VJ1mhDjDjS0GT2hn0
Secure and private email