aboutsummaryrefslogtreecommitdiff
path: root/arm-semi.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2012-05-22 19:56:36 +1000
committerPaolo Bonzini <pbonzini@redhat.com>2012-05-28 14:04:06 +0200
commitc9b9f6824fd82058f6918b64d8fd9b1578fac353 (patch)
tree4a09da68c2d313cc249dc9be40df62f117928ddb /arm-semi.c
parent12badfc2385ae6822cbcbcc8d1c0ed71c9e0ff09 (diff)
ISCSI: redo how we set up the events
Call qemu_notify_event() after updating events. Otherwise, If we add an event for -is-writeable but the socket is already writeable there may be a delay before the event callback is actually triggered. Those delays would in particular hurt performance during BIOS boot and when the GRUB bootloader reads the kernel and initrd. But first call out to the socket write functions directly, and only set up the write event if the socket is full. This will happen very rarely and this improves performance. Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Diffstat (limited to 'arm-semi.c')
0 files changed, 0 insertions, 0 deletions