Skip to content

Commits

Permalink
qga-pull-2015-…
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 Oct 17, 2015

  1. qga: fix uninitialized value warning for win32

    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    mdroth committed Oct 17, 2015
    Copy the full SHA
    ec142fa View commit details
    Browse the repository at this point in the history
  2. *qga: use GetProcessId() instead of casting w32 process HANDLE to int

    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    mdroth committed Oct 17, 2015
    Copy the full SHA
    225c696 View commit details
    Browse the repository at this point in the history
  3. *tests: test-qga build fixes for OSX

    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    mdroth committed Oct 17, 2015
    Copy the full SHA
    8f3d2f0 View commit details
    Browse the repository at this point in the history
  4. qga: guest-exec simple stdin/stdout/stderr redirection

    Implemented with base64-encoded strings in qga json protocol.
    Glib portable GIOChannel is used for data I/O.
    
    Optinal stdin parameter of guest-exec command is now used as
    stdin content for spawned subprocess.
    
    If capture-output bool flag is specified, guest-exec redirects out/err
    file descriptiors internally to pipes and collects subprocess
    output.
    
    Guest-exe-status is modified to return this collected data to requestor
    in base64 encoding.
    
    Signed-off-by: Yuri Pudgorodskiy <yur@virtuozzo.com>
    Signed-off-by: Denis V. Lunev <den@openvz.org>
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    * switch from 'struct GuestIOExecData' to 'GuestIOExecData'
    * s/TRUE/true/g, s/FALSE/false/g for gboolean return values
    * s/inp_data/input_data/
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Yuri Pudgorodskiy authored and mdroth committed Oct 17, 2015
    Copy the full SHA
    e8a20b9 View commit details
    Browse the repository at this point in the history
  5. qga: handle G_IO_STATUS_AGAIN in ga_channel_write_all()

    glib may return G_IO_STATUS_AGAIN which is actually not an error.
    Also fixed a bug when on incomplete write buf pointer was not adjusted.
    
    Signed-off-by: Yuri Pudgorodskiy <yur@virtuozzo.com>
    Signed-off-by: Denis V. Lunev <den@openvz.org>
    Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Yuri Pudgorodskiy authored and mdroth committed Oct 17, 2015
    Copy the full SHA
    8e5ac62 View commit details
    Browse the repository at this point in the history
  6. qga: handle possible SIGPIPE in guest-file-write

    qemu-ga should not exit on guest-file-write to pipe without read end
    but proper error code should be returned. The behavior of the
    spawned process should be default thus SIGPIPE processing should be
    reset to default after fork() but before exec().
    
    Signed-off-by: Denis V. Lunev <den@openvz.org>
    Signed-off-by: Yuri Pudgorodskiy <yur@virtuozzo.com>
    Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Signed-off-by: Denis V. Lunev <den@openvz.org>
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Denis V. Lunev authored and mdroth committed Oct 17, 2015
    Copy the full SHA
    7edc4a9 View commit details
    Browse the repository at this point in the history
  7. qga: guest exec functionality

    Guest-exec rewritten in platform-independent style with glib spawn.
    
    Child process is spawn asynchronously and exit status can later
    be picked up by guest-exec-status command.
    
    stdin/stdout/stderr of the child now is redirected to /dev/null
    Later we will add ability to specify stdin in guest-exec command
    and to get collected stdout/stderr with guest-exec-status.
    
    Signed-off-by: Yuri Pudgorodskiy <yur@virtuozzo.com>
    Signed-off-by: Denis V. Lunev <den@openvz.org>
    CC: Michael Roth <mdroth@linux.vnet.ibm.com>
    *use g_new0 in place of g_malloc for GuestExec struct
    *commit msg spelling fixes
    *s/inp-data/input-data
    *document capture-input mode as false by default
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Yuri Pudgorodskiy authored and mdroth committed Oct 17, 2015
    Copy the full SHA
    bf090ed View commit details
    Browse the repository at this point in the history
  8. qga: drop guest_file_init helper and replace it with static initializers

    This just makes code shorter and better.
    
    Signed-off-by: Denis V. Lunev <den@openvz.org>
    Signed-off-by: Yuri Pudgorodskiy <yur@virtuozzo.com>
    Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Signed-off-by: Denis V. Lunev <den@openvz.org>
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Denis V. Lunev authored and mdroth committed Oct 17, 2015
    Copy the full SHA
    e928eae View commit details
    Browse the repository at this point in the history
  9. tests: add a local test for guest agent

    Add some local guest agent tests, as it is better than nothing, only
    when CONFIG_POSIX (using unix sockets).
    
    With the QGA_TEST_SIDE_EFFECTING environment variable, it will include
    tests with side effects, such as freezing/thawing the FS or changing the
    time.
    
    (a better test would involve a managed VM (or container), but it might
    be better to leave that off to autotest/avocado)
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    * use mkdtemp() in placeof g_mkdtemp() for glib 2.22 compat
    * drop redundant/conflicting compat defines for
      g_assert_{true,false}, since glib-compat has them now.
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    elmarco authored and mdroth committed Oct 17, 2015
    Copy the full SHA
    cfd912a View commit details
    Browse the repository at this point in the history
  10. glib-compat: add 2.38/2.40/2.46 asserts

    Those are mostly useful for writing tests.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    elmarco authored and mdroth committed Oct 17, 2015
    Copy the full SHA
    e7f9d29 View commit details
    Browse the repository at this point in the history
  11. qtest: add a few fd-level qmp helpers

    Add a few functions to interact with qmp via a simple fd.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    elmarco authored and mdroth committed Oct 17, 2015
    Copy the full SHA
    9ce4855 View commit details
    Browse the repository at this point in the history
  12. qga: do not override configuration verbosity

    Move the default verbosity settings before loading the configuration
    file, or it will overwrite it. Found thanks to writing qga tests :)
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    elmarco authored and mdroth committed Oct 17, 2015
    Copy the full SHA
    ddfc012 View commit details
    Browse the repository at this point in the history
  13. qga: add QGA_CONF environment variable

    Having a environment variable allows to override default configuration
    path, useful for testing. Note that this can't easily be an argument,
    since loading config is done before parsing the arguments.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    elmarco authored and mdroth committed Oct 17, 2015
    Copy the full SHA
    21cb30c View commit details
    Browse the repository at this point in the history
  14. qga: Use g_new() & friends where that makes obvious sense

    g_new(T, n) is neater than g_malloc(sizeof(T) * n).  It's also safer,
    for two reasons.  One, it catches multiplication overflowing size_t.
    Two, it returns T * rather than void *, which lets the compiler catch
    more type errors.
    
    This commit only touches allocations with size arguments of the form
    sizeof(T).  Same Coccinelle semantic patch as in commit b45c03f.
    
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Markus Armbruster authored and mdroth committed Oct 17, 2015
    Copy the full SHA
    065f681 View commit details
    Browse the repository at this point in the history
  15. build: qemu-ga: add 'qemu-ga' build target for w32

    Currently POSIX builds rely on 'qemu-ga' target to do qga-only
    distributable build. On w32, as with most standalone binary targets,
    we rely on 'qemu-ga.exe' target.
    
    Unlike with POSIX, qemu-ga for w32 has a number of related targets
    such as VSS DLL and MSI package. We can do the full distributable
    qga-only build on w32 with:
    
      make qemu-ga.exe
    
    or:
    
      make msi
    
    To make that work, we tie VSS dependencies onto qemu-ga.exe.
    However, in reality the DLL isn't part of the binary, so we use a
    filter to pull them out of the LINK recipe, which attempts to link
    against prereqs for binary targets. Additionally, it could be argued
    that VSS is a separate distributable, and shouldn't be implied by
    qemu-ga.exe binary target.
    
    To avoid this, we can tie the VSS dependencies only to the 'msi'
    target, but that would make it impossible to do a qga-only build of
    the w32 distributable without building the 'msi' package, which was
    supported in the past.
    
    An alternative approach is to add a new target to build the whole
    distributable. w32 allows us to use the same build target we use
    on POSIX, 'qemu-ga', since the current binary-only target on w32
    is 'qemu-ga.exe'.
    
    To further simplify the build, we also make 'qemu-ga' build the MSI
    package if the appropriate ./configure options are set, making the
    full qga-only build the same on both POSIX and w32: `make qemu-ga`
    
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    mdroth committed Oct 17, 2015
    Copy the full SHA
    93eac11 View commit details
    Browse the repository at this point in the history
  16. Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-2…

    …0151016' into staging
    
    target-arm queue:
     * break TBs after ISB instructions
     * more support code for future implementation of EL2 and 64-bit EL3
     * tell guest if KVM is enabled in SMBIOS version string
     * implement OSLAR/OSLSR system registers
     * provide better help text for Sharp PDA machine names
     * rename imx25_pdk to imx25-pdk (since it has never been released
       with the underscore-version name)
     * fix MMIO writes in zynq_slcr
     * implement MDCR_EL2
     * virt: allow the guest to configure PCI BARs with zero PCI addresses
     * fix breakpoint handling code
    
    # gpg: Signature made Fri 16 Oct 2015 14:56:15 BST using RSA key ID 14360CDE
    # 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>"
    
    * remotes/pmaydell/tags/pull-target-arm-20151016:
      target-arm: Fix CPU breakpoint handling
      target-arm: Fix GDB breakpoint handling
      target-arm: implement arm_debug_target_el()
      hw/arm/virt: Allow zero address for PCI IO space
      target-arm: Add MDCR_EL2
      misc: zynq_slcr: Fix MMIO writes
      arm: imx25-pdk: Fix machine name
      target-arm: Provide model numbers for Sharp PDAs
      target-arm: Implement AArch64 OSLAR/OSLSR_EL1 sysregs
      hw/arm/virt: smbios: inform guest of kvm
      target-arm: Avoid calling arm_el_is_aa64() function for unimplemented EL
      target-arm: Break the TB after ISB to execute self-modified code correctly
      target-arm: Add missing 'static' attribute
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Oct 17, 2015
    Copy the full SHA
    6d57410 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2015

  1. Merge remote-tracking branch 'remotes/pmaydell/tags/pull-cocoa-201510…

    …16' into staging
    
    cocoa queue:
     * fixes for compiler warnings
     * fix mouse cursor flickering
    
    # gpg: Signature made Fri 16 Oct 2015 11:09:46 BST using RSA key ID 14360CDE
    # 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>"
    
    * remotes/pmaydell/tags/pull-cocoa-20151016:
      ui/cocoa.m: blinky mouse cursor fix
      ui/cocoa.m: addRemovableDevicesMenuItems() warning fix
      ui/cocoa.m: eliminate normalWindow warning
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Oct 16, 2015
    Copy the full SHA
    9c1f5bb View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2015-10-1…

    …5' into staging
    
    QAPI patches
    
    # gpg: Signature made Thu 15 Oct 2015 07:40:46 BST using RSA key ID EB918653
    # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>"
    # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>"
    
    * remotes/armbru/tags/pull-qapi-2015-10-15:
      qapi: Track location that created an implicit type
      qapi: Create simple union type member earlier
      qapi: Lazy creation of array types
      qapi: Don't use info as witness of implicit object type
      qapi: Drop redundant args-member-array test
      qapi: Drop redundant flat-union-reverse-define test
      qapi: Drop redundant returns-int test
      qapi: Move empty-enum to compile-time test
      qapi: Drop redundant alternate-good test
      qapi: Prepare for errors during check()
      qapi: Use predicate callback to determine visit filtering
      qapi: Fix regression with '-netdev help'
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Oct 16, 2015
    Copy the full SHA
    61f7901 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'remotes/juanquintela/tags/migration/201…

    …51015' into staging
    
    migration/next for 20151015
    
    # gpg: Signature made Thu 15 Oct 2015 07:25:27 BST using RSA key ID 5872D723
    # gpg: Good signature from "Juan Quintela <quintela@redhat.com>"
    # gpg:                 aka "Juan Quintela <quintela@trasno.org>"
    
    * remotes/juanquintela/tags/migration/20151015:
      migration: fix deadlock
      migration: announce VM's new home just before VM is runnable
      Migration: Generate the completed event only when we complete
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Oct 16, 2015
    Copy the full SHA
    e95bdb4 View commit details
    Browse the repository at this point in the history
  4. target-arm: Fix CPU breakpoint handling

    A QEMU breakpoint match is not definitely an architectural breakpoint
    match. If an exception is generated unconditionally during translation,
    it is hardly possible to ignore it in the debug exception handler.
    
    Generate a call to a helper to check CPU breakpoints and raise an
    exception only if any breakpoint matches architecturally.
    
    Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    sergefdrv authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    5d98bf8 View commit details
    Browse the repository at this point in the history
  5. target-arm: Fix GDB breakpoint handling

    GDB breakpoints have higher priority so they have to be checked first.
    Should GDB breakpoint match, just return from the debug exception
    handler.
    
    Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    sergefdrv authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    e63a2d4 View commit details
    Browse the repository at this point in the history
  6. target-arm: implement arm_debug_target_el()

    Implement debug exception routing according to ARM ARM D2.3.1 Pseudocode
    description of routing debug exceptions.
    
    Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    sergefdrv authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    81669b8 View commit details
    Browse the repository at this point in the history
  7. hw/arm/virt: Allow zero address for PCI IO space

    Currently PCI IO address 0 is not allowed even though
    the IO space starts from 0. This update makes  PCI IO
    address 0 usable.
    
    CC: Peter Maydell <peter.maydell@linaro.org>
    CC: Andrew Jones <drjones@redhat.com>
    Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Alexander Gordeev authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    74de8c3 View commit details
    Browse the repository at this point in the history
  8. target-arm: Add MDCR_EL2

    Add the MDCR_EL2 register. We don't implement any of
    the debug-related traps this register controls yet, so
    currently it simply reads back as written.
    
    Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
    Message-id: 1444383794-16767-1-git-send-email-serge.fdrv@gmail.com
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    [PMM: tweaked commit message; moved non-dummy definition from
    debug_cp_reginfo to el2_cp_reginfo.]
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    sergefdrv authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    14cc7b5 View commit details
    Browse the repository at this point in the history
  9. misc: zynq_slcr: Fix MMIO writes

    The /4 for offset calculation in MMIO writes was happening twice giving
    wrong write offsets. Fix.
    
    While touching the code, change the if-else to be a short returning if
    and convert the debug message to a GUEST_ERROR, which is more accurate
    for this condition.
    
    Cc: qemu-stable@nongnu.org
    Cc: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
    Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pcrost authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    c209b05 View commit details
    Browse the repository at this point in the history
  10. arm: imx25-pdk: Fix machine name

    ARM uses dashes instead of underscores for machine names. Fix imx25_pdk
    which has not seen a release yet (so there is no legacy yet).
    
    Cc: Jean-Christophe Dubois <jcd@tribudubois.net>
    Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
    Message-id: 1444445785-3648-1-git-send-email-crosthwaite.peter@gmail.com
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    [PMM: Added change to tests/ds1338-test.c to use new machine name]
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pcrost authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    b64d64d View commit details
    Browse the repository at this point in the history
  11. target-arm: Provide model numbers for Sharp PDAs

    * For Collie, Akita, Spitz, Borzoi, Terrier and Tosa PDAs, provide
      model numbers and manufacturer (Sharp) information.
    
    Signed-off-by: Ryo ONODERA <ryo_on@yk.rim.or.jp>
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    ryoon authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    ad1e8db View commit details
    Browse the repository at this point in the history
  12. target-arm: Implement AArch64 OSLAR/OSLSR_EL1 sysregs

    Added oslar_write function to OSLAR_EL1 sysreg, using a status variable
    in ARMCPUState.cp15 struct (oslsr_el1). This variable is also linked
    to the newly added read-only OSLSR_EL1 register.
    
    Linux reads from this register during its suspend/resume procedure.
    
    Signed-off-by: Davorin Mista <davorin.mista@aggios.com>
    [PMM: folded a long line and tweaked a comment]
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    davorinmista authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    1424ca8 View commit details
    Browse the repository at this point in the history
  13. hw/arm/virt: smbios: inform guest of kvm

    ARM/AArch64 KVM guests don't have any way to identify
    themselves as KVM guests (x86 guests use a CPUID leaf). Now, we
    could discuss all sorts of reasons why guests shouldn't need to
    know that, but then there's always some case where it'd be
    nice... Anyway, now that we have SMBIOS tables in ARM guests,
    it's easy for the guest to know that it's a QEMU instance. This
    patch takes that one step further, also identifying KVM, when
    appropriate. Again, we could debate why generally nothing
    should care whether it's of type QEMU or QEMU/KVM, but again,
    sometimes it's nice to know...
    
    Signed-off-by: Andrew Jones <drjones@redhat.com>
    Reviewed-by: Wei Huang <wei@redhat.com>
    Message-id: 1443017892-15567-1-git-send-email-drjones@redhat.com
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Andrew Jones authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    bab27ea View commit details
    Browse the repository at this point in the history
  14. target-arm: Avoid calling arm_el_is_aa64() function for unimplemented EL

    It is incorrect to call arm_el_is_aa64() function for unimplemented EL.
    This patch fixes several attempts to do so.
    
    Signed-off-by: Sergey Sorokin <afarallax@yandex.ru>
    [PMM: Reworked several of the comments to be more verbose.]
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    afarallax authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    2cde031 View commit details
    Browse the repository at this point in the history
  15. target-arm: Break the TB after ISB to execute self-modified code corr…

    …ectly
    
    If any store instruction writes the code inside the same TB
    after this store insn, the execution of the TB must be stopped
    to execute new code correctly.
    As described in ARMv8 manual D3.4.6 self-modifying code must do an
    IC invalidation to be valid, and an ISB after it. So it's enough to end
    the TB after ISB instruction on the code translation.
    Also this TB break is necessary to take any pending interrupts immediately
    after an ISB (as required by ARMv8 ARM D1.14.4).
    
    Signed-off-by: Sergey Sorokin <afarallax@yandex.ru>
    [PMM: tweaked commit message and comments slightly]
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    afarallax authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    6df99de View commit details
    Browse the repository at this point in the history
  16. target-arm: Add missing 'static' attribute

    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Message-id: 1443213733-9807-1-git-send-email-sw@weilnetz.de
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    stweil authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    82c39f6 View commit details
    Browse the repository at this point in the history
  17. ui/cocoa.m: blinky mouse cursor fix

    The mouse cursor can become blinky when being moved a lot. This patch fixes that
    problem by issuing the redraw sooner.
    
    Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
    Message-id: AAA87DD7-EC20-4F4B-B71E-C38461D9FCBA@gmail.com
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    programmingkidx authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    468a895 View commit details
    Browse the repository at this point in the history
  18. ui/cocoa.m: addRemovableDevicesMenuItems() warning fix

    Eliminate this warning associated with the addRemovableDevicesMenuItems()
    function:
    
    ui/cocoa.m:1344:13: warning: function declaration isn't a prototype
    [-Wstrict-prototypes]
     static void addRemovableDevicesMenuItems()
                 ^
    ui/cocoa.m: In function 'addRemovableDevicesMenuItems':
    ui/cocoa.m:1344:13: warning: old-style function definition [-Wold-style-definition]
    
    Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
    Message-id: 7B365FC2-072B-4E8D-A1D9-922C2D691A83@gmail.com
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    programmingkidx authored and pm215 committed Oct 16, 2015
    Copy the full SHA
    a7940ec View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2015

  1. qapi: Track location that created an implicit type

    A future patch will move some error checking from the parser
    to the various QAPISchema*.check() methods, which run only
    after parsing completes.  It will thus be possible to create
    a python instance representing an implicit QAPI type that
    parses fine but will fail validation during check().  Since
    all errors have to have an associated 'info' location, we
    need a location to be associated with those implicit types.
    The intuitive info to use is the location of the enclosing
    entity that caused the creation of the implicit type.
    
    Note that we do not anticipate builtin types being used in
    an error message (as they are not part of the user's QAPI
    input, the user can't cause a semantic error in their
    behavior), so we exempt those types from requiring info, by
    setting a flag to track the completion of _def_predefineds(),
    and tracking that flag in _def_entity().
    
    No change to the generated code.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>
    Message-Id: <1444710158-8723-13-git-send-email-eblake@redhat.com>
    [Missing QAPISchemaArrayType.is_implicit() supplied]
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    ebblake authored and Markus Armbruster committed Oct 15, 2015
    Copy the full SHA
    99df528 View commit details
    Browse the repository at this point in the history
Older