qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 5/7] ui/vnc: clipboard support


From: Gerd Hoffmann
Subject: Re: [PATCH 5/7] ui/vnc: clipboard support
Date: Thu, 4 Mar 2021 11:07:46 +0100

  Hi,

> > I don't see the
> > agent doing the same (I might be missing something).
> 
> Hmm, ok.  Guess I should better be prepared to receive messages larger
> than VD_AGENT_MAX_DATA_SIZE ...

Confirmed.  Cut+paste large text blocks in the guest -> hangs qemu
vdagent implementation, because the message doesn't fit into the
fixed-site (VD_AGENT_MAX_DATA_SIZE) message buffer.

So I need so switch to dynamic allocation when reworking the code for
proper size checks.

The other way around hangs too, seems the guest agent is not prepared
to receive large messages and expects them in chunks ...

take care,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]