Skip to content

Commits

Permalink
o3
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Jan 9, 2017

  1. O3 <piatch subject>

      CC      slirp/socket.o
    /home/cborntra/REPOS/qemu/slirp/socket.c: In function ‘soread’:
    /home/cborntra/REPOS/qemu/slirp/socket.c:211:5: error: ‘n’ may be used
    uninitialized in this function [-Werror=maybe-uninitialized]
      if (n == 2 && nn == iov[0].iov_len) {
         ^
    In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0,
                     from /usr/include/glib-2.0/glib/gtypes.h:32,
                     from /usr/include/glib-2.0/glib/galloca.h:32,
                     from /usr/include/glib-2.0/glib.h:30,
                     from
    /home/cborntra/REPOS/qemu/include/glib-compat.h:19,
                     from
    /home/cborntra/REPOS/qemu/include/qemu/osdep.h:107,
                     from /home/cborntra/REPOS/qemu/slirp/socket.c:8:
    /home/cborntra/REPOS/qemu/slirp/socket.c: In function ‘soreadbuf’:
    /usr/include/glib-2.0/glib/gmacros.h:241:39: error: ‘iov.iov_len’ may be
    used uninitialized in this function [-Werror=maybe-uninitialized]
     #define MIN(a, b)  (((a) < (b)) ? (a) : (b))
                                           ^
    /home/cborntra/REPOS/qemu/slirp/socket.c:233:15: note: ‘iov.iov_len’ was
    declared here
      struct iovec iov[2];
                   ^
    /home/cborntra/REPOS/qemu/slirp/socket.c: In function ‘sorecvoob’:
    /home/cborntra/REPOS/qemu/slirp/socket.c:211:5: error: ‘n’ may be used
    uninitialized in this function [-Werror=maybe-uninitialized]
      if (n == 2 && nn == iov[0].iov_len) {
         ^
    /home/cborntra/REPOS/qemu/slirp/socket.c:156:6: note: ‘n’ was declared
    here
      int n, nn;
          ^
    cc1: all warnings being treated as errors
    /home/cborntra/REPOS/qemu/rules.mak:60: recipe for target
    'slirp/socket.o' failed
    ^^
    
    <patch description>
    |--------1---------2---------3---------4---------5---------6---------|
    
    Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
    Reviewed-by: <developer> <email address>
    borntraeger committed Jan 9, 2017
    Copy the full SHA
    f53ab11 View commit details
    Browse the repository at this point in the history
  2. o3

    make: Entering directory '/home/cborntra/REPOS/qemu/build'
      CC      migration/qemu-file.o
    /home/cborntra/REPOS/qemu/migration/qemu-file.c: In function
    ‘qemu_get_buffer_in_place’:
    /home/cborntra/REPOS/qemu/migration/qemu-file.c:490:18: error: ‘src’ may
    be used uninitialized in this function [-Werror=maybe-uninitialized]
                 *buf = src;
                      ^
    cc1: all warnings being treated as errors
    /home/cborntra/REPOS/qemu/rules.mak:60: recipe for target
    'migration/qemu-file.o' failed
    
    Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
    Reviewed-by: <developer> <email address>
    borntraeger committed Jan 9, 2017
    Copy the full SHA
    4ef161c View commit details
    Browse the repository at this point in the history
  3. <patch subject>

      CC      block/vmdk.o
    /home/cborntra/REPOS/qemu/block/vmdk.c: In function ‘vmdk_open_vmdk4’:
    /home/cborntra/REPOS/qemu/block/vmdk.c:718:24: error: ‘extent’ may be
    used uninitialized in this function [-Werror=maybe-uninitialized]
         extent->has_marker = le32_to_cpu(header.flags) & VMDK4_FLAG_MARKER;
                            ^
    /home/cborntra/REPOS/qemu/block/vmdk.c: In function ‘vmdk_open_sparse’:
    /home/cborntra/REPOS/qemu/block/vmdk.c:530:9: error: ‘extent’ may be
    used uninitialized in this function [-Werror=maybe-uninitialized]
         ret = vmdk_init_tables(bs, extent, errp);
             ^
    /home/cborntra/REPOS/qemu/block/vmdk.c:509:17: note: ‘extent’ was
    declared here
         VmdkExtent *extent;
                     ^
    /home/cborntra/REPOS/qemu/block/vmdk.c: In function
    ‘vmdk_open_desc_file.isra.12’:
    /home/cborntra/REPOS/qemu/block/vmdk.c:873:39: error: ‘extent’ may be
    used uninitialized in this function [-Werror=maybe-uninitialized]
                 extent->flat_start_offset = flat_offset << 9;
                                           ^
    /home/cborntra/REPOS/qemu/block/vmdk.c:803:17: note: ‘extent’ was
    declared here
         VmdkExtent *extent;
                     ^
    cc1: all warnings being treated as errors
    /home/cborntra/REPOS/qemu/rules.mak:60: recipe for target 'block/vmdk.o'
    failed
    make: *** [block/vmdk.o] Error 1
    
    <patch description>
    |--------1---------2---------3---------4---------5---------6---------|
    
    Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
    Reviewed-by: <developer> <email address>
    borntraeger committed Jan 9, 2017
    Copy the full SHA
    7f7f65c View commit details
    Browse the repository at this point in the history
  4. fix o3

      CC      qapi/string-input-visitor.o
    /home/cborntra/REPOS/qemu/qapi/string-input-visitor.c: In function
    ‘parse_type_uint64’:
    /home/cborntra/REPOS/qemu/qapi/string-input-visitor.c:234:14: error: ‘i’
    may be used uninitialized in this function [-Werror=maybe-uninitialized]
             *obj = i;
                  ^
    cc1: all warnings being treated as errors
    
    Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
    Reviewed-by: <developer> <email address>
    borntraeger committed Jan 9, 2017
    Copy the full SHA
    8330591 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2016

  1. Update version for v2.8.0 release

    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 20, 2016
    Copy the full SHA
    0737f32 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2016

  1. Update version for v2.8.0-rc4 release

    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 15, 2016
    Copy the full SHA
    6a928d2 View commit details
    Browse the repository at this point in the history
  2. virtio-pci: Fix cross-version migration with older machines

    This patch fixes a cross-version migration regression introduced
    by commit d1b4259 ("virtio-bus: Plug devices after features are
    negotiated").
    
    The problem is encountered when host's vhost backend does not support
    VIRTIO_F_VERSION_1, and migration is initiated from a v2.7 or prior
    machine with virtio-pci modern capabilities enabled to a v2.8 machine.
    
    In this case, modern capabilities get exposed to the guest by the source,
    whereas the target will detect version 1 is not supported so will only
    expose legacy capabilities.
    
    The problem is fixed by introducing a new "x-ignore-backend-features"
    property, which is set in v2.7 and prior compatibility modes. Doing this,
    v2.7 machine keeps its broken behaviour (enabling modern while version
    is not supported), and newer machines will behave correctly.
    
    Reported-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
    Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
    Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
    Tested-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
    Message-id: 20161214163035.3297-1-maxime.coquelin@redhat.com
    Suggested-by: Stefan Hajnoczi <stefanha@redhat.com>
    Cc: Michael S. Tsirkin <mst@redhat.com>
    Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
    Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
    Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
    Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
    Tested-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    mcoquelin authored and Stefan Hajnoczi committed Dec 15, 2016
    Copy the full SHA
    66d1c4c View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2016

  1. po: add missing translations in de, fr, it, zh

    There are missing translations for the new "Copy" menu item.
    
    The following people provided them to me on IRC just in time for the
    QEMU 2.8 release:
    
     * de_DE - Stefan Hajnoczi <stefanha@redhat.com>
     * fr_FR - Laurent Vivier <laurent@vivier.eu>
     * it    - Pino Toscano <ptoscano@redhat.com>
     * zh_CN - Fam Zheng <famz@redhat.com>
    
    [Removed spurious space in zh_CN "Copy" translation that Fam Zheng
    pointed out.
    --Stefan]
    
    Reported-by: Kevin Wolf <kwolf@redhat.com>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Message-id: 20161214144713.11009-1-stefanha@redhat.com
    Cc: Fam Zheng <famz@redhat.com>
    Cc: Pino Toscano <ptoscano@redhat.com>
    Cc: Laurent Vivier <laurent@vivier.eu>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 14, 2016
    Copy the full SHA
    d70678a View commit details
    Browse the repository at this point in the history
  2. ui/gtk: fix "Copy" menu item segfault

    The "Copy" menu item copies VTE terminal text to the clipboard.  This
    only works with VTE terminals, not with graphics consoles.
    
    Disable the menu item when the current notebook page isn't a VTE
    terminal.
    
    This patch fixes a segfault.  Reproducer: Start QEMU and click the Copy
    menu item when the guest display is visible.
    
    Reported-by: Kevin Wolf <kwolf@redhat.com>
    Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
    Tested-by: Stefan Weil <sw@weilnetz.de>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Message-id: 20161214142518.10504-1-stefanha@redhat.com
    Cc: Michael S. Tsirkin <mst@redhat.com>
    Cc: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 14, 2016
    Copy the full SHA
    a081563 View commit details
    Browse the repository at this point in the history
  3. Update language files for QEMU 2.8.0

    Update translation files (change created via 'make -C po update').
    
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Reviewed-by: Stefan Weil <sw@weilnetz.de>
    Message-id: 20161213214917.6436-1-stefanha@redhat.com
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 14, 2016
    Copy the full SHA
    3753c75 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2016

  1. Update version for v2.8.0-rc3 release

    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 6, 2016
    Copy the full SHA
    a92f7fe View commit details
    Browse the repository at this point in the history
  2. qapi: Document introduction of gluster's 'debug' option

    We intentionally renamed 'debug-level' to 'debug' in the QMP
    schema for 'blockdev-add' related to gluster, in order to
    match the command line (commit 1a417e4).  However, since
    'debug-level' was visible in 2.7, that means that we should
    document that 'debug' was not available until 2.8.
    
    The change was intentional because 'blockdev-add' itself
    underwent incompatible changes (such as commit 0153d2f) for
    the same release; our intent is that after 2.8, these
    interfaces will now be stable.  [In hindsight, we should have
    used the name x-blockdev-add when we first introduced it]
    
    Signed-off-by: Eric Blake <eblake@redhat.com>
    Message-id: 20161206182020.25736-1-eblake@redhat.com
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    ebblake authored and Stefan Hajnoczi committed Dec 6, 2016
    Copy the full SHA
    4230e5d View commit details
    Browse the repository at this point in the history
  3. exec.c: Fix breakpoint invalidation race

    A bug (1647683) was reported showing a crash when removing
    breakpoints.  The reproducer was bisected to 3359baa when tb_flush
    was finally made thread safe.  While in MTTCG the locking in
    breakpoint_invalidate would have prevented any problems, but
    currently tb_lock() is a NOP for system emulation.
    
    The race is between a tb_flush from the gdbstub and the
    tb_invalidate_phys_addr() in breakpoint_invalidate().
    
    Ideally we'd have actual locking here; for the moment the
    simple fix is to do a full tb_flush() for a bp invalidate,
    since that is thread-safe even if no lock is taken.
    
    Reported-by: Julian Brown <julian@codesourcery.com>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Message-id: 1481047629-7763-1-git-send-email-peter.maydell@linaro.org
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    pm215 authored and Stefan Hajnoczi committed Dec 6, 2016
    Copy the full SHA
    a9353fe View commit details
    Browse the repository at this point in the history
  4. qapi: Document DEVICE_TRAY_MOVED addition

    Commit 2d76e72 failed to add a versioning tag to 'id'.
    
    I audited all qapi*.json files from v2.7.0 to the current
    state of the tree, and didn't find any other additions where
    we failed to use a version tag.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>
    Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Message-id: 20161206160345.22425-1-eblake@redhat.com
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    ebblake authored and Stefan Hajnoczi committed Dec 6, 2016
    Copy the full SHA
    d750c3a View commit details
    Browse the repository at this point in the history
  5. tests/.gitignore: Ignore test-char

    [Lin Ma <lma@suse.com> notes that commit ea3af47 added test for chardev
    unit tests, but didn't add the name of generated binary in .gitignore.
    --Stefan]
    
    Signed-off-by: Changlong Xie <xiecl.fnst@cn.fujitsu.com>
    Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Message-id: 1478494765-13233-1-git-send-email-xiecl.fnst@cn.fujitsu.com
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Changlong Xie authored and Stefan Hajnoczi committed Dec 6, 2016
    Copy the full SHA
    b5b7b5d View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'kwolf/tags/for-upstream' into staging

    Block layer patches for 2.8.0-rc3
    
    # gpg: Signature made Tue 06 Dec 2016 02:44:39 PM GMT
    # gpg:                using RSA key 0x7F09B272C88F2FD6
    # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"
    # Primary key fingerprint: DC3D EB15 9A9A F95D 3D74  56FE 7F09 B272 C88F 2FD6
    
    * kwolf/tags/for-upstream:
      qcow2: Don't strand clusters near 2G intervals during commit
    
    Message-id: 1481037418-10239-1-git-send-email-kwolf@redhat.com
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 6, 2016
    Copy the full SHA
    68701de View commit details
    Browse the repository at this point in the history
  7. qcow2: Don't strand clusters near 2G intervals during commit

    The qcow2_make_empty() function is reached during 'qemu-img commit',
    in order to clear out ALL clusters of an image.  However, if the
    image cannot use the fast code path (true if the image is format
    0.10, or if the image contains a snapshot), the cluster size is
    larger than 512, and the image is larger than 2G in size, then our
    choice of sector_step causes problems.  Since it is not cluster
    aligned, but qcow2_discard_clusters() silently ignores an unaligned
    head or tail, we are leaving clusters allocated.
    
    Enhance the testsuite to expose the flaw, and patch the problem by
    ensuring our step size is aligned.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>
    Reviewed-by: John Snow <jsnow@redhat.com>
    Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: Kevin Wolf <kwolf@redhat.com>
    ebblake authored and Kevin Wolf committed Dec 6, 2016
    Copy the full SHA
    a3e1505 View commit details
    Browse the repository at this point in the history
  8. Merge remote-tracking branch 'jasowang/tags/net-pull-request' into st…

    …aging
    
    # gpg: Signature made Tue 06 Dec 2016 02:24:23 AM GMT
    # gpg:                using RSA key 0xEF04965B398D6211
    # gpg: Good signature from "Jason Wang (Jason Wang on RedHat) <jasowang@redhat.com>"
    # Primary key fingerprint: 215D 46F4 8246 689E C77F  3562 EF04 965B 398D 6211
    
    * jasowang/tags/net-pull-request:
      fsl_etsec: Fix various small problems in hexdump code
      fsl_etsec: Pad short payloads with zeros
      net: mcf: check receive buffer size register value
    
    Message-id: 1480991552-14360-1-git-send-email-jasowang@redhat.com
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 6, 2016
    Copy the full SHA
    ce1f3e8 View commit details
    Browse the repository at this point in the history
  9. Merge remote-tracking branch 'jtc/tags/block-pull-request' into staging

    # gpg: Signature made Mon 05 Dec 2016 09:30:45 PM GMT
    # gpg:                using RSA key 0xBDBE7B27C0DE3057
    # gpg: Good signature from "Jeffrey Cody <jcody@redhat.com>"
    # gpg:                 aka "Jeffrey Cody <jeff@codyprime.org>"
    # gpg:                 aka "Jeffrey Cody <codyprime@gmail.com>"
    # Primary key fingerprint: 9957 4B4D 3474 90E7 9D98  D624 BDBE 7B27 C0DE 3057
    
    * jtc/tags/block-pull-request:
      qemu-doc: update gluster protocol usage guide
      block/nfs: fix QMP to match debug option
      block/gluster: fix QMP to match debug option
    
    Message-id: 1480973521-28945-1-git-send-email-jcody@redhat.com
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 6, 2016
    Copy the full SHA
    8a04c80 View commit details
    Browse the repository at this point in the history
  10. Merge remote-tracking branch 'pm215/tags/pull-target-arm-20161205' in…

    …to staging
    
    target-arm queue:
     * fix gen_load_exclusive handling of ldaxp
    
    # gpg: Signature made Mon 05 Dec 2016 05:57:51 PM GMT
    # gpg:                using RSA key 0x3C2525ED14360CDE
    # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
    # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>"
    # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>"
    # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE
    
    * pm215/tags/pull-target-arm-20161205:
      target-arm/translate-a64: fix gen_load_exclusive
    
    Message-id: 1480960775-5002-1-git-send-email-peter.maydell@linaro.org
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 6, 2016
    Copy the full SHA
    5d3074f View commit details
    Browse the repository at this point in the history
  11. Merge remote-tracking branch 'armbru/tags/pull-qapi-2016-12-05' into …

    …staging
    
    QAPI patches for 2016-12-05
    
    # gpg: Signature made Mon 05 Dec 2016 04:41:53 PM GMT
    # 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
    
    * armbru/tags/pull-qapi-2016-12-05:
      qapi: add missing colon-ending for section name
      qapi: use one symbol per line
      qapi: fix various symbols mismatch in documentation
      qapi: fix missing symbol @Prefix
      qapi: fix schema symbol sections
      qga/schema: fix double-return in doc
      tests: Avoid qobject_from_jsonf("%"PRId64)
      test-qga: Avoid qobject_from_jsonv("%"PRId64)
      qmp-event: Avoid qobject_from_jsonf("%"PRId64)
    
    Message-id: 1480956313-31322-1-git-send-email-armbru@redhat.com
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 6, 2016
    Copy the full SHA
    8a844b2 View commit details
    Browse the repository at this point in the history
  12. Merge remote-tracking branch 'kraxel/tags/pull-vga-20161205-1' into s…

    …taging
    
    qxl: fix flickering.
    cirrus: avoid devision by zero.
    virtio-gpu: fix two leaks.
    
    # gpg: Signature made Mon 05 Dec 2016 10:55:45 AM GMT
    # gpg:                using RSA key 0x4CB6D8EED3E87138
    # 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>"
    # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
    
    * kraxel/tags/pull-vga-20161205-1:
      display: cirrus: check vga bits per pixel(bpp) value
      virtio-gpu: fix memory leak in update_cursor_data_virgl
      virtio-gpu: fix information leak in getting capset info dispatch
      qxl: Only emit QXL_INTERRUPT_CLIENT_MONITORS_CONFIG on config changes
    
    Message-id: 1480935840-3961-1-git-send-email-kraxel@redhat.com
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 6, 2016
    Copy the full SHA
    e24f095 View commit details
    Browse the repository at this point in the history
  13. fsl_etsec: Fix various small problems in hexdump code

    Fix various small problems in hexdump code, such as:
        - Reference to non-existing field etsec->nic->nc.name is replaced
        with nc->name
    
        - Type mismatch warnings
    
    Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
    Signed-off-by: Jason Wang <jasowang@redhat.com>
    ndreys authored and jasowang committed Dec 6, 2016
    Copy the full SHA
    9f5832d View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2016

  1. qemu-doc: update gluster protocol usage guide

    Document:
    1. The new debug and logfile options with their usages
    2. New json format and its usage and
    3. update "GlusterFS, Device URL Syntax" section in "Invocation"
    
    Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Signed-off-by: Jeff Cody <jcody@redhat.com>
    Prasanna Kumar Kalever authored and codyprime committed Dec 5, 2016
    Copy the full SHA
    76b5550 View commit details
    Browse the repository at this point in the history
  2. block/nfs: fix QMP to match debug option

    The QMP definition of BlockdevOptionsNfs:
    { 'struct': 'BlockdevOptionsNfs',
      'data': { 'server': 'NFSServer',
                'path': 'str',
                '*user': 'int',
                '*group': 'int',
                '*tcp-syn-count': 'int',
                '*readahead-size': 'int',
                '*page-cache-size': 'int',
                '*debug-level': 'int' } }
    
    To make this consistent with other block protocols like gluster, lets
    change s/debug-level/debug/
    
    Suggested-by: Eric Blake <eblake@redhat.com>
    Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Signed-off-by: Jeff Cody <jcody@redhat.com>
    Prasanna Kumar Kalever authored and codyprime committed Dec 5, 2016
    Copy the full SHA
    7103d91 View commit details
    Browse the repository at this point in the history
  3. block/gluster: fix QMP to match debug option

    The QMP definition of BlockdevOptionsGluster:
    { 'struct': 'BlockdevOptionsGluster',
      'data': { 'volume': 'str',
                'path': 'str',
                'server': ['GlusterServer'],
                '*debug-level': 'int',
                '*logfile': 'str' } }
    
    But instead of 'debug-level we have exported 'debug' as the option for choosing
    debug level of gluster protocol driver.
    
    This patch fix QMP definition BlockdevOptionsGluster
    s/debug-level/debug/
    
    Suggested-by: Eric Blake <eblake@redhat.com>
    Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Signed-off-by: Jeff Cody <jcody@redhat.com>
    Prasanna Kumar Kalever authored and codyprime committed Dec 5, 2016
    Copy the full SHA
    1a417e4 View commit details
    Browse the repository at this point in the history
  4. target-arm/translate-a64: fix gen_load_exclusive

    While testing rth's latest TCG patches with risu I found ldaxp was
    broken. Investigating further I found it was broken by 1dd089d when
    the cmpxchg atomic work was merged. As part of that change the code
    attempted to be clever by doing a single 64 bit load and then shuffle
    the data around to set the two 32 bit registers.
    
    As I couldn't quite follow the endian magic I've simply partially
    reverted the change to the original code gen_load_exclusive code. This
    doesn't affect the cmpxchg functionality as that is all done on in
    gen_store_exclusive part which is untouched.
    
    I've also restored the comment that was removed (with a slight tweak
    to mention cmpxchg).
    
    Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
    Acked-by: Richard Henderson <rth@twiddle.net>
    Message-id: 20161202173454.19179-1-alex.bennee@linaro.org
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    stsquad authored and pm215 committed Dec 5, 2016
    Copy the full SHA
    5460da5 View commit details
    Browse the repository at this point in the history
  5. qapi: add missing colon-ending for section name

    The documentation parser we are going to add expects a section name to
    end with ':', otherwise the comment is treated as free-form text body.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Message-Id: <20161117155504.21843-9-marcandre.lureau@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    elmarco authored and Markus Armbruster committed Dec 5, 2016
    Copy the full SHA
    5072f7b View commit details
    Browse the repository at this point in the history
  6. qapi: use one symbol per line

    The documentation parser we are going to add only handles a single
    symbol per line.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Message-Id: <20161117155504.21843-8-marcandre.lureau@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    elmarco authored and Markus Armbruster committed Dec 5, 2016
    Copy the full SHA
    9f2a70e View commit details
    Browse the repository at this point in the history
  7. qapi: fix various symbols mismatch in documentation

    There are various mismatch:
    - invalid symbols
    - section and member symbols mismatch
    - enum or union values vs 'type'
    
    The documentation parser catches all these cases.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Message-Id: <20161117155504.21843-7-marcandre.lureau@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    elmarco authored and Markus Armbruster committed Dec 5, 2016
    Copy the full SHA
    4d5c8bc View commit details
    Browse the repository at this point in the history
  8. qapi: fix missing symbol @Prefix

    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Message-Id: <20161117155504.21843-6-marcandre.lureau@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    elmarco authored and Markus Armbruster committed Dec 5, 2016
    Copy the full SHA
    c5927e7 View commit details
    Browse the repository at this point in the history
  9. qapi: fix schema symbol sections

    According to docs/qapi-code-gen.txt, there needs to be '##' to start a
    and end a symbol section, that's also what the documentation parser
    expects.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Message-Id: <20161117155504.21843-5-marcandre.lureau@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    elmarco authored and Markus Armbruster committed Dec 5, 2016
    Copy the full SHA
    49687ac View commit details
    Browse the repository at this point in the history
  10. qga/schema: fix double-return in doc

    guest-get-memory-block-info documentation should have only one
    "Returns:".
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Message-Id: <20161117155504.21843-3-marcandre.lureau@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    elmarco authored and Markus Armbruster committed Dec 5, 2016
    Copy the full SHA
    95cd8fd View commit details
    Browse the repository at this point in the history
  11. tests: Avoid qobject_from_jsonf("%"PRId64)

    The qobject_from_jsonf() function implements a pseudo-printf
    language for creating a QObject; however, it is hard-coded to
    only parse a subset of formats understood by -Wformat, and is
    not a straight synonym to bare printf().  In particular, any
    use of an int64_t integer works only if the system's
    definition of PRId64 matches what the parser expects; which
    works on glibc (%lld or %ld depending on 32- vs. 64-bit) and
    mingw (%I64d), but not on Mac OS (%qd).  Rather than enhance
    the parser, it is just as easy to force the use of int (where
    the value is small enough) or long long instead of int64_t,
    which we know always works.
    
    This should cover all remaining testsuite uses of
    qobject_from_json[fv]() that were trying to rely on PRId64,
    although my proof for that was done by adding in asserts and
    checking that 'make check' still passed, where such asserts
    are inappropriate during hard freeze.  A later series in 2.9
    may remove all dynamic JSON parsing, but that's a bigger task.
    
    Reported by: G 3 <programmingkidx@gmail.com>
    Signed-off-by: Eric Blake <eblake@redhat.com>
    Message-Id: <1479922617-4400-4-git-send-email-eblake@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    [Rename value64 to value_ll]
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    ebblake authored and Markus Armbruster committed Dec 5, 2016
    Copy the full SHA
    29a6731 View commit details
    Browse the repository at this point in the history
  12. test-qga: Avoid qobject_from_jsonv("%"PRId64)

    The qobject_from_jsonv() function implements a pseudo-printf
    language for creating a QObject; however, it is hard-coded to
    only parse a subset of formats understood by -Wformat, and is
    not a straight synonym to bare printf().  In particular, any
    use of an int64_t integer works only if the system's
    definition of PRId64 matches what the parser expects; which
    works on glibc (%lld or %ld depending on 32- vs. 64-bit) and
    mingw (%I64d), but not on Mac OS (%qd).  Rather than enhance
    the parser, it is just as easy to use normal printf() for
    this particular conversion, matching what is done elsewhere
    in this file [1], which is safe in this instance because the
    format does not contain any of the problematic differences
    (bare '%' or the '%s' format).
    
    The use of PRId64 for a variable named 'pid' is gross, but it
    is a sad reality of the 64-bit mingw environment, which
    mistakenly defines pid_t as a 64-bit type even though getpid()
    returns 'int' on that platform [2].  Our definition of the
    QGA GuestExec type defines 'pid' as a 64-bit entity, and we
    can't tighten it to 'int32' unless the mingw header is fixed.
    Using 'long long' instead of 'int64_t' just so that we can
    stick with qobject_from_jsonv("%lld") instead of printf() is
    not any prettier, since we may have later type churn anyways.
    
    [1] see 'git grep -A2 strdup_printf tests/test-qga.c'
    [2] https://bugzilla.redhat.com/show_bug.cgi?id=1397787
    
    Reported by: G 3 <programmingkidx@gmail.com>
    Signed-off-by: Eric Blake <eblake@redhat.com>
    Message-Id: <1479922617-4400-3-git-send-email-eblake@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    ebblake authored and Markus Armbruster committed Dec 5, 2016
    Copy the full SHA
    1792d7d View commit details
    Browse the repository at this point in the history
Older