1. 14 10月, 2014 3 次提交
  2. 10 10月, 2014 10 次提交
  3. 09 10月, 2014 9 次提交
  4. 07 10月, 2014 6 次提交
  5. 06 10月, 2014 2 次提交
    • P
      gdbstub: Allow target CPUs to specify watchpoint STOP_BEFORE_ACCESS flag · 2472b6c0
      Peter Maydell 提交于
      GDB assumes that watchpoint set via the gdbstub remote protocol will
      behave in the same way as hardware watchpoints for the target. In
      particular, whether the CPU stops with the PC before or after the insn
      which triggers the watchpoint is target dependent. Allow guest CPU
      code to specify which behaviour to use. This fixes a bug where with
      guest CPUs which stop before the accessing insn GDB would manually
      step forward over what it thought was the insn and end up one insn
      further forward than it should be.
      
      We set this flag for the CPU architectures which set
      gdbarch_have_nonsteppable_watchpoint in gdb 7.7:
      ARM, CRIS, LM32, MIPS and Xtensa.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NEdgar E. Iglesias <edgar.iglesias@xilinx.com>
      Tested-by: NMax Filippov <jcmvbkbc@gmail.com>
      Tested-by: NEdgar E. Iglesias <edgar.iglesias@xilinx.com>
      Tested-by: Michael Walle <michael@walle.cc> (for lm32)
      Message-id: 1410545057-14014-1-git-send-email-peter.maydell@linaro.org
      2472b6c0
    • P
      Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging · 507ef2f9
      Peter Maydell 提交于
      # gpg: Signature made Sat 04 Oct 2014 21:24:46 BST using RSA key ID 81AB73C8
      # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
      # gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>"
      
      * remotes/stefanha/tags/block-pull-request: (23 commits)
        blockdev-test: Test device_del after drive_del
        blockdev-test: Factor out some common code into helpers
        blockdev-test: Simplify by using g_assert_cmpstr()
        blockdev-test: Clean up bogus drive_add argument
        blockdev-test: Use single rather than double quotes in QMP
        drive_del-test: Merge of qdev-monitor-test, blockdev-test
        iotests: qemu-img info output for corrupt image
        qapi: Add corrupt field to ImageInfoSpecificQCow2
        iotests: Use _img_info
        util: Emancipate id_wellformed() from QemuOpts
        q35/ahci: Pick up -cdrom and -hda options
        qtest/bios-tables: Correct Q35 command line
        ide: Update ide_drive_get to be HBA agnostic
        pc/vl: Add units-per-default-bus property
        blockdev: Allow overriding if_max_dev property
        blockdev: Orphaned drive search
        qemu-iotests: Fix supported cache modes for 052
        make check-block: Use default cache modes
        Modify qemu_opt_rename to realize renaming all items in opts
        vmdk: Fix integer overflow in offset calculation
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      507ef2f9
  6. 05 10月, 2014 9 次提交
  7. 04 10月, 2014 1 次提交
    • E
      accel: Rename 'init' method to 'init_machine' · 0d15da8e
      Eduardo Habkost 提交于
      Today, all accelerator init functions affect some global state:
      * tcg_init() calls tcg_exec_init() and affects globals such as tcg_tcx,
        page size globals, and possibly others;
      * kvm_init() changes the kvm_state global, cpu_interrupt_handler, and possibly
        others;
      * xen_init() changes the xen_xc global, and registers a change state handler.
      
      With the new accelerator QOM classes, initialization may now be split in two
      steps:
      * instance_init() will do basic initialization that doesn't affect any global
        state and don't need MachineState or MachineClass data. This will allow
        probing code to safely create multiple accelerator objects on the fly just
        for reporting host/accelerator capabilities, for example.
      * accel_init_machine()/init_machine() will save the accelerator object in
        MachineState, and do initialization steps which still affect global state,
        machine state, or that need data from MachineClass or MachineState.
      
      To clarify the difference between those two steps, rename init() to
      init_machine().
      Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      0d15da8e