Re: Fwd: Installing virtiofs drivers on Windows 11....

2021-11-29 Thread Mario Marietto
I've been lucky to find a compatriot :) Sometimes time happens and it makes
me feel happy. You are right. I got confused. I've thought virtio-9p
working depended on virtiofs working. Anyway, 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.



Il giorno lun 29 nov 2021 alle ore 19:21 Andrea Bolognani <
abolo...@redhat.com> ha scritto:

> On Mon, Nov 29, 2021 at 06:15:40PM +0100, Mario Marietto wrote:
> > Hello to everyone.
> >
> > I'm testing Windows 11 with bhyve and I've found an annoying problem that
> > prevents me from completing some tasks that I'm working on.
> >
> > It seems that the virtio-9p driver does not work inside the Windows 11 os
> > emulated with bhyve and maybe also with qemu-kvm. When Windows 11 is
> > launched,I don't see the folder "mnt" mounted on the root folder of
> Windows
> > 11. Below you can see which bhyve parameters I've used :
> >
> > bhyve -S -c 4 -m 8G -w -H \
> > -s 0,hostbridge \
> > -s 1,ahci-cd,/home/marietto/Downloads/virtio/virtio-win-0.1.208.iso \
> > -s 2,ahci-hd,/mnt/da0p1/Backups/OS/bhyve/Windows/win11.img \
> > -s 3,fbuf,tcp=0.0.0.0:5900,w=1440,h=900,wait \
> > -s 8,virtio-net,tap0 \
> > > -s 9,virtio-9p,sharename=/mnt \
> > -s 30,xhci,tablet \
> > -s 31,lpc \
> > -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
> > vm0
>
> You're cross-posting this to the libvirt users and virt-tools
> developers list, and yet you seem to be running bhyve directly so
> neither libvirt nor virt-manager are involved.
>
> I assume that a support list for bhyve users exists. That would be
> the appropriate forum to ask for help.
>
> Anyway, since I'm already replying...
>
> > Investigating a little bit more and reading from this tutorial :
> >
> > https://virtio-fs.gitlab.io/howto-windows.html
> >
> > I've realized that there should be some problem with the WinFsp
> >  - Windows File System Proxy and or with
> the
> > virtiofs PCI device driver because I'm not able to enable the virtiofs
> > service with the command used on the tutorial :
> >
> > C:\> sc start VirtioFsSvc
> >
> > it gives the error : "the dependency service does not exist or it has
> > been marked for the elimination.
>
> ... I will point out that virtio-9p and virtiofs are two completely
> different things. You've configured the former in the host, and are
> trying to access data using the latter in the guest. That's not going
> to work.
>
> I could not find confirmation that either bhyve supports virtiofs or
> that 9p can be used from Windows from a quick search. I'm afraid you
> might be wading into entirely uncharted territory.
>
> > I've attached some screenshots to help you to understand what's
> happening.
> >
> > https://ibb.co/m5vm1hd
> > https://ibb.co/Qd6TS5d
> > https://ibb.co/3018SGd
>
> I highly recommend changing your OS' language to English before
> grabbing screenshots. Limiting the pool of people who might be able
> to help you to those who can understand Italian is unlikely to make
> things any easier for you ;)
>
> --
> Andrea Bolognani / Red Hat / Virtualization
>
>

-- 
Mario.


Re: Fwd: Installing virtiofs drivers on Windows 11....

2021-11-29 Thread Andrea Bolognani
On Mon, Nov 29, 2021 at 06:15:40PM +0100, Mario Marietto wrote:
> Hello to everyone.
>
> I'm testing Windows 11 with bhyve and I've found an annoying problem that
> prevents me from completing some tasks that I'm working on.
>
> It seems that the virtio-9p driver does not work inside the Windows 11 os
> emulated with bhyve and maybe also with qemu-kvm. When Windows 11 is
> launched,I don't see the folder "mnt" mounted on the root folder of Windows
> 11. Below you can see which bhyve parameters I've used :
>
> bhyve -S -c 4 -m 8G -w -H \
> -s 0,hostbridge \
> -s 1,ahci-cd,/home/marietto/Downloads/virtio/virtio-win-0.1.208.iso \
> -s 2,ahci-hd,/mnt/da0p1/Backups/OS/bhyve/Windows/win11.img \
> -s 3,fbuf,tcp=0.0.0.0:5900,w=1440,h=900,wait \
> -s 8,virtio-net,tap0 \
> > -s 9,virtio-9p,sharename=/mnt \
> -s 30,xhci,tablet \
> -s 31,lpc \
> -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
> vm0

