Skip to content

Commits

Permalink
qga-dev
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 Sep 7, 2016

  1. configure: Rename CONFIG_QGA_NTDDDISK into CONFIG_QGA_NTDDSCSI

    There is no CONFIG_QGA_NTDDDISK define used anywhere in the QEMU
    sources. Looking at the changelog and qga/commands-win32.c, it
    seems like this should be called CONFIG_QGA_NTDDSCSI instead.
    
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    Cc: qemu-stable@nongnu.org
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    huth authored and mdroth committed Sep 7, 2016
    Copy the full SHA
    43d0eba View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2016

  1. Update version for v2.7.0 release

    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Sep 2, 2016
    Copy the full SHA
    1dc33ed View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2016

  1. Update version for v2.7.0-rc5 release

    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Aug 30, 2016
    Copy the full SHA
    12d2c41 View commit details
    Browse the repository at this point in the history
  2. 9pfs: handle walk of ".." in the root directory

    The 9P spec at http://man.cat-v.org/plan_9/5/intro says:
    
    All directories must support walks to the directory .. (dot-dot) meaning
    parent directory, although by convention directories contain no explicit
    entry for .. or . (dot).  The parent of the root directory of a server's
    tree is itself.
    
    This means that a client cannot walk further than the root directory
    exported by the server. In other words, if the client wants to walk
    "/.." or "/foo/../..", the server should answer like the request was
    to walk "/".
    
    This patch just does that:
    - we cache the QID of the root directory at attach time
    - during the walk we compare the QID of each path component with the root
      QID to detect if we're in a "/.." situation
    - if so, we skip the current component and go to the next one
    
    Signed-off-by: Greg Kurz <groug@kaod.org>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    gkurz authored and pm215 committed Aug 30, 2016
    Copy the full SHA
    56f101e View commit details
    Browse the repository at this point in the history
  3. 9pfs: forbid . and .. in file names

    According to the 9P spec http://man.cat-v.org/plan_9/5/open about the
    create request:
    
    The names . and .. are special; it is illegal to create files with these
    names.
    
    This patch causes the create and lcreate requests to fail with EINVAL if
    the file name is either "." or "..".
    
    Even if it isn't explicitly written in the spec, this patch extends the
    checking to all requests that may cause a directory entry to be created:
    
        - mknod
        - rename
        - renameat
        - mkdir
        - link
        - symlink
    
    The unlinkat request also gets patched for consistency (even if
    rmdir("foo/..") is expected to fail according to POSIX.1-2001).
    
    The various error values come from the linux manual pages.
    
    Suggested-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Greg Kurz <groug@kaod.org>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    gkurz authored and pm215 committed Aug 30, 2016
    Copy the full SHA
    805b5d9 View commit details
    Browse the repository at this point in the history
  4. 9pfs: forbid illegal path names

    Empty path components don't make sense for most commands and may cause
    undefined behavior, depending on the backend.
    
    Also, the walk request described in the 9P spec [1] clearly shows that
    the client is supposed to send individual path components: the official
    linux client never sends portions of path containing the / character for
    example.
    
    Moreover, the 9P spec [2] also states that a system can decide to restrict
    the set of supported characters used in path components, with an explicit
    mention "to remove slashes from name components".
    
    This patch introduces a new name_is_illegal() helper that checks the
    names sent by the client are not empty and don't contain unwanted chars.
    Since 9pfs is only supported on linux hosts, only the / character is
    checked at the moment. When support for other hosts (AKA. win32) is added,
    other chars may need to be blacklisted as well.
    
    If a client sends an illegal path component, the request will fail and
    ENOENT is returned to the client.
    
    [1] http://man.cat-v.org/plan_9/5/walk
    [2] http://man.cat-v.org/plan_9/5/intro
    
    Suggested-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Greg Kurz <groug@kaod.org>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    gkurz authored and pm215 committed Aug 30, 2016
    Copy the full SHA
    fff39a7 View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into…

    … staging
    
    * pc-bios/optionrom/Makefile fix for -O0
    * revert socket_connect change
    
    # gpg: Signature made Tue 30 Aug 2016 15:36:59 BST
    # gpg:                using RSA key 0xBFFBD25F78C7AE83
    # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
    # gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>"
    # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
    #      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83
    
    * remotes/bonzini/tags/for-upstream:
      optionrom: cope with multiple -O options
      Revert "Change net/socket.c to use socket_*() functions"
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Aug 30, 2016
    Copy the full SHA
    2b294f6 View commit details
    Browse the repository at this point in the history
  6. optionrom: cope with multiple -O options

    Reproducer:
    
        CFLAGS="-g3 -O0" ./configure --target-list=aarch64-softmmu,arm-softmmu --enable-vhost-net --enable-virtfs
    
    Here CFLAGS ends up with "-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ... -g3 -O0"
    and pc-bios/optionrom/Makefile forgets to add the -O2 it needs.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Aug 30, 2016
    Copy the full SHA
    336d588 View commit details
    Browse the repository at this point in the history
  7. Revert "Change net/socket.c to use socket_*() functions"

    Since commit 7e84495, the socket connect code is blocking, because
    calling socket_connect() without callback is blocking.  This reverts the
    commit.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Aug 30, 2016
    Copy the full SHA
    6160183 View commit details
    Browse the repository at this point in the history
  8. translate: early exit in tb_flush if there is no tcg

    tb_flush does all kind of things, which are very tcg specific. As it
    is called from some places even for KVM (e.g. gdb server) it is better
    to detect these cases and do an early exit.
    This also fixes a crash in the gdb server that was triggered by
    commit 909eaac ("tb hash: track translated blocks with qht").
    
    Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
    Reported-by: Richard Henderson <rth@twiddle.net>
    Reported-by: Brent Baccala <cosine@freesoft.org>
    Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
    Message-id: 1472148686-39841-1-git-send-email-borntraeger@de.ibm.com>
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    borntraeger authored and pm215 committed Aug 30, 2016
    Copy the full SHA
    135a972 View commit details
    Browse the repository at this point in the history
  9. ui: fix refresh of VNC server surface

    In previous commit
    
      commit c7628bf
      Author: Gerd Hoffmann <kraxel@redhat.com>
      Date:   Fri Oct 30 12:10:09 2015 +0100
    
        vnc: only alloc server surface with clients connected
    
    the VNC server was changed so that the 'vd->server' pixman
    image was only allocated when a client is connected.
    
    Since then if a client disconnects and then reconnects to
    the VNC server all they will see is a black screen until
    they do something that triggers a refresh. On a graphical
    desktop this is not often noticed since there's many things
    going on which cause a refresh. On a plain text console it
    is really obvious since nothing refreshes frequently.
    
    The problem is that the VNC server didn't update the guest
    dirty bitmap, so still believes its server image is in sync
    with the guest contents.
    
    To fix this we must explicitly mark the entire guest desktop
    as dirty after re-creating the server surface. Move this
    logic into vnc_update_server_surface() so it is guaranteed
    to be call in all code paths that re-create the surface
    instead of only in vnc_dpy_switch()
    
    Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
    Reviewed-by: Peter Lieven <pl@kamp.de>
    Tested-by: Peter Lieven <pl@kamp.de>
    Message-id: 1471365032-18096-1-git-send-email-berrange@redhat.com
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    berrange authored and pm215 committed Aug 30, 2016
    Copy the full SHA
    b69a553 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2016

  1. Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into sta…

    …ging
    
    virtio: fixes
    
    some bugfixes for virtio
    balloon is still broken wrt migration
    
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    
    # gpg: Signature made Tue 23 Aug 2016 17:33:11 BST
    # gpg:                using RSA key 0x281F0DB8D28D5469
    # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>"
    # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>"
    # Primary key fingerprint: 0270 606B 6F3C DF3D 0B17  0970 C350 3912 AFBE 8E67
    #      Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA  8A0D 281F 0DB8 D28D 5469
    
    * remotes/mst/tags/for_upstream:
      virtio: decrement vq->inuse in virtqueue_discard()
      virtio: recalculate vq->inuse after migration
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Aug 24, 2016
    Copy the full SHA
    e00da55 View commit details
    Browse the repository at this point in the history
  2. Fix bsd-user build after d915b7b

    Must include "qemu-version.h" for the QEMU_PKGVERSION definition.
    
    Signed-off-by: Ed Maste <emaste@freebsd.org>
    Message-id: 1471877833-52343-1-git-send-email-emaste@freebsd.org
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    emaste authored and pm215 committed Aug 24, 2016
    Copy the full SHA
    8c1c230 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2016

  1. virtio: decrement vq->inuse in virtqueue_discard()

    virtqueue_discard() moves vq->last_avail_idx back so the element can be
    popped again.  It's necessary to decrement vq->inuse to avoid "leaking"
    the element count.
    
    Cc: qemu-stable@nongnu.org
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
    Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
    Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    Stefan Hajnoczi authored and mstsirkin committed Aug 23, 2016
    Copy the full SHA
    58a83c6 View commit details
    Browse the repository at this point in the history
  2. virtio: recalculate vq->inuse after migration

    The vq->inuse field is not migrated.  Many devices don't hold
    VirtQueueElements across migration so it doesn't matter that vq->inuse
    starts at 0 on the destination QEMU.
    
    At least virtio-serial, virtio-blk, and virtio-balloon migrate while
    holding VirtQueueElements.  For these devices we need to recalculate
    vq->inuse upon load so the value is correct.
    
    Cc: qemu-stable@nongnu.org
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
    Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
    Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    Stefan Hajnoczi authored and mstsirkin committed Aug 23, 2016
    Copy the full SHA
    bccdef6 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2016

  1. Update version for v2.7.0-rc4 release

    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Aug 22, 2016
    Copy the full SHA
    d75aa43 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request'…

    … into staging
    
    # gpg: Signature made Mon 22 Aug 2016 09:06:32 BST
    # gpg:                using RSA key 0xEF04965B398D6211
    # gpg: Good signature from "Jason Wang (Jason Wang on RedHat) <jasowang@redhat.com>"
    # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
    # gpg:          It is not certain that the signature belongs to the owner.
    # Primary key fingerprint: 215D 46F4 8246 689E C77F  3562 EF04 965B 398D 6211
    
    * remotes/jasowang/tags/net-pull-request:
      e1000e: remove internal interrupt flag
      slirp: fix segv when init failed
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Aug 22, 2016
    Copy the full SHA
    62680fa View commit details
    Browse the repository at this point in the history
  3. e1000e: remove internal interrupt flag

    Commit 66bf7d5 removed internal msi state flag E1000E_USE_MSI, E1000E_USE_MSIX
    is not necessary too, remove it now. And interrupt flag field intr_state also
    can be removed now.
    
    CC: Dmitry Fleytman <dmitry@daynix.com>
    CC: Jason Wang <jasowang@redhat.com>
    CC: Markus Armbruster <armbru@redhat.com>
    CC: Marcel Apfelbaum <marcel@redhat.com>
    CC: Michael S. Tsirkin <mst@redhat.com>
    CC: Paolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    Acked-by: Dmitry Fleytman <dmitry@daynix.com>
    Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: Jason Wang <jasowang@redhat.com>
    Cao jin authored and jasowang committed Aug 22, 2016
    Copy the full SHA
    e0af5a0 View commit details
    Browse the repository at this point in the history
  4. slirp: fix segv when init failed

    Since commit f6c2e66, slirp uses an exit notifier to call
    slirp_smb_cleanup. However, if init() failed, the notifier isn't added,
    and removing it will fail:
    
    ==18447== Invalid write of size 8
    ==18447==    at 0x7EF2B5: notifier_remove (notify.c:32)
    ==18447==    by 0x48E80C: qemu_remove_exit_notifier (vl.c:2661)
    ==18447==    by 0x6A2187: net_slirp_cleanup (slirp.c:134)
    ==18447==    by 0x69419D: qemu_cleanup_net_client (net.c:338)
    ==18447==    by 0x69445B: qemu_del_net_client (net.c:401)
    ==18447==    by 0x6A2B81: net_slirp_init (slirp.c:366)
    ==18447==    by 0x6A4241: net_init_slirp (slirp.c:865)
    ==18447==    by 0x695C6D: net_client_init1 (net.c:1051)
    ==18447==    by 0x695F6E: net_client_init (net.c:1108)
    ==18447==    by 0x696DBA: net_init_netdev (net.c:1498)
    ==18447==    by 0x7F1F99: qemu_opts_foreach (qemu-option.c:1116)
    ==18447==    by 0x696E60: net_init_clients (net.c:1516)
    ==18447==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Signed-off-by: Jason Wang <jasowang@redhat.com>
    elmarco authored and jasowang committed Aug 22, 2016
    Copy the full SHA
    67f3280 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2016

  1. test-logging: don't hard-code paths in /tmp

    Since f6880b7 [qemu-log: support simple pid substitution for logs],
    test-logging creates files with hard-coded names in /tmp. In the best
    case, this prevents multiple developers from running "make check" on
    the same machine. In the worst case, it allows for symlink attacks,
    enabling an attacker to overwrite files that are writable to the
    developer running "make check".
    
    Instead of hard-coding the paths, create a temporary directory using
    g_dir_make_tmp() and clean it up afterwards.
    
    Fixes: f6880b7 ("qemu-log: support simple pid substitution for logs")
    Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
    Message-id: 1471545963-11720-3-git-send-email-silbe@linux.vnet.ibm.com
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Sascha Silbe authored and pm215 committed Aug 19, 2016
    Copy the full SHA
    5f9f818 View commit details
    Browse the repository at this point in the history
  2. glib: add compatibility implementation for g_dir_make_tmp()

    We're going to make use of g_dir_make_tmp() in test-logging. Provide a
    compatibility implementation of it for glib < 2.30.
    
    May behave differently in some edge cases (e.g. pattern only at the
    end of the template, the file name is not part of the error message),
    but good enough in practice.
    
    Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
    Message-id: 1471545963-11720-2-git-send-email-silbe@linux.vnet.ibm.com
    [PMM: removed variable "template" which caused compilation failures
     when C++ files include glib-compat.h]
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Sascha Silbe authored and pm215 committed Aug 19, 2016
    Copy the full SHA
    5045570 View commit details
    Browse the repository at this point in the history
  3. syscall.c: Redefine IFLA_* enums

    In 9c37146 I've tried to fix a broken build with older
    linux-headers. However, I didn't do it properly. The solution
    implemented here is to grab the enums that caused the problem
    initially, and rename their values so that they are "QEMU_"
    prefixed. In order to guarantee matching values with actual
    enums from linux-headers, the enums are seeded with starting
    values from the original enums.
    
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    Reviewed-by: Laurent Vivier <laurent@vivier.eu>
    Message-id: 75c14d6e8a97c4ff3931d69c13eab7376968d8b4.1471593869.git.mprivozn@redhat.com
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    zippy2 authored and pm215 committed Aug 19, 2016
    Copy the full SHA
    60c6b79 View commit details
    Browse the repository at this point in the history
  4. Revert "syscall.c: Fix build with older linux-headers"

    The fix I've made there was wrong. I mean, basically what I did
    there was equivalent to:
    
      #if 0
      some code;
      #endif
    
    This reverts commit 9c37146.
    
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    Reviewed-by: Laurent Vivier <laurent@vivier.eu>
    Message-id: 40d61349e445c1ad5fef795da704bf7ed6e19c86.1471593869.git.mprivozn@redhat.com
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    zippy2 authored and pm215 committed Aug 19, 2016
    Copy the full SHA
    aee5f8f View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2016

  1. Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-reques…

    …t' into staging
    
    # gpg: Signature made Thu 18 Aug 2016 14:39:31 BST
    # gpg:                using RSA key 0x9CA4ABB381AB73C8
    # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
    # gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>"
    # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8
    
    * remotes/stefanha/tags/block-pull-request:
      block: fix possible reorder of flush operations
      block: fix deadlock in bdrv_co_flush
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Aug 18, 2016
    Copy the full SHA
    02b1ad8 View commit details
    Browse the repository at this point in the history
  2. block: fix possible reorder of flush operations

    This patch reduce CPU usage of flush operations a bit. When we have one
    flush completed we should kick only next operation. We should not start
    all pending operations in the hope that they will go back to wait on
    wait_queue.
    
    Also there is a technical possibility that requests will get reordered
    with the previous approach. After wakeup all requests are removed from
    the wait queue. They become active and they are processed one-by-one
    adding to the wait queue in the same order. Though new flush can arrive
    while all requests are not put into the queue.
    
    Signed-off-by: Denis V. Lunev <den@openvz.org>
    Tested-by: Evgeny Yakovlev <eyakovlev@virtuozzo.com>
    Signed-off-by: Evgeny Yakovlev <eyakovlev@virtuozzo.com>
    Message-id: 1471457214-3994-3-git-send-email-den@openvz.org
    CC: Stefan Hajnoczi <stefanha@redhat.com>
    CC: Fam Zheng <famz@redhat.com>
    CC: Kevin Wolf <kwolf@redhat.com>
    CC: Max Reitz <mreitz@redhat.com>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Denis V. Lunev authored and Stefan Hajnoczi committed Aug 18, 2016
    Copy the full SHA
    156af3a View commit details
    Browse the repository at this point in the history
  3. block: fix deadlock in bdrv_co_flush

    The following commit
        commit 3ff2f67
        Author: Evgeny Yakovlev <eyakovlev@virtuozzo.com>
        Date:   Mon Jul 18 22:39:52 2016 +0300
        block: ignore flush requests when storage is clean
    has introduced a regression.
    
    There is a problem that it is still possible for 2 requests to execute
    in non sequential fashion and sometimes this results in a deadlock
    when bdrv_drain_one/all are called for BDS with such stalled requests.
    
    1. Current flushed_gen and flush_started_gen is 1.
    2. Request 1 enters bdrv_co_flush to with write_gen 1 (i.e. the same
       as flushed_gen). It gets past flushed_gen != flush_started_gen and
       sets flush_started_gen to 1 (again, the same it was before).
    3. Request 1 yields somewhere before exiting bdrv_co_flush
    4. Request 2 enters bdrv_co_flush with write_gen 2. It gets past
       flushed_gen != flush_started_gen and sets flush_started_gen to 2.
    5. Request 2 runs to completion and sets flushed_gen to 2
    6. Request 1 is resumed, runs to completion and sets flushed_gen to 1.
       However flush_started_gen is now 2.
    
    From here on out flushed_gen is always != to flush_started_gen and all
    further requests will wait on flush_queue. This change replaces
    flush_started_gen with an explicitly tracked active flush request.
    
    Signed-off-by: Evgeny Yakovlev <eyakovlev@virtuozzo.com>
    Signed-off-by: Denis V. Lunev <den@openvz.org>
    Message-id: 1471457214-3994-2-git-send-email-den@openvz.org
    CC: Stefan Hajnoczi <stefanha@redhat.com>
    CC: Fam Zheng <famz@redhat.com>
    CC: Kevin Wolf <kwolf@redhat.com>
    CC: Max Reitz <mreitz@redhat.com>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Evgeny Yakovlev authored and Stefan Hajnoczi committed Aug 18, 2016
    Copy the full SHA
    ce83ee5 View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request'…

    … into staging
    
    # gpg: Signature made Thu 18 Aug 2016 06:36:16 BST
    # gpg:                using RSA key 0xEF04965B398D6211
    # gpg: Good signature from "Jason Wang (Jason Wang on RedHat) <jasowang@redhat.com>"
    # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
    # gpg:          It is not certain that the signature belongs to the owner.
    # Primary key fingerprint: 215D 46F4 8246 689E C77F  3562 EF04 965B 398D 6211
    
    * remotes/jasowang/tags/net-pull-request:
      net/net: properly handle multiple packets in net_fill_rstate()
      net: vmxnet: use g_new for pkt initialisation
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Aug 18, 2016
    Copy the full SHA
    5844365 View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'remotes/famz/tags/docker-pull-request' …

    …into staging
    
    Fix 'make docker-test-mingw@fedora'
    
    Peter,
    
    This is the single patch that stalls patchew's mingw testing. Since it
    is small and trivial, let's have it in 2.7.
    
    Fam
    
    # gpg: Signature made Wed 17 Aug 2016 13:13:53 BST
    # gpg:                using RSA key 0xCA35624C6A9171C6
    # gpg: Good signature from "Fam Zheng <famz@redhat.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: 5003 7CB7 9706 0F76 F021  AD56 CA35 624C 6A91 71C6
    
    * remotes/famz/tags/docker-pull-request:
      curl: Cast fd to int for DPRINTF
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Aug 18, 2016
    Copy the full SHA
    4b887ae View commit details
    Browse the repository at this point in the history
  6. net/net: properly handle multiple packets in net_fill_rstate()

    When network is busy, we will receive multiple packets at one time. In
    that situation, we should keep trying to do the receiving instead of
    finalizing only the first packet.
    
    Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
    Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
    Signed-off-by: Jason Wang <jasowang@redhat.com>
    zhangckid authored and jasowang committed Aug 18, 2016
    Copy the full SHA
    e9e0a58 View commit details
    Browse the repository at this point in the history
  7. net: vmxnet: use g_new for pkt initialisation

    When network transport abstraction layer initialises pkt, the maximum
    fragmentation count is not checked. This could lead to an integer
    overflow causing a NULL pointer dereference. Replace g_malloc() with
    g_new() to catch the multiplication overflow.
    
    Reported-by: Li Qiang <liqiang6-s@360.cn>
    Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
    Acked-by: Dmitry Fleytman <dmitry@daynix.com>
    Signed-off-by: Jason Wang <jasowang@redhat.com>
    Li Qiang authored and jasowang committed Aug 18, 2016
    Copy the full SHA
    47882fa View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2016

  1. curl: Cast fd to int for DPRINTF

    Currently "make docker-test-mingw@fedora" has a warning like:
    
        /tmp/qemu-test/src/block/curl.c: In function 'curl_sock_cb':
        /tmp/qemu-test/src/block/curl.c:172:6: warning: format '%d' expects
        argument of type 'int', but argument 4 has type 'curl_socket_t {aka long
        long unsigned int}'
             DPRINTF("CURL (AIO): Sock action %d on fd %d\n", action, fd);
              ^
        cc1: all warnings being treated as errors
    
    Cast to int to suppress it.
    
    Signed-off-by: Fam Zheng <famz@redhat.com>
    Message-Id: <1470027888-24381-1-git-send-email-famz@redhat.com>
    Reviewed-by: John Snow <jsnow@redhat.com>
    Fam Zheng committed Aug 17, 2016
    Copy the full SHA
    92b6a16 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2016

  1. Update version for v2.7.0-rc3 release

    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Aug 16, 2016
    Copy the full SHA
    5f0e775 View commit details
    Browse the repository at this point in the history
  2. linux-user: Fix llseek with high bit of offset_low set

    The llseek syscall takes two 32-bit arguments, offset_high
    and offset_low, which must be combined to form a single
    64-bit offset. Unfortunately we were combining them with
       (uint64_t)arg2 << 32) | arg3
    and arg3 is a signed type; this meant that when promoting
    arg3 to a 64-bit type it would be sign-extended. The effect
    was that if the offset happened to have bit 31 set then
    this bit would get sign-extended into all of bits 63..32.
    Explicitly cast arg3 to abi_ulong to avoid the erroneous
    sign extension.
    
    Reported-by: Chanho Park <parkch98@gmail.com>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Tested-by: Chanho Park <parkch98@gmail.com>
    Message-id: 1470938379-1133-1-git-send-email-peter.maydell@linaro.org
    pm215 committed Aug 16, 2016
    Copy the full SHA
    9fea273 View commit details
    Browse the repository at this point in the history
  3. syscall.c: Fix build with older linux-headers

    In c5dff28 we tried to make us understand netlink messages more.
    So we've added a code that does some translation. However, the
    code assumed linux-headers to be at least version 4.4 of it
    because most of the symbols there (if not all of them) were added
    in just that release. This, however, breaks build on systems with
    older versions of the package.
    
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    Message-id: 23806aac6db3baf7e2cdab4c62d6e3468ce6b4dc.1471340849.git.mprivozn@redhat.com
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    zippy2 authored and pm215 committed Aug 16, 2016
    Copy the full SHA
    9c37146 View commit details
    Browse the repository at this point in the history
  4. qmp-commands.hx: remove outdated note

    input-send-event is now stable since
    6575ccd.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    Message-id: 20160811112041.18616-1-marcandre.lureau@redhat.com
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    elmarco authored and pm215 committed Aug 16, 2016
    Copy the full SHA
    1451a7a View commit details
    Browse the repository at this point in the history
Older