diff options
author | Laurent Vivier <laurent@vivier.eu> | 2010-09-17 18:13:57 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-09-21 15:39:42 +0200 |
commit | 5fe16888d33af7aca0d613d888c161af68c755c3 (patch) | |
tree | 1070ab1a9f7499011eb9bef2d6c18cb75d0b1b49 /qemu-nbd.c | |
parent | 581b9e29f36eec5de0779c3dbade980e4405d92e (diff) |
Improve qemu-nbd performance by 4400 %
This patch allows to reduce the boot time from an NBD server from 225 seconds to
5 seconds (time between the "boot cd:0" and the kernel init) for the
following command lines:
./qemu-nbd -t ../ISO/debian-500-powerpc-netinst.iso
and
./ppc-softmmu/qemu-system-ppc -cdrom nbd:localhost:1024
This patch combines the reply header and payload send operation.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions