1. 07 6月, 2017 34 次提交
  2. 06 6月, 2017 6 次提交
    • P
      Merge remote-tracking branch 'remotes/armbru/tags/pull-misc-2017-06-06' into staging · 572db7cd
      Peter Maydell 提交于
      Miscellaneous patches for 2017-06-06
      
      # gpg: Signature made Tue 06 Jun 2017 08:30:43 BST
      # gpg:                using RSA key 0x3870B400EB918653
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>"
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>"
      # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653
      
      * remotes/armbru/tags/pull-misc-2017-06-06:
        monitor: fix object_del for command-line-created objects
        tests: check-qom-proplist: add checks for cmdline-created objects
        virtio-scsi-test: Use scsi-hd instead of legacy scsi-disk
        block: Clarify documentation of BlockInfo member io-status
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      572db7cd
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.10-20170606' into staging · e02bbe19
      Peter Maydell 提交于
      ppc patch queue 2017-06-06
      
      Accumulated patches for ppc targets and the pseries machine type.
      
      The big thing in this batch is a start on a substantial cleanup of the
      pseries hotplug mechanisms, which were pretty confusing.  For now
      these shouldn't cause substantial behavioural changes, but I am hoping
      these lead to clearer code and eventually to fixes for the bugs we
      have in hotplug handling, particularly when hotplug and migration are
      combined.
      
      The remaining patches are mostly bugfixes.
      
      # gpg: Signature made Tue 06 Jun 2017 03:48:50 BST
      # gpg:                using RSA key 0x6C38CACA20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>"
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>"
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>"
      # gpg:                 aka "David Gibson (kernel.org) <dwg@kernel.org>"
      # Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/ppc-for-2.10-20170606:
        spapr: Remove some non-useful properties on DRC objects
        spapr: Eliminate spapr_drc_get_type_str()
        spapr: Move configure-connector state into DRC
        spapr: Clean up spapr_dr_connector_by_*()
        spapr: Introduce DRC subclasses
        spapr/drc: don't migrate DRC of cold-plugged CPUs and LMBs
        spapr: Allow boot from vhost-*-scsi backends
        ppc/pnv: check the return value of fdt_setprop()
        spapr_nvram: Check return value from blk_getlength()
        target/ppc: Fixup set_spr error in h_register_process_table
        target-ppc: Fix openpic timer read register offset
        spapr: Make DRC get_index and get_type methods into plain functions
        spapr: Abolish DRC set_configured method
        spapr: Abolish DRC get_fdt method
        spapr: Move DRC RTAS calls into spapr_drc.c
        migration: Mark CPU states dirty before incoming migration/loadvm
        migration: remove register_savevm()
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      e02bbe19
    • M
      target/xtensa: handle unknown registers in gdbstub · dd7b952b
      Max Filippov 提交于
      Xtensa cores may have registers of types/sizes not supported by the
      gdbstub accessors. Ignore writes to such registers and return zero on
      read, but always return correct register size, so that gdb on the other
      side is able to access all registers in the packet holding unsupported
      registers in the middle. This fixes gdb interaction with cores that have
      vector/custom TIE registers.
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      dd7b952b
    • M
      target/xtensa: support output to chardev console · 8128b3e0
      Max Filippov 提交于
      In semihosting mode QEMU allows guest to read and write host file
      descriptors directly, including descriptors 0..2, a.k.a. stdin, stdout
      and stderr. Sometimes it's desirable to have semihosting console
      controlled by -serial option, e.g. to connect it to network.
      
      Add semihosting console to xtensa-semi.c, open it in the 'sim' machine
      in the presence of -serial option and direct stdout and stderr to it
      when it's present.
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      8128b3e0
    • M
      target/xtensa: fix return value of read/write simcalls · 347ec030
      Max Filippov 提交于
      Return value of read/write simcalls is not calculated correctly in case
      of operations crossing page boundary and in case of short reads/writes.
      Read and write simcalls should return the size of data actually
      read/written or -1 in case of error.
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      347ec030
    • M
      target/xtensa: fix mapping direction in read/write simcalls · 30c2afd1
      Max Filippov 提交于
      Read and write simcalls map physical memory to access I/O buffers, but
      'read' simcall need to map it for writing and 'write' simcall need to
      map it for reading, i.e. the opposite of what they do now. Fix that.
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      30c2afd1