« Previous | Next » 

Revision a478f6e5

IDa478f6e595dab1801931d56d097623d65f5b6d1d

Added by Paolo Bonzini over 12 years ago

qemu-nbd: simplify nbd_trip

Use TCP_CORK to remove a violation of encapsulation, that would later
require nbd_trip to know too much about an NBD reply.

We could also switch to sendmsg (qemu_co_sendv) later, it is even
easier once coroutines are in.

Signed-off-by: Paolo Bonzini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences