Skip to content
Commits on Apr 24, 2012
  1. target-i386: Introduce "tsc-frequency" property for X86CPU

    committed Apr 18, 2012
    Use Hz as unit.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
  2. target-i386: Prepare "vendor" property for X86CPU

    committed Apr 17, 2012
    Using it now would incur converting the three x86_def_t vendor words
    into a string for object_property_set_str(), then back to three words
    in the "vendor" setter.
    The built-in CPU definitions use numeric preprocessor defines to
    initialize the three words in a charset-safe way, so do not change the
    fields to char[12] just to use the setter.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
  3. target-i386: Introduce "xlevel" property for X86CPU

    committed Apr 17, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
  4. target-i386: Introduce "level" property for X86CPU

    committed Apr 17, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
  5. target-i386: Add property getter for CPU model-id

    committed Apr 17, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
  6. target-i386: Add property getter for CPU stepping

    committed Apr 17, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
  7. target-i386: Add property getter for CPU model

    committed Apr 17, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  8. target-i386: Add property getter for CPU family

    committed Apr 17, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
  9. target-i386: Add "model-id" property to X86CPU

    committed Apr 17, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
  10. target-i386: Add "stepping" property to X86CPU

    committed Apr 17, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
  11. target-i386: Add "model" property to X86CPU

    committed Apr 17, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
  12. target-i386: Add "family" property to X86CPU

    committed Apr 17, 2012
    Add the property early in the initfn so that it can be used in helpers
    such as mce_init().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
    [AF: Add an error_free(), spotted by Michael Roth]
  13. target-i386: Add range check for -cpu ,family=x

    committed Apr 17, 2012
    A family field value of 0xf and extended family field value of 0xff is
    the maximum representable unsigned family number.
    All other CPUID property values are bounds-checked, so add a check here
    for symmetry before we adopt it in a property setter.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
  14. target-i386: Pass X86CPU to cpu_x86_register()

    committed Apr 17, 2012
    Avoids an x86_env_get_cpu() call there, to work with QOM properties.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
  15. target-i386: Fix x86_cpuid_set_model_id()

    committed Apr 17, 2012
    Don't assume zeroed cpuid_model[] fields.
    
    This doesn't break anything yet but QOM properties should be able to set
    the value to something else without setting an intermediate zero string.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Commits on Apr 23, 2012
  1. Merge remote-tracking branch 'origin/master' into staging

    Anthony Liguori committed Apr 23, 2012
    * origin/master:
      qtest: fix memread and memwrite on 32 bit hosts
  2. Merge remote-tracking branch 'qmp/queue/qmp' into staging

    Anthony Liguori committed Apr 23, 2012
    * qmp/queue/qmp:
      qapi: g_hash_table_find() instead of GHashTableIter.
      qmp: make block job command naming consistent
  3. @blueswirl

    qtest: fix memread and memwrite on 32 bit hosts

    blueswirl committed Apr 23, 2012
    Use PRIx64 to print 64 bit values to avoid truncation
    on 32 bit hosts.
    
    Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  4. Merge remote-tracking branch 'kwolf/for-anthony' into staging

    Anthony Liguori committed Apr 23, 2012
    * kwolf/for-anthony: (38 commits)
      qemu-iotests: Fix test 031 for qcow2 v3 support
      qemu-iotests: Add -o and make v3 the default for qcow2
      qcow2: Zero write support
      qemu-iotests: Test backing file COW with zero clusters
      qemu-iotests: add a simple test for write_zeroes
      qcow2: Support for feature table header extension
      qcow2: Support reading zero clusters
      qcow2: Version 3 images
      qcow2: Ignore reserved bits in check_refcounts
      qcow2: Ignore reserved bits in refcount table entries
      qcow2: Simplify count_cow_clusters
      qcow2: Refactor qcow2_free_any_clusters
      qcow2: Ignore reserved bits in L1/L2 entries
      qcow2: Fail write_compressed when overwriting data
      qcow2: Ignore reserved bits in count_contiguous_clusters()
      qcow2: Ignore reserved bits in get_cluster_offset
      qcow2: Save disk size in snapshot header
      Specification for qcow2 version 3
      qcow2: Fix refcount block allocation during qcow2_alloc_cluster_at()
      iotests: Resolve test failures caused by hostname
      ...
  5. Merge remote-tracking branch 'origin/master' into staging

    Anthony Liguori committed Apr 23, 2012
    * origin/master:
      fix BCD mask for date (Solaris 2.5 guest hang fix)
  6. @blueswirl

    fix BCD mask for date (Solaris 2.5 guest hang fix)

    Artyom Tarasenko committed with blueswirl Apr 23, 2012
    Fix BCD mask for date. The most visible effect of this patch is
    Solaris 2.5.1 doesn't hang at boot if the day of month is >21.
    
    Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  7. Merge remote-tracking branch 'origin/master' into staging

    Anthony Liguori committed Apr 23, 2012
    * origin/master: (27 commits)
      target-arm: Move reset handling to arm_cpu_reset
      target-arm: Drop cpu_reset_model_id()
      target-arm: Move cache ID register setup to cpu specific init fns
      target-arm: Move OMAP cp15_i_{max,min} reset to cpu_state_reset
      target-arm: Move feature register setup to per-CPU init fns
      target-arm: Move iWMMXT wCID reset to cpu_state_reset
      target-arm: Drop JTAG_ID documentation
      target-arm: Move SCTLR reset value setup to per cpu init fns
      target-arm: Move CTR setup to per cpu init fns
      target-arm: Move MVFR* setup to per cpu init fns
      target-arm: Move FPSID config to cpu init fns
      target-arm: Move feature bit settings to CPU init fns
      target-arm: Add QOM subclasses for each ARM cpu implementation
      target-arm: remind to keep arm features in sync with linux-user/elfload.c
      tci: GETPC() macro must return an uintptr_t
      gdbstub: Synchronize CPU state unconditionally in gdb_set_cpu_pc
      softfloat: make USE_SOFTFLOAT_STRUCT_TYPES compile
      target-xtensa: add tests for LOOPNEZ and LOOPGTZ
      target-xtensa: fix LOOPNEZ/LOOPGTZ translation
      qtest: add m48t59 tests for Sparc
      ...
  8. @nodakai

    qapi: g_hash_table_find() instead of GHashTableIter.

    nodakai committed with Luiz Capitulino Apr 21, 2012
    GHashTableIter was first introduced in glib 2.16.
    This patch removes it in favor of older g_hash_table_find()
    for better compatibility with RHEL5.
    
    Signed-off-by: NODA, Kai <nodakai@gmail.com>
    Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
  9. qmp: make block job command naming consistent

    Stefan Hajnoczi committed with Luiz Capitulino Apr 11, 2012
    The block streaming and job commands used '_' instead of '-' for reasons
    of compatibility with libvirt, which already included support for the
    '_' naming.  However, the semantics of block_job_cancel have changed and
    libvirt now needs to handle the new semantics.
    
    Since the old semantics were never in a QEMU release we can still rename
    the commands to use '-' instead of '_'.  Libvirt is also happy because
    the new name can be used to distinguish QEMU binaries that support the
    latest block-job-cancel semantics from those that include a downstream
    block_job_cancel command.
    
    Therefore, let's apply the QAPI/QMP naming rules to the block streaming
    and job commands.  QEMU 1.1 will be the first release with these
    commands so no upstream users can break.
    
    Note that HMP commands are left with '_' because that is the convention
    there.
    
    Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
  10. Merge remote-tracking branch 'sstabellini/build_fix' into staging

    Anthony Liguori committed Apr 23, 2012
    * sstabellini/build_fix:
      xen: add a dummy xc_hvm_inject_msi for Xen < 4.2
      xen,configure: detect Xen 4.2
  11. Merge remote-tracking branch 'stefanha/trivial-patches' into staging

    Anthony Liguori committed Apr 23, 2012
    * stefanha/trivial-patches:
      Add .gitignore for tests/
      e1000: Fix spelling (segmentaion -> segmentation) in debug output
      spice-qemu-char.c: Show what name is unsupported
      pflash_cfi01: remove redundant line
      qxl: Add missing GCC_FMT_ATTR and fix format specifier
      fix block_job_set_speed name in documentation
      error.c: don't return value for void function
  12. Merge remote-tracking branch 'mdroth/qga-pull-4-19-12' into staging

    Anthony Liguori committed Apr 23, 2012
    * mdroth/qga-pull-4-19-12:
      qemu-ga: fix help output
      qemu-ga: generate missing stubs for fsfreeze
  13. Merge remote-tracking branch 'bonzini/nbd-next' into staging

    Anthony Liguori committed Apr 23, 2012
    * bonzini/nbd-next:
      nbd: obey FUA on reads
      nbd: do not include block_int.h
      nbd: do not block in nbd_wr_sync if no data at all is available
      nbd: consistently return negative errno values
      nbd: consistently check for <0 or >=0
      nbd: consistently use ssize_t
      nbd: avoid out of bounds access to recv_coroutine array
  14. Merge remote-tracking branch 'bonzini/scsi-next' into staging

    Anthony Liguori committed Apr 23, 2012
    * bonzini/scsi-next:
      scsi: add SANITIZE command
      SCSI emulation: should tell the guest that we actually support thin provisioning
      SCSI emulation: Support unmap via WRITE_SAME_10.
      scsi: advertise DPOFUA
      scsi: small refactoring of MMC mode-sense
      scsi: support FUA on reads
      scsi: add a started field to SCSIDiskReq
      scsi: force unit access on VERIFY
      scsi: add support for FUA on writes
      scsi: move scsi_flush_complete around
      scsi: make code more homogeneous in AIO callback functions
      scsi: add missing test for cancelled request
      virtio-scsi: add multiqueue capability
      virtio: add virtio_queue_get_id
      virtio-scsi: prepare migration format for multiqueue
      scsi: fix memory leak
  15. Merge remote-tracking branch 'stefanha/tracing' into staging

    Anthony Liguori committed Apr 23, 2012
    * stefanha/tracing:
      tracetool: handle DTrace keywords 'in', 'next', 'self'
      tracetool: Add MAINTAINERS info
      tracetool: Add support for the 'dtrace' backend
      tracetool: Add support for the 'ust' backend
      tracetool: Add support for the 'simple' backend
      tracetool: Add support for the 'stderr' backend
      tracetool: Add module for the 'h' format
      tracetool: Add module for the 'c' format
      tracetool: Rewrite infrastructure as python modules
