1. 20 8月, 2013 3 次提交
    • A
      Merge remote-tracking branch 'stefanha/block-next' into staging · 9176e8fb
      Anthony Liguori 提交于
      # 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: NAnthony Liguori <anthony@codemonkey.ws>
      9176e8fb
    • A
      Merge remote-tracking branch 'rth/axp-next' into staging · 72420ce9
      Anthony Liguori 提交于
      # 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: NAnthony Liguori <anthony@codemonkey.ws>
      72420ce9
    • A
      Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging · 237e4f92
      Anthony Liguori 提交于
      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. 19 8月, 2013 19 次提交
  3. 17 8月, 2013 10 次提交
  4. 16 8月, 2013 2 次提交
  5. 14 8月, 2013 3 次提交
    • A
      mips_malta: do not raise exceptions when accessing invalid memory · cc413a39
      Aurelien Jarno 提交于
      Since commit c658b94f, MIPS raises
      exceptions when accessing invalid memory. This is not the correct
      behaviour for MIPS Malta Core LV, as the GT-64120A system controller
      just ignore undecoded access. This feature is used by the Linux kernel
      to probe for some devices.
      
      Emulate the correct behaviour in QEMU by adding an empty slot covering
      the entire memory space decoded by the GT-64120A.
      Tested-by: NStefan Weil <sw@weilnetz.de>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      cc413a39
    • M
      block: Dont ignore previously set bdrv_flags · 8b7a5415
      M. Mohan Kumar 提交于
      bdrv_flags is set by bdrv_parse_discard_flags(), but later it is reset
      to zero.
      Signed-off-by: NM. Mohan Kumar <mohan@in.ibm.com>
      Message-id: 1376483201-13466-1-git-send-email-mohan@in.ibm.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8b7a5415
    • J
      qemu-char: fix infinite recursion connecting to monitor pty · 3a3567d3
      James Hogan 提交于
      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: NJames Hogan <james.hogan@imgtec.com>
      Tested-by: NMichael 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: NAnthony Liguori <aliguori@us.ibm.com>
      3a3567d3
  6. 13 8月, 2013 3 次提交