1. 05 3月, 2014 11 次提交
    • A
      KVM: Split QEMUMachine typedef into separate header · 9c06a1f7
      Alexander Graf 提交于
      Older gcc versions (such as the one in SLES11) get confused when you declare
      a typedef on the same struct twice.
      
      To work around that limitation, let's extract the QEMUMachine typedef into a
      separate header file that is guarded by preprocessor duplicate include checks.
      
      This fixes the following type of compile errors for me:
      
        In file included from vl.c:125:
        include/hw/xen/xen.h:39: error: redefinition of typedef "QEMUMachine"
        include/sysemu/kvm.h:155: error: previous declaration of "QEMUMachine" was here
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      9c06a1f7
    • A
      target-ppc: remove unsupported SPRs from 970 and P5+ · 88ccd23a
      Alexey Kardashevskiy 提交于
      SPR_750FX_HID2 and L2CR are not defined in 970* user manuals nor POWER5
      bookIV nor PowerISA 2.04, the numbers assigned to them are not defined
      either so remove them.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      88ccd23a
    • A
      target-ppc: remove embedded MMU SPRs from 970, P5+/7/7+/8 · 40194917
      Alexey Kardashevskiy 提交于
      PowerISA 2.04+ puts MMUCFG and MMUCSR0 SPRs to "E" (embedded) category so
      remove it from POWER7/8 class as it is "S" (server) category.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      40194917
    • A
      target-ppc: fix SPR_CTRL/SPR_UCTRL register numbers · 0bfe9299
      Alexey Kardashevskiy 提交于
      Assuming that "U" in SPR_UCTRL is for "user", there is inconsistency with
      970 user manuals/P5-bookIV/PowerISA204 which define the number as:
      
                             priviledged
      #   spr5-9 spr0-4 name mtspr mfspr len cat
      136 00100  01000  CTRL   -    no    32  S
      152 00100  11000  CTRL  yes    -    32  S
      
      This swaps the numbers. No effect from this change is expected though.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      0bfe9299
    • A
      target-ppc: remove powerpc 970gx · 81d2fb4d
      Alexey Kardashevskiy 提交于
      The 970GX definition was added in 2007 and it made sense then but this
      version has never been released to the markets and it does not exist in
      the real world so there is no point in emulating it.
      
      This removes 970GX.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      81d2fb4d
    • A
      target-ppc: fix LPCR SPR number · 6475c9f0
      Alexey Kardashevskiy 提交于
      PowerISA defines LPCR SPR number as 318=0x13E but QEMU uses the value of
      316.
      
      This fixes the definition of LPCR SPR.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      6475c9f0
    • A
      target-ppc: fix compile error when PPC_DUMP_CPU is enabled · a5100e75
      Alexey Kardashevskiy 提交于
      Since last use of PPC_DUMP_CPU by whoever he/she was, env->tlb became
      a union and POWERPC CPU class got QOM'ed so defining PPC_DUMP_CPU
      breaks compile.
      
      This fixes compiler errors.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      a5100e75
    • A
      block/gluster: Add missing argument to qemu_gluster_init() call · f55ea629
      Andreas Färber 提交于
      Commit adccfbcd (block: gluster - add
      reopen support.) did not supply the qemu_gluster_init() Error **
      argument, needed since commit a7451cb8
      (gluster: correctly propagate errors).
      
      Pass through qemu_gluster_reopen_prepare()'s errp, as done in
      qemu_gluster_open().
      
      Cc: Stefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      f55ea629
    • P
      Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-03-04' into staging · ac458e12
      Peter Maydell 提交于
      trivial patches for 2014-03-04
      
      # gpg: Signature made Tue 04 Mar 2014 06:13:56 GMT using RSA key ID 74F0C838
      # gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@corpit.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@debian.org>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 6EE1 95D1 886E 8FFB 810D  4324 457C E0A0 8044 65C5
      #      Subkey fingerprint: E190 8639 3B10 B51B AC2C  8B73 5253 C5AD 74F0 C838
      
      * remotes/mjt/tags/trivial-patches-2014-03-04:
        vl: Remove unneeded include file
        qga: Remove unneeded include file
        qemu-img: Remove unneeded include files
        exec: Remove unneeded include files
        util/iov: Use qemu/sockets.h instead of conditional code
        qjson.h: Remove spurious GCC_FMT_ATTR markup from qobject_from_json() declaration
        tests/test-int128: Don't use __noclone__ attribute on clang
        stubs: Optimize dependencies for gdbstub.c
        tcg: Fix typo in comment (dependancies -> dependencies)
        bswap: Modify prototypes of st[wl]_{le, be}_p (avoid type conversions)
        bswap: Modify prototype of stb_p (avoid type conversions)
        object: Report type in error when not user creatable.
        include/qemu/host-utils.h: Trivial typo: ctz->cto
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      ac458e12
    • P
      Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging · e00ef747
      Peter Maydell 提交于
      * remotes/qmp-unstable/queue/qmp: (32 commits)
        qapi: Add missing null check to opts_start_struct()
        qapi: Clean up superfluous null check in qapi_dealloc_type_str()
        qapi: Clean up null checking in generated visitors
        qapi: Drop unused code in qapi-commands.py
        qapi: Drop nonsensical header guard in generated qapi-visit.c
        qapi: Fix licensing of scripts
        tests/qapi-schema: Cover flat union types
        tests/qapi-schema: Cover union types with base
        tests/qapi-schema: Cover complex types with base
        tests/qapi-schema: Cover anonymous union types
        tests/qapi-schema: Cover simple argument types
        tests/qapi-schema: Cover optional command arguments
        tests/qapi-schema: Actually check successful QMP command response
        monitor: Remove left-over code in do_info_profile.
        qerror: Improve QERR_DEVICE_NOT_ACTIVE message
        qmp: Check for returned data from __json_read in get_events
        dump: add 'query-dump-guest-memory-capability' command
        Define the architecture for compressed dump format
        dump: make kdump-compressed format available for 'dump-guest-memory'
        dump: add API to write dump pages
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      e00ef747
    • P
      Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging · 4a29420e
      Peter Maydell 提交于
      Block pull request
      
      # gpg: Signature made Fri 28 Feb 2014 18:27:24 GMT using RSA key ID 81AB73C8
      # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
      # gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8
      
      * remotes/stefanha/tags/block-pull-request:
        block/vmdk: do not report file offset for compressed extents
        discard rbd error output when not relevant in qemu-iotests
        block: use /var/tmp instead of /tmp for -snapshot
        qemu-io-test: Disable Quorum test when not compiled in.
        qmp: Make Quorum error events more palatable.
        qmp: Fix BlockdevOptionQuorum.
        block: gluster - add reopen support.
        block: gluster - code movements, state storage changes
        qemu-iotests: add more tests to the "quick" group
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      4a29420e
  2. 04 3月, 2014 18 次提交
  3. 03 3月, 2014 6 次提交
  4. 02 3月, 2014 5 次提交