1. 15 12月, 2012 4 次提交
  2. 14 12月, 2012 4 次提交
    • A
      Merge remote-tracking branch 'kwolf/for-anthony' into staging · e376a788
      Anthony Liguori 提交于
      * kwolf/for-anthony: (43 commits)
        qcow2: Factor out handle_dependencies()
        qcow2: Execute run_dependent_requests() without lock
        qcow2: Enable dirty flag in qcow2_alloc_cluster_link_l2
        qcow2: Allocate l2meta only for cluster allocations
        qcow2: Drop l2meta.cluster_offset
        qcow2: Allocate l2meta dynamically
        qcow2: Introduce Qcow2COWRegion
        qcow2: Round QCowL2Meta.offset down to cluster boundary
        atapi: reset cdrom tray statuses on ide_reset
        qemu-iotests: Test concurrent cluster allocations
        qcow2: Move BLKDBG_EVENT out of the lock
        qemu-io: Add AIO debugging commands
        blkdebug: Implement suspend/resume of AIO requests
        blkdebug: Factor out remove_rule()
        blkdebug: Allow usage without config file
        create new function: qemu_opt_set_number
        use qemu_opts_create_nofail
        introduce qemu_opts_create_nofail function
        qemu-option: qemu_opt_set_bool(): fix code duplication
        qemu-option: qemu_opts_validate(): fix duplicated code
        ...
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      e376a788
    • A
      Merge remote-tracking branch 'pmaydell/arm-devs.next' into staging · df933007
      Anthony Liguori 提交于
      * pmaydell/arm-devs.next:
        hw/ds1338.c: Fix handling of DAY (wday) register.
        hw/ds1338.c: Implement support for the control register.
        hw/ds1338.c: Ensure state is properly initialized.
        hw/ds1338.c: Fix handling of HOURS register.
        hw/ds1338.c: Add definitions for various flags in the RTC registers.
        hw/ds1338.c: Correct bug in conversion to BCD.
        exynos4210/mct: Avoid infinite loop on non incremental timers
        hw/arm_gic: fix target CPUs affected by set enable/pending ops
        xilinx_zynq: Add one variable to avoid overwriting QSPI bus
        hw/arm_gic_common: Correct GICC_PMR reset value for newer GICs
        hw/arm_gic: Fix comparison with priority mask register
        hw/arm_boot, exynos4210, highbank: Fix secondary boot GIC init
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      df933007
    • A
      Merge remote-tracking branch 'kraxel/seabios-e8a76b0' into staging · aa1246ae
      Anthony Liguori 提交于
      * kraxel/seabios-e8a76b0:
        seabios: update to e8a76b0f225bba5ba9d63ab227e0a37b3beb1059
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      aa1246ae
    • A
      qMerge remote-tracking branch 'awilliam/tags/vfio-pci-for-qemu-20121210.0' into staging · 5a585980
      Anthony Liguori 提交于
      vfio-pci: fix kvm disabled path
      
      * awilliam/tags/vfio-pci-for-qemu-20121210.0:
        vfio-pci: Don't use kvm_irqchip_in_kernel
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      5a585980
  3. 13 12月, 2012 17 次提交
  4. 12 12月, 2012 6 次提交
    • K
      qemu-iotests: Test concurrent cluster allocations · 91d4093d
      Kevin Wolf 提交于
      This adds some first tests for qcow2's dependency handling when two
      parallel write requests access the same cluster.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      91d4093d
    • K
      qcow2: Move BLKDBG_EVENT out of the lock · 67a7a0eb
      Kevin Wolf 提交于
      We want to use these events to suspend requests for testing concurrent
      AIO requests. Suspending requests while they are holding the CoMutex is
      rather boring for this purpose.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      67a7a0eb
    • K
      qemu-io: Add AIO debugging commands · 41c695c7
      Kevin Wolf 提交于
      This makes the blkdebug suspend/resume functionality available in
      qemu-io. Use it like this:
      
        $ ./qemu-io blkdebug::/tmp/test.qcow2
        qemu-io> break write_aio req_a
        qemu-io> aio_write 0 4k
        qemu-io> blkdebug: Suspended request 'req_a'
        qemu-io> resume req_a
        blkdebug: Resuming request 'req_a'
        qemu-io> wrote 4096/4096 bytes at offset 0
        4 KiB, 1 ops; 0:00:30.71 (133.359788 bytes/sec and 0.0326 ops/sec)
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      41c695c7
    • K
      blkdebug: Implement suspend/resume of AIO requests · 3c90c65d
      Kevin Wolf 提交于
      This allows more systematic AIO testing. The patch adds three new
      operations to blkdebug:
      
       * Setting a "breakpoint" on a blkdebug event. The next request that
         triggers this breakpoint is suspended and is tagged with a name.
         The breakpoint is removed after a request has triggered it.
      
       * A suspended request (identified by it's tag) can be resumed
      
       * It's possible to check whether a suspended request with a given
         tag exists. This can be used for waiting for an event.
      
      Ideally, we would instead tag requests right when they are created and
      set breakpoints for individual requests. However, at this point the
      block layer doesn't allow this easily, and breakpoints that trigger for
      any request already allow a lot of useful testing.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      3c90c65d
    • K
      blkdebug: Factor out remove_rule() · 9e35542b
      Kevin Wolf 提交于
      The cleanup work to remove a rule depends on the type of the rule. It's
      easy for the existing rules as there is no data that must be cleaned up
      and is specific to a type yet, but the next patch will change this.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      9e35542b
    • K
      blkdebug: Allow usage without config file · 312a2ba0
      Kevin Wolf 提交于
      As soon as new rules can be set during runtime, as introduced by the
      next patch, blkdebug makes sense even without a config file.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      312a2ba0
  5. 11 12月, 2012 9 次提交