1. 28 5月, 2012 1 次提交
    • R
      ISCSI: redo how we set up the events · c9b9f682
      Ronnie Sahlberg 提交于
      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: NRonnie Sahlberg <ronniesahlberg@gmail.com>
      c9b9f682
  2. 25 5月, 2012 1 次提交
  3. 24 5月, 2012 2 次提交
    • J
      audio: Always call fini on exit · aeb29b64
      Jan Kiszka 提交于
      Not only clean up enabled voices but any registered one. Backends like
      pulsaudio rely on unconditional fini handler invocations.
      
      This fixes "Memory pool destroyed but not all memory blocks freed!"
      warnings on VM shutdowns when pa is used and lockups of QEMU on shutdown
      as it got stuck on some pa-internal synchronization point.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      aeb29b64
    • S
      es1370: Fix debug code · f8687bab
      Stefan Weil 提交于
      When DEBUG_ES1370 is defined, the compiler shows these warnings:
      
      hw/es1370.c: In function ?es1370_update_voices?:
      hw/es1370.c:414: warning: format ?%d? expects type ?int?, but argument 3 has type ?size_t?
      hw/es1370.c: In function ?es1370_writel?:
      hw/es1370.c:582: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int?
      hw/es1370.c:592: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int?
      hw/es1370.c:609: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int?
      hw/es1370.c: In function ?es1370_readl?:
      hw/es1370.c:751: warning: suggest braces around empty body in an ?if? statement
      
      Fix the format strings and add the missing braces.
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      f8687bab
  4. 22 5月, 2012 11 次提交
  5. 19 5月, 2012 5 次提交
  6. 18 5月, 2012 2 次提交
  7. 15 5月, 2012 17 次提交
  8. 14 5月, 2012 1 次提交