You're cross-posting this to the libvirt users and virt-tools
developers list, and yet you seem to be running bhyve directly so
neither libvirt nor virt-manager are involved.

I assume that a support list for bhyve users exists. That would be
the appropriate forum to ask for help.

Anyway, since I'm already replying...

> Investigating a little bit more and reading from this tutorial :
>
> https://virtio-fs.gitlab.io/howto-windows.html
>
> I've realized that there should be some problem with the WinFsp
>  - Windows File System Proxy and or with the
> virtiofs PCI device driver because I'm not able to enable the virtiofs
> service with the command used on the tutorial :
>
> C:\> sc start VirtioFsSvc
>
> it gives the error : "the dependency service does not exist or it has
> been marked for the elimination.

... I will point out that virtio-9p and virtiofs are two completely
different things. You've configured the former in the host, and are
trying to access data using the latter in the guest. That's not going
to work.

I could not find confirmation that either bhyve supports virtiofs or
that 9p can be used from Windows from a quick search. I'm afraid you
might be wading into entirely uncharted territory.

> I've attached some screenshots to help you to understand what's happening.
>
> https://ibb.co/m5vm1hd
> https://ibb.co/Qd6TS5d
> https://ibb.co/3018SGd

I highly recommend changing your OS' language to English before
grabbing screenshots. Limiting the pool of people who might be able
to help you to those who can understand Italian is unlikely to make
things any easier for you ;)

-- 
Andrea Bolognani / Red Hat / Virtualization



Fwd: Installing virtiofs drivers on Windows 11....

2021-11-29 Thread Mario Marietto
Hello to everyone.

I'm testing Windows 11 with bhyve and I've found an annoying problem that
prevents me from completing some tasks that I'm working on.

It seems that the virtio-9p driver does not work inside the Windows 11 os
emulated with bhyve and maybe also with qemu-kvm. When Windows 11 is
launched,I don't see the folder "mnt" mounted on the root folder of Windows
11. Below you can see which bhyve parameters I've used :

bhyve -S -c 4 -m 8G -w -H \
-s 0,hostbridge \
-s 1,ahci-cd,/home/marietto/Downloads/virtio/virtio-win-0.1.208.iso \
-s 2,ahci-hd,/mnt/da0p1/Backups/OS/bhyve/Windows/win11.img \
-s 3,fbuf,tcp=0.0.0.0:5900,w=1440,h=900,wait \
-s 8,virtio-net,tap0 \
> -s 9,virtio-9p,sharename=/mnt \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
vm0

Investigating a little bit more and reading from this tutorial :

https://virtio-fs.gitlab.io/howto-windows.html

I've realized that there should be some problem with the WinFsp
 - Windows File System Proxy and or with the
virtiofs PCI device driver because I'm not able to enable the virtiofs
service with the command used on the tutorial :

C:\> sc start VirtioFsSvc

it gives the error : "the dependency service does not exist or it has
been marked for the elimination.

I've attached some screenshots to help you to understand what's happening.


Please help me,thanks.

Attached screenshots :

https://ibb.co/m5vm1hd
https://ibb.co/Qd6TS5d
https://ibb.co/3018SGd

-- 
Mario.


Re: virt-viewer light theme?

2021-11-29 Thread Daniel P . Berrangé
On Fri, Nov 26, 2021 at 02:37:45PM -0800, ToddAndMargo wrote:
> Hi All,
> 
> FC35
> Xfce 4.16
> virt-viewer-10.0-4.fc35.x86_64
> 
> Is there a way to switch virt-viewer's decorations
> from its current dark theme to a light or system
> theme?

You can set an env variable if desired

  GTK_THEME=Adwaita:light

Daniel
-- 
|: https://berrange.com  -o-https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-https://fstop138.berrange.com :|
|: https://entangle-photo.org-o-https://www.instagram.com/dberrange :|