Hi,
I was part of SPICE team in Red Hat.
On Wed, Apr 16, 2025 at 11:03:09AM -0400, 'Stu Gott' via kubevirt-dev wrote:
> Hi Andre,
>
> Adding the dev mailing list as this might be a wider discussion.
>
> On Wed, Apr 16, 2025 at 10:49 AM Andre Meyer Pflug <
an...@meyerpflug.com.br>
> wrote:
>
> Dear Scott Herold,
>
> As we discussed at the community meeting of KUBEVIRT, we
> are building a team to develop what is missing and use
> SPICE PROTOCOL on kubevirt instead of RDP...
>
> I did some digging on this and got the following insights:
>
> Heads up, SPICE protocol is removed entirely in upcoming qemu
> versions. This is a complete showstopper for re-enabling it.
> KubeVirt flatly won't be able to proxy something that's not
> there.
It is not enable in centos9stream which is what we use to build
KubeVirt images. SPICE packages were also removed, apart from
what is needed to keep compability, that is, spice-protocol
(headers) and spice-vdagent (guest agent).
Without spice-server we can't enable spice driver in QEMU, so not
doable from c9s onwards.
> Additionally, SPICE does not have a web-enabled version so
> there's no way for server side representation of the VM.
SPICE actually has a spice-html5 client. Still needs server side
to do work.
> There exist SPICE implementations that can run inside the VM.
> Have you explored this?
There is, x11spice for example. I think Frediano worked on
equivalent of Windows.
> I'm genuinely curious what shortcomings RDP has over SPICE that
> you would need to use the latter. I regard SPICE as generally
> inferior.
No offense taken ;) It was actually pretty good.
Main issue with SPICE is that upstream community is very much low
in contributions. For a long while it was basically dead after
Red Hat defunded the project. We have ocasional contributions,
but that's it.
I think RDP has good chance of success in KubeVirt because it can
be out of process, communicating over DBUS
https://crates.io/crates/qemu-rdp
That is better approach IMHO than linking to spice-server.
We could probably work towards good design for VDI with RDP in
KubeVirt... libvirt has support for this since v11.2.0 (last
release!) probably will only be available for centos 10 as they
are on backport mode for centos 9.
https://www.mail-archive.com/de...@lists.libvirt.org/msg09431.html
Cheers,
Victor