1. 24 10月, 2014 8 次提交
    • D
      omap_gpmc.c: Remove duplicate assignment · 635117e7
      Dr. David Alan Gilbert 提交于
      This looks like an old merge error and should have no effect.
      (Build tested only)
      
      Found by Coccinelle using Julia Lawall's script:
      https://lkml.org/lkml/2014/8/23/128Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      Message-id: 1414055855-6688-1-git-send-email-dgilbert@redhat.com
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      635117e7
    • C
      disas/libvixl/a64/instructions-a64.h: Remove unused constants · 94cc44a9
      Chen Gang 提交于
      The instructions-a64.h header defines a number of floating point
      constants whose initializers are function calls. gcc 5 will warn
      if these constants are not used by the C or C++ file which includes
      the header, because they imply a runtime cost. Since for the files
      QEMU uses from libvixl we don't use these constants at all, just
      remove them.
      
      Upstream intend to fix these by shifting to an 'extern const' in
      the header plus definition in a suitable source file, so we can
      drop this patch when we sync with the upcoming libvixl 1.7.
      
      The related compiling error:
      
          CXX   disas/arm-a64.o
        In file included from /upstream/qemu/disas/libvixl/a64/disasm-a64.h:32:0,
                         from disas/arm-a64.cc:20:
        disas/libvixl/a64/instructions-a64.h:98:13: error: 'vixl::kFP32PositiveInfinity' defined but not used [-Werror=unused-variable]
         const float kFP32PositiveInfinity = rawbits_to_float(0x7f800000);
                     ^
        disas/libvixl/a64/instructions-a64.h:99:13: error: 'vixl::kFP32NegativeInfinity' defined but not used [-Werror=unused-variable]
         const float kFP32NegativeInfinity = rawbits_to_float(0xff800000);
                     ^
        disas/libvixl/a64/instructions-a64.h:100:14: error: 'vixl::kFP64PositiveInfinity' defined but not used [-Werror=unused-variable]
         const double kFP64PositiveInfinity =
                      ^
        disas/libvixl/a64/instructions-a64.h:102:14: error: 'vixl::kFP64NegativeInfinity' defined but not used [-Werror=unused-variable]
         const double kFP64NegativeInfinity =
                      ^
        disas/libvixl/a64/instructions-a64.h:107:21: error: 'vixl::kFP64SignallingNaN' defined but not used [-Werror=unused-variable]
         static const double kFP64SignallingNaN =
                             ^
        disas/libvixl/a64/instructions-a64.h:109:20: error: 'vixl::kFP32SignallingNaN' defined but not used [-Werror=unused-variable]
         static const float kFP32SignallingNaN = rawbits_to_float(0x7f800001);
                            ^
        disas/libvixl/a64/instructions-a64.h:112:21: error: 'vixl::kFP64QuietNaN' defined but not used [-Werror=unused-variable]
         static const double kFP64QuietNaN =
                             ^
        disas/libvixl/a64/instructions-a64.h:114:20: error: 'vixl::kFP32QuietNaN' defined but not used [-Werror=unused-variable]
         static const float kFP32QuietNaN = rawbits_to_float(0x7fc00001);
                            ^
        disas/libvixl/a64/instructions-a64.h:117:21: error: 'vixl::kFP64DefaultNaN' defined but not used [-Werror=unused-variable]
         static const double kFP64DefaultNaN =
                             ^
        disas/libvixl/a64/instructions-a64.h:119:20: error: 'vixl::kFP32DefaultNaN' defined but not used [-Werror=unused-variable]
         static const float kFP32DefaultNaN = rawbits_to_float(0x7fc00000);
                            ^
        cc1plus: all warnings being treated as errors
        make: *** [disas/arm-a64.o] Error 1
      Signed-off-by: NChen Gang <gang.chen.5i5j@gmail.com>
      [PMM: Rewrote the commit message a little]
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      94cc44a9
    • K
      arm_gic: remove unused parameter. · 7b95a508
      KONRAD Frederic 提交于
      This removes num_irq parameter from gic_init_irqs_and_distributor as it is not
      used.
      Signed-off-by: NKONRAD Frederic <fred.konrad@greensocs.com>
      Message-id: 1412859651-15060-1-git-send-email-fred.konrad@greensocs.com
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      7b95a508
    • P
      disas/libvixl: Update to libvixl 1.6 · 6aea44fc
      Peter Maydell 提交于
      Update our copy of libvixl to upstream 1.6. There are no
      changes of any particular interest to QEMU, so this is simply
      keeping up with current upstream.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1412091418-25744-1-git-send-email-peter.maydell@linaro.org
      6aea44fc
    • A
      hw/arm/boot: register cpu reset handlers if using -bios · c6faa758
      Ard Biesheuvel 提交于
      Move the registering of CPU reset handlers to before the point where
      we leave the function in the -bios (not -kernel) case, so CPU reset
      works correctly with -bios as well.
      Signed-off-by: NArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c6faa758
    • C
      hw/arm/virt: mark timer in fdt as v8-compatible · b32a9509
      Claudio Fontana 提交于
      check if the first cpu is an armv8 cpu, and if so, put
      arm,armv8-timer in the compatible string list.
      
      Note that due to this check, this patch moves the creation
      of the timer fdt node to after the cpu creation loop.
      Signed-off-by: NClaudio Fontana <claudio.fontana@huawei.com>
      Message-id: 1411736960-24206-1-git-send-email-hw.claudio@gmail.com
      [PMM: updated to list arm,armv8-timer first]
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b32a9509
    • M
      hmp: Remove "info pcmcia" · 7797a739
      Markus Armbruster 提交于
      This command lists PCMCIA sockets and cards.  Only a few ARM boards
      have sockets (akita, borzoi, connex, mainstone, spitz, terrier, tosa,
      verdex, z2), the only card is the DSCM-1xxxx Hitachi Microdrive (qdev
      "microdrive"), and it is only inserted during machine init, if ever.
      So this command doesn't really tell anybody anything new so far.
      
      Moreover, pcmcia_socket_unregister() has a use-after-free bug, flagged
      by Coverity.  Has never been used, because there has never been code
      to eject a PCMCIA card.
      
      Not worth fixing & converting to QMP.  Remove it.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Acked-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Acked-by: NAndreas Färber <afaerber@suse.de>
      Message-id: 1411144812-22958-1-git-send-email-armbru@redhat.com
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      7797a739
    • P
      Merge remote-tracking branch 'remotes/qmp-unstable/tags/for-upstream' into staging · 1430500b
      Peter Maydell 提交于
      QMP patches
      
      # gpg: Signature made Thu 23 Oct 2014 16:05:52 BST using RSA key ID E24ED5A7
      # gpg: Good signature from "Luiz Capitulino <lcapitulino@gmail.com>"
      
      * remotes/qmp-unstable/tags/for-upstream:
        monitor: delete device_del_bus_completion
        monitor: add del completion for peripheral device
        qdev: add qdev_build_hotpluggable_device_list helper
        MAINTAINERS: add entry for qobject files
        dump: Turn some functions to void to make code cleaner
        dump: Propagate errors into qmp_dump_guest_memory()
        virtio-balloon: Tweak recent fix for integer overflow
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      1430500b
  2. 23 10月, 2014 10 次提交
  3. 22 10月, 2014 8 次提交
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · 8f4699d8
      Peter Maydell 提交于
      Block patches
      
      # gpg: Signature made Mon 20 Oct 2014 13:04:09 BST using RSA key ID C88F2FD6
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"
      
      * remotes/kevin/tags/for-upstream: (28 commits)
        block: Make device model's references to BlockBackend strong
        block: Lift device model API into BlockBackend
        blockdev: Convert qmp_eject(), qmp_change_blockdev() to BlockBackend
        block/qapi: Convert qmp_query_block() to BlockBackend
        blockdev: Fix blockdev-add not to create DriveInfo
        blockdev: Drop superfluous DriveInfo member id
        pc87312: Drop unused members of PC87312State
        ide: Complete conversion from BlockDriverState to BlockBackend
        hw: Convert from BlockDriverState to BlockBackend, mostly
        virtio-blk: Rename VirtIOBlkConf variables to conf
        virtio-blk: Drop redundant VirtIOBlock member conf
        block: Rename BlockDriverCompletionFunc to BlockCompletionFunc
        block: Rename BlockDriverAIOCB* to BlockAIOCB*
        block: Eliminate DriveInfo member bdrv, use blk_by_legacy_dinfo()
        block: Merge BlockBackend and BlockDriverState name spaces
        block: Eliminate BlockDriverState member device_name[]
        block: Eliminate bdrv_iterate(), use bdrv_next()
        blockdev: Eliminate drive_del()
        block: Make BlockBackend own its BlockDriverState
        block: Code motion to get rid of stubs/blockdev.c
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      8f4699d8
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-20141015-2' into staging · 895b810c
      Peter Maydell 提交于
      usb: add high speed mouse & keyboard configuration
      
      * remotes/kraxel/tags/pull-usb-20141015-2:
        xhci: remove dead code
        usb-hid: Add high speed keyboard configuration
        usb-hid: Add high speed mouse configuration
        usb-hid: Move descriptor decision to usb-hid initfn
      
      Conflicts:
      	include/hw/i386/pc.h
      [Fixed trivial merge conflict in the pc-2.1 property list]
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      895b810c
    • P
      Merge remote-tracking branch 'remotes/spice/tags/pull-spice-20141015-1' into staging · 19f37729
      Peter Maydell 提交于
      qxl: keep going if reaching guest bug on empty area
      
      # gpg: Signature made Wed 15 Oct 2014 11:45:37 BST using RSA key ID D3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      
      * remotes/spice/tags/pull-spice-20141015-1:
        qxl: keep going if reaching guest bug on empty area
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      19f37729
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-gtk-20141015-1' into staging · 4b4ce6c2
      Peter Maydell 提交于
      gtk: fix memory leak, add pause key support.
      
      # gpg: Signature made Wed 15 Oct 2014 11:30:39 BST using RSA key ID D3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      
      * remotes/kraxel/tags/pull-gtk-20141015-1:
        gtk: add support for the Pause key
        gtk.c: Fix memory leak in gd_set_keycode_type()
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      4b4ce6c2
    • Z
      qga: Rewrite code where using readdir_r · e668d1b8
      zhanghailiang 提交于
      If readdir_r fails, error_setg_errno will reference the freed
      pointer *dirpath*.
      
      Moreover, readdir_r may cause a buffer overflow, using readdir instead.
      Signed-off-by: Nzhanghailiang <zhang.zhanghailiang@huawei.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
      Cc: qemu-stable@nongnu.org
      Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      e668d1b8
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-console-20141015-1' into staging · ad089894
      Peter Maydell 提交于
      configure: Prepend pixman and ftd flags to overrule system-provided ones
      
      # gpg: Signature made Wed 15 Oct 2014 11:21:13 BST using RSA key ID D3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      
      * remotes/kraxel/tags/pull-console-20141015-1:
        configure: Prepend pixman and ftd flags to overrule system-provided ones
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      ad089894
    • P
      Merge remote-tracking branch 'remotes/lalrae/tags/mips-20141015' into staging · 31cc9514
      Peter Maydell 提交于
      * remotes/lalrae/tags/mips-20141015: (28 commits)
        target-mips: Remove unused gen_load_ACX, gen_store_ACX and cpu_ACX
        target-mips/dsp_helper.c: Add ifdef guards around various functions
        target-mips/translate.c: Add ifdef guard around check_mips64()
        target-mips/op_helper.c: Remove unused do_lbu() function
        target-mips/dsp_helper.c: Remove unused function get_DSPControl_24()
        target-mips: fix broken MIPS16 and microMIPS
        target-mips/translate.c: Update OPC_SYNCI
        target-mips: define a new generic CPU supporting MIPS64 Release 6 ISA
        mips_malta: update malta's pseudo-bootloader - replace JR with JALR
        target-mips: remove JR, BLTZAL, BGEZAL and add NAL, BAL instructions
        target-mips: do not allow Status.FR=0 mode in 64-bit FPU
        target-mips: add new Floating Point Comparison instructions
        target-mips: add new Floating Point instructions
        softfloat: add functions corresponding to IEEE-2008 min/maxNumMag
        target-mips: add AUI, LSA and PCREL instruction families
        target-mips: add compact and CP1 branches
        target-mips: add ALIGN, DALIGN, BITSWAP and DBITSWAP instructions
        target-mips: Status.UX/SX/KX enable 32-bit address wrapping
        target-mips: move CLO, DCLO, CLZ, DCLZ, SDBBP and free special2 in R6
        target-mips: redefine Integer Multiply and Divide instructions
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      31cc9514
    • P
      hw/i386/pc_q35.c: Avoid g_assert_cmpint() as it is not in glib 2.12 · 01a2050f
      Peter Maydell 提交于
      The function g_assert_cmpint() is not in glib 2.12, which is our current
      minimum requirement. Rephrase the recently added assertion to avoid it.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NGonglei <arei.gonglei@huawei.com>
      01a2050f
  4. 21 10月, 2014 1 次提交
  5. 20 10月, 2014 13 次提交