1. 13 4月, 2012 1 次提交
    • S
      kvm: add flightrecorder script · b3c09bde
      Stefan Hajnoczi 提交于
      The kvm kernel module includes a number of trace events which can be
      useful when debugging system behavior.  Even on production systems these
      trace events can be used to observe guest behavior and identify the
      source of problems.
      
      The kvm_flightrecorder script is a command-line wrapper for the
      /sys/kernel/debug/tracing interface.  Kernel symbols do not need to be
      installed.
      
      This script captures a fixed-size buffer of KVM trace events.  Recent
      events overwrite the oldest events when the buffer size is exceeded and
      it is possible to leave KVM tracing enabled for any period of time with
      just a fixed-size buffer.  If the buffer is large enough this script is
      a useful tool for collecting detailed information after an issue occurs
      with a guest.  Hence the name "flight recorder".
      
      The script can also be used in 'tail' mode to simply view KVM trace
      events as they occur.  This is handy for development and to ensure that
      the guest is indeed running.
      Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      b3c09bde
  2. 12 4月, 2012 2 次提交
  3. 10 4月, 2012 11 次提交
    • A
      target-i386: QOM'ify CPU reset · c1958aea
      Andreas Färber 提交于
      Move code from cpu_state_reset() into QOM x86_cpu_reset(),
      fixing style issues for FPU init.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      c1958aea
    • A
      target-i386: QOM'ify CPU init · de024815
      Andreas Färber 提交于
      Move code from cpu_x86_init() to new QOM x86_cpu_initfn().
      Also move mce_init() to cpu.c since it's used nowhere else.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      de024815
    • A
      target-i386: QOM'ify CPU · 5fd2087a
      Andreas Färber 提交于
      Embed CPUX86State as first member of X86CPU.
      Distinguish between "x86_64-cpu" and "i386-cpu".
      Drop cpu_x86_close() in favor of calling object_delete() directly.
      
      For now let CPUClass::reset() call cpu_state_reset().
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      5fd2087a
    • A
      target-i386: Rename cpuid.c · 30471bc9
      Andreas Färber 提交于
      Name it cpu.c to align with other QOM'ified targets.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      30471bc9
    • A
      Merge commit 'ff71f2e8' into staging · 4e1957ac
      Anthony Liguori 提交于
      * commit 'ff71f2e8': (21 commits)
        rtl8139: do the network/host communication only in normal operating mode
        rtl8139: correctly check the opmode
        net: move compute_mcast_idx() to net.h
        rtl8139: support byte read to TxStatus registers
        rtl8139: remove unused marco
        rtl8139: limit transmission buffer size in c+ mode
        pci_regs: Add PCI_EXP_TYPE_PCIE_BRIDGE
        virtio-net: add DATA_VALID flag
        pci_bridge: upper 32 bit are long registers
        pci: fix bridge IO/BASE
        pcie: drop functionality moved to core
        pci: set memory type for memory behind the bridge
        pci: add standard bridge device
        slotid: add slot id capability
        shpc: standard hot plug controller
        pci_bridge: user-friendly default bus name
        pci: make another unused extern function static
        pci: don't export an internal function
        pci_regs: Fix value of PCI_EXP_TYPE_RC_EC.
        pci: Do not check if a bus exist in pci_parse_devaddr.
        ...
      4e1957ac
    • A
      Merge remote-tracking branch 'qmp/queue/qmp' into staging · 6da25bd5
      Anthony Liguori 提交于
      * qmp/queue/qmp:
        qapi: convert device_del
        qdev: qdev_unplug(): use error_set()
      6da25bd5
    • A
      Merge remote-tracking branch 'kwolf/for-anthony' into staging · bb5d8dd7
      Anthony Liguori 提交于
      * kwolf/for-anthony: (46 commits)
        qed: remove incoming live migration blocker
        qed: honor BDRV_O_INCOMING for incoming live migration
        migration: clear BDRV_O_INCOMING flags on end of incoming live migration
        qed: add bdrv_invalidate_cache to be called after incoming live migration
        blockdev: open images with BDRV_O_INCOMING on incoming live migration
        block: add a function to clear incoming live migration flags
        block: Add new BDRV_O_INCOMING flag to notice incoming live migration
        block stream: close unused files and update ->backing_hd
        qemu-iotests: Fix call syntax for qemu-io
        qemu-iotests: Fix call syntax for qemu-img
        qemu-iotests: Test unknown qcow2 header extensions
        qemu-iotests: qcow2.py
        sheepdog: fix send req helpers
        sheepdog: implement SD_OP_FLUSH_VDI operation
        block: bdrv_append() fixes
        qed: track dirty flag status
        qemu-img: add dirty flag status
        qed: image fragmentation statistics
        qemu-img: add image fragmentation statistics
        block: document job API
        ...
      bb5d8dd7
    • A
      Merge remote-tracking branch 'stefanha/trivial-patches' into staging · 72fe3aae
      Anthony Liguori 提交于
      * stefanha/trivial-patches:
        make: fix clean rule by removing build file in qom/
        configure: Link qga against UST tracing related libraries
        configure: Link QEMU against 'liburcu-bp'
        main-loop: make qemu_event_handle static
        block/curl: Replace usleep by g_usleep
        qtest: Add missing GCC_FMT_ATTR
        w32: Undefine error constants before their redefinition
        configure: fix mingw32 libs_qga typo
      72fe3aae
    • P
      petalogix_s3adsp1800: deleted bad FIXME comment · 2c097f60
      Peter A. G. Crosthwaite 提交于
      This FIXME has already been actioned. Deleted comment.
      Signed-off-by: NPeter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
      Signed-off-by: NEdgar E. Iglesias <edgar.iglesias@gmail.com>
      2c097f60
    • L
      a15fef21
    • L
      qdev: qdev_unplug(): use error_set() · 56f9107e
      Luiz Capitulino 提交于
      It currently uses qerror_report(), but next commit will convert
      the drive_del command to the QAPI and this requires using
      error_set().
      
      One particularity of qerror_report() is that it knows when it's
      running on monitor context or command-line context and prints the
      error message accordingly. error_set() doesn't do this, so we
      have to be careful not to drop error messages.
      
      qdev_unplug() has three kinds of usages:
      
       1. It's called when hot adding a device fails, to undo anything
          that has been done before hitting the error
      
       2. It's called by function monitor functions like device_del(),
          to unplug a device
      
       3. It's used by xen_platform.c in a way that doesn't _seem_ to
          be in monitor context
      
      Only item 2 can print an error message to the user, this commit
      maintains that.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Reviewed-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      56f9107e
  4. 09 4月, 2012 1 次提交
  5. 08 4月, 2012 2 次提交
  6. 07 4月, 2012 21 次提交
  7. 06 4月, 2012 2 次提交