Commits on Apr 21, 2012
  1. @pm215

    target-arm: Move reset handling to arm_cpu_reset

    pm215 committed Apr 20, 2012
    Now that cpu_reset_model_id() has gone we can move the
    reset code over to the class reset function and have cpu_state_reset
    simply do a reset on the CPU QOM object.
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Acked-by: Andreas Färber <afaerber@suse.de>
  2. @pm215

    target-arm: Drop cpu_reset_model_id()

    pm215 committed Apr 20, 2012
    cpu_reset_model_id() is now empty and we can remove it.
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Acked-by: Andreas Färber <afaerber@suse.de>
  3. @pm215

    target-arm: Move cache ID register setup to cpu specific init fns

    pm215 committed Apr 20, 2012
    Move cache ID register reset out of cpu_reset_model_id() by
    creating a field for the reset value in ARMCPU and setting it
    up in the cpu specific init functions.
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Acked-by: Andreas Färber <afaerber@suse.de>
  4. @pm215

    target-arm: Move OMAP cp15_i_{max,min} reset to cpu_state_reset

    pm215 committed Apr 20, 2012
    Move the OMAP-specific cp15_i_{max,min} reset to cpu_state_reset;
    since these registers are only accessible on CPUs with the
    OMAPCP feature set there's no need to guard this reset with
    either a CPUID or feature bit check.
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Reviewed-by: Andreas Färber <afaerber@suse.de>
  5. @pm215

    target-arm: Move feature register setup to per-CPU init fns

    pm215 committed Apr 20, 2012
    Move feature register value setup to per-CPU init functions.
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Acked-by: Andreas Färber <afaerber@suse.de>
Something went wrong with that request. Please try again.