]> xenbits.xensource.com Git - xen.git/commit
libxl: reimplement buffer for bootloading and drop data if buffer is full.
authorRoger Pau Monne <roger.pau@entel.upc.edu>
Wed, 2 Nov 2011 15:46:54 +0000 (15:46 +0000)
committerRoger Pau Monne <roger.pau@entel.upc.edu>
Wed, 2 Nov 2011 15:46:54 +0000 (15:46 +0000)
commit487b6faa2c08e0dd23ddd2587360a5129ae52e05
tree9725bc7e2846d66b91aa0a99be852ab13977edfa
parenta54aa0a41cfaf18b10e6950d46eaf625146b9d63
libxl: reimplement buffer for bootloading and drop data if buffer is full.

Implement a buffer for the bootloading process that appends data to
the end until it's full. Drop the whole buffer if a timeout has
occurred and the buffer is full. Prevents the bootloader from getting
stuck when using ptys with small buffers.

Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_bootloader.c