<div dir="ltr">I've been lucky to find a <span lang="en">compatriot :) Sometimes time happens and it makes me feel happy. You are right. I got confused. </span><span lang="en">I've thought virtio-9p working depended on virtiofs working. Anyway,</span><span lang="en"> neither of those functions works :( Anyway I'm not sure that the right place to ask this question is the bhyve ML. It seems more a problem of Device drivers and Windows 11.</span><span lang="en"></span><span lang="en"></span><span lang="en"></span><div id="m_5926315520075304178gmail-tw-target-text-container"><pre id="m_5926315520075304178gmail-tw-target-text" style="text-align:left" dir="ltr"><span lang="en"><br></span></pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 29 nov 2021 alle ore 19:21 Andrea Bolognani <<a href="mailto:abologna@redhat.com" target="_blank">abologna@redhat.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Nov 29, 2021 at 06:15:40PM +0100, Mario Marietto wrote:<br>
> Hello to everyone.<br>
><br>
> I'm testing Windows 11 with bhyve and I've found an annoying problem that<br>
> prevents me from completing some tasks that I'm working on.<br>
><br>
> It seems that the virtio-9p driver does not work inside the Windows 11 os<br>
> emulated with bhyve and maybe also with qemu-kvm. When Windows 11 is<br>
> launched,I don't see the folder "mnt" mounted on the root folder of Windows<br>
> 11. Below you can see which bhyve parameters I've used :<br>
><br>
> bhyve -S -c 4 -m 8G -w -H \<br>
> -s 0,hostbridge \<br>
> -s 1,ahci-cd,/home/marietto/Downloads/virtio/virtio-win-0.1.208.iso \<br>
> -s 2,ahci-hd,/mnt/da0p1/Backups/OS/bhyve/Windows/win11.img \<br>
> -s 3,fbuf,tcp=<a href="http://0.0.0.0:5900" rel="noreferrer" target="_blank">0.0.0.0:5900</a>,w=1440,h=900,wait \<br>
> -s 8,virtio-net,tap0 \<br>
> ----> -s 9,virtio-9p,sharename=/mnt \<br>
> -s 30,xhci,tablet \<br>
> -s 31,lpc \<br>
> -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \<br>
> vm0<br>
<br>
You're cross-posting this to the libvirt users and virt-tools<br>
developers list, and yet you seem to be running bhyve directly so<br>
neither libvirt nor virt-manager are involved.<br>
<br>
I assume that a support list for bhyve users exists. That would be<br>
the appropriate forum to ask for help.<br>
<br>
Anyway, since I'm already replying...<br>
<br>
> Investigating a little bit more and reading from this tutorial :<br>
><br>
> <a href="https://virtio-fs.gitlab.io/howto-windows.html" rel="noreferrer" target="_blank">https://virtio-fs.gitlab.io/howto-windows.html</a><br>
><br>
> I've realized that there should be some problem with the WinFsp<br>
> <<a href="http://www.secfs.net/winfsp" rel="noreferrer" target="_blank">http://www.secfs.net/winfsp</a>> - Windows File System Proxy and or with the<br>
> virtiofs PCI device driver because I'm not able to enable the virtiofs<br>
> service with the command used on the tutorial :<br>
><br>
> C:\> sc start VirtioFsSvc<br>
><br>
> it gives the error : "the dependency service does not exist or it has<br>
> been marked for the elimination.<br>
<br>
... I will point out that virtio-9p and virtiofs are two completely<br>
different things. You've configured the former in the host, and are<br>
trying to access data using the latter in the guest. That's not going<br>
to work.<br>
<br>
I could not find confirmation that either bhyve supports virtiofs or<br>
that 9p can be used from Windows from a quick search. I'm afraid you<br>
might be wading into entirely uncharted territory.<br>
<br>
> I've attached some screenshots to help you to understand what's happening.<br>
><br>
> <a href="https://ibb.co/m5vm1hd" rel="noreferrer" target="_blank">https://ibb.co/m5vm1hd</a><br>
> <a href="https://ibb.co/Qd6TS5d" rel="noreferrer" target="_blank">https://ibb.co/Qd6TS5d</a><br>
> <a href="https://ibb.co/3018SGd" rel="noreferrer" target="_blank">https://ibb.co/3018SGd</a><br>
<br>
I highly recommend changing your OS' language to English before<br>
grabbing screenshots. Limiting the pool of people who might be able<br>
to help you to those who can understand Italian is unlikely to make<br>
things any easier for you ;)<br>
<br>
-- <br>
Andrea Bolognani / Red Hat / Virtualization<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr">Mario.<br></div>