vdagent drag and drop question

Victor Toso victortoso at redhat.com
Tue May 28 07:01:22 UTC 2024


Hi,

On Mon, May 27, 2024 at 12:22:54PM GMT, ToddAndMargo wrote:
> On 5/27/24 08:07, Victor Toso wrote:
> > On Wed, May 22, 2024 at 12:58:41AM GMT, ToddAndMargo wrote:
> > > Hi All,
> > > 
> > > Host:
> > >     Fedora 39
> > >     spice-server-0.15.1-3.fc39.x86_64
> > >     spice-glib-0.42-3.fc39.x86_64
> > >     spice-gtk3-0.42-3.fc39.x86_64
> > >     spice-vdagent-0.22.1-6.fc39.x86_64
> > >     qemu-kvm-8.1.3-5.fc39.x86_64
> > > 
> > > VM:
> > >     Windows 11 23H2
> > >     Virtio-win-driver-installer 0.1.240
> > >     Virtio-win-guest-tools  0.1.240
> > > 
> > > I can drag and drop a file from my Linux host to a
> > > qemu-kvm Windows 11 virtual machine but I can not
> > > do it in reverse
> > > 
> > > What am I doing wrong?
> > 
> >  From Guest to Client, drag-and-drop does not work.
> >  From Client to Guest, it should. The data of the file is copied
> > by the client (e.g: spice-gtk) and provided to the guest agent
> > which creates the file with the contents.
> 
> That explains it.  Thank you.
> 
> Is there a file sharing option somewhere (other
> that Samba)?

In SPICE? We have also webdav channel, it requires spice-webdavd
daemon running in the guest plus the client being build with
phodav option enabled.

Other than that, it depends on what you are using to manage the
VM. QEMU has quite a few options, the most popular nowadays is
virtiofs I think

    https://libvirt.org/kbase/virtiofs.html

Cheers,
Victor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20240528/35b0a4af/attachment.sig>


More information about the Spice-devel mailing list