Skip to content
Snippets Groups Projects
  1. Aug 20, 2013
    • Anthony Liguori's avatar
      Merge remote-tracking branch 'stefanha/block-next' into staging · 9176e8fb
      Anthony Liguori authored
      
      # By Stefan Hajnoczi
      # Via Stefan Hajnoczi
      * stefanha/block-next:
        aio: drop io_flush argument
        tests: drop event_active_cb()
        thread-pool: drop thread_pool_active()
        dataplane/virtio-blk: drop flush_true() and flush_io()
        block/ssh: drop return_true()
        block/sheepdog: drop have_co_req() and aio_flush_request()
        block/rbd: drop qemu_rbd_aio_flush_cb()
        block/nbd: drop nbd_have_request()
        block/linux-aio: drop qemu_laio_completion_cb()
        block/iscsi: drop iscsi_process_flush()
        block/gluster: drop qemu_gluster_aio_flush_cb()
        block/curl: drop curl_aio_flush()
        aio: stop using .io_flush()
        tests: adjust test-thread-pool to new aio_poll() semantics
        tests: adjust test-aio to new aio_poll() semantics
        dataplane/virtio-blk: check exit conditions before aio_poll()
        block: stop relying on io_flush() in bdrv_drain_all()
        block: ensure bdrv_drain_all() works during bdrv_delete()
      
      Message-id: 1376921877-9576-1-git-send-email-stefanha@redhat.com
      Signed-off-by: default avatarAnthony Liguori <anthony@codemonkey.ws>
      9176e8fb
    • Anthony Liguori's avatar
      Merge remote-tracking branch 'rth/axp-next' into staging · 72420ce9
      Anthony Liguori authored
      
      # By Richard Henderson
      # Via Richard Henderson
      * rth/axp-next:
        target-alpha: Implement the typhoon iommu
        target-alpha: Consider the superpage when threading and ending TBs
        target-alpha: Use goto_tb in call_pal
        target-alpha: Implement call_pal without an exception
      
      Message-id: 1376720412-2165-1-git-send-email-rth@twiddle.net
      Signed-off-by: default avatarAnthony Liguori <anthony@codemonkey.ws>
      72420ce9
    • Anthony Liguori's avatar
      Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging · 237e4f92
      Anthony Liguori authored
      QOM CPUState refactorings / X86CPU
      
      * gdbstub coprocessor register count bugfix
      * QOM instance_post_init infrastructure to override dynamic properties
      * X86CPU HyperV preparations for CPU subclasses
      
      # gpg: Signature made Fri 16 Aug 2013 11:49:02 AM CDT using RSA key ID 3E7E013F
      # gpg: Can't check signature: public key not found
      
      # By Eduardo Habkost (3) and others
      # Via Andreas Färber
      * afaerber/tags/qom-cpu-for-anthony:
        cpus: Use cpu_is_stopped() efficiently
        target-i386: Move hyperv_* static globals to X86CPU
        qdev: Set globals in instance_post_init function
        qom: Introduce instance_post_init hook
        tests: Unit tests for qdev global properties handling
        gdbstub: Fix gdb_register_coprocessor() register counting
      237e4f92
  2. Aug 19, 2013
  3. Aug 16, 2013
  4. Aug 15, 2013
  5. Aug 14, 2013
  6. Aug 13, 2013
    • James Hogan's avatar
      qemu-char: fix infinite recursion connecting to monitor pty · 3a3567d3
      James Hogan authored
      
      Since commit bd5c51ee (qemu-char: don't issue CHR_EVENT_OPEN in a BH), an
      infinite recursion occurs when putting the monitor on a pty (-monitor
      pty) and connecting a terminal to the slave port.
      
      This is because of the qemu_chr_be_event(s, CHR_EVENT_OPENED) added to
      qemu_chr_be_generic_open(). This event is captured by monitor_event()
      which prints a welcome message to the character device. The flush of
      that welcome message retriggers another open event in pty_chr_state()
      because it checks s->connected, but only sets it to 1 after calling
      qemu_chr_be_generic_open().
      
      I've fixed this by setting s->connected = 1 before the call to
      qemu_chr_be_generic_open() instead of after, so that the recursive
      pty_chr_state() doesn't call it again.
      
      An example snippet of repeating backtrace:
       ...
       #107486 0x007aec58 in monitor_flush (mon=0xf418b0) at qemu/monitor.c:288
       #107487 0x007aee7c in monitor_puts (mon=0xf418b0, str=0x1176d07 "") at qemu/monitor.c:322
       #107488 0x007aef20 in monitor_vprintf (mon=0xf418b0, fmt=0x8d4820 "QEMU %s monitor - type 'help' for more information\n",
           ap=0x7f432be0) at qemu/monitor.c:339
       #107489 0x007aefac in monitor_printf (mon=0xf418b0, fmt=0x8d4820 "QEMU %s monitor - type 'help' for more information\n")
           at qemu/monitor.c:347
       #107490 0x007ba4bc in monitor_event (opaque=0xf418b0, event=2) at qemu/monitor.c:4699
       #107491 0x00684c28 in qemu_chr_be_event (s=0xf37788, event=2) at qemu/qemu-char.c:108
       #107492 0x00684c70 in qemu_chr_be_generic_open (s=0xf37788) at qemu/qemu-char.c:113
       #107493 0x006880a4 in pty_chr_state (chr=0xf37788, connected=1) at qemu/qemu-char.c:1145
       #107494 0x00687fa4 in pty_chr_update_read_handler (chr=0xf37788) at qemu/qemu-char.c:1121
       #107495 0x00687c9c in pty_chr_write (chr=0xf37788, buf=0x70b3c008 <Address 0x70b3c008 out of bounds>, len=538720)
           at qemu/qemu-char.c:1063
       #107496 0x00684cc4 in qemu_chr_fe_write (s=0xf37788, buf=0x70b3c008 <Address 0x70b3c008 out of bounds>, len=538720)
           at qemu/qemu-char.c:118
       ...
      
      Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
      Tested-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
      Message-id: 1375960178-10882-1-git-send-email-james.hogan@imgtec.com
      Cc: Michael Roth <mdroth@linux.vnet.ibm.com>
      Cc: Anthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      3a3567d3
    • Anthony Liguori's avatar
      pvpanic: fix bad merge · 02653c5e
      Anthony Liguori authored
      
      Context matching caused the 'has_pvpanic = true' to be applied to
      the 1.6 machine type instead of the 1.5 machine type.
      
      Reported-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Reported-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      02653c5e
  7. Aug 12, 2013
Loading