summaryrefslogtreecommitdiffstats
path: root/server/spice-experimental.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-12-05 16:27:11 +0200
committerAlon Levy <alevy@redhat.com>2010-12-06 13:20:14 +0200
commitdc8946f9f49a2683748ba42dc6a85a7e68ad69bc (patch)
tree505a7aac3411388819d152687aa63d472ff2b3bb /server/spice-experimental.h
parent3eac5463092ed0135599137df70479c582ee3bc2 (diff)
downloadspice-dc8946f9f49a2683748ba42dc6a85a7e68ad69bc.tar.gz
spice-dc8946f9f49a2683748ba42dc6a85a7e68ad69bc.tar.xz
spice-dc8946f9f49a2683748ba42dc6a85a7e68ad69bc.zip
server/vdi_port (virtserial): always read data
We erronously ignored data from guest on the serial channel if no client is connected. This leads to an assert when the guest writes a second time, since there is still data unconsumed by us (the host). Fix by reading data anyway, and discarding it after parsing (and reading) whole messages from the guest. Net affect is that any messages the agent sends while no client is connected get discarded, but only full messages are discarded. This fixes an abort if booting a winxp guest with vdagent without a connected client.
Diffstat (limited to 'server/spice-experimental.h')
0 files changed, 0 insertions, 0 deletions