1. 26 7月, 2016 7 次提交
    • C
      AioContext: correct comments · 54a16a63
      Cao jin 提交于
      Correct comments of field notify_me
      
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: Max Reitz <mreitz@redhat.com>
      Signed-off-by: NCao jin <caoj.fnst@cn.fujitsu.com>
      Message-id: 1468575858-22975-1-git-send-email-caoj.fnst@cn.fujitsu.com
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      54a16a63
    • V
      qcow2: do not allocate extra memory · ebf7bba0
      Vladimir Sementsov-Ogievskiy 提交于
      There are no needs to allocate more than one cluster, as we set
      avail_out for deflate to one cluster.
      
      Zlib docs (http://www.zlib.net/manual.html) says:
      "deflate compresses as much data as possible, and stops when the input
      buffer becomes empty or the output buffer becomes full."
      
      So, deflate will not write more than avail_out to output buffer. If
      there is not enough space in output buffer for compressed data (it may
      be larger than input data) deflate just returns Z_OK. (if all data is
      compressed and written to output buffer deflate returns Z_STREAM_END).
      Signed-off-by: NVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Message-id: 1468515565-81313-1-git-send-email-vsementsov@virtuozzo.com
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NJohn Snow <jsnow@redhat.com>
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      ebf7bba0
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.7-20160726' into staging · f49ee630
      Peter Maydell 提交于
      ppc patch queue 2016-07-26
      
      Here's the current batch of ppc and spapr related patches intended for
      qemu-2.7.  Given the late stage in 2.7 development, these are all
      bugfixes with one exception:
      
      The "spapr: disintricate core-id from DT semantics" changes the way
      ids are assigned in the new core-based hotplug infrastructure.  This
      isn't strictly a bugfix, but we've determined that the current way of
      assigning core-ids will cause considerable grief with future plans for
      cpu hotplug.  Therefore it's better to fix this now, late in 2.7,
      before we have a released version with the problematic numbering.
      
      # gpg: Signature made Tue 26 Jul 2016 04:04:57 BST
      # gpg:                using RSA key 0x6C38CACA20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>"
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>"
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>"
      # 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: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/ppc-for-2.7-20160726:
        spapr: disintricate core-id from DT semantics
        target-ppc: add PPC_MFTB flag to e500mc and e5500
        spapr: fix spapr-nvram migration
        hw/ppc/spapr: Make sure to close the htab_fd when migration is canceled
        ppc: Huge page detection mechanism fixes - Episode III
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      f49ee630
    • P
      Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2016-07-25-tag' into staging · a467bb99
      Peter Maydell 提交于
      qemu-ga patch queue for 2.7
      
      * fix w32 build failures due to -Werror when building with VSS/fsfreeze
        enabled
      * fix leaking for qemu-ga config files in `make check`
      
      # gpg: Signature made Mon 25 Jul 2016 20:01:09 BST
      # gpg:                using RSA key 0x3353C9CEF108B584
      # gpg: Good signature from "Michael Roth <flukshun@gmail.com>"
      # gpg:                 aka "Michael Roth <mdroth@utexas.edu>"
      # gpg:                 aka "Michael Roth <mdroth@linux.vnet.ibm.com>"
      # Primary key fingerprint: CEAC C9E1 5534 EBAB B82D  3FA0 3353 C9CE F108 B584
      
      * remotes/mdroth/tags/qga-pull-2016-07-25-tag:
        configure: mark qemu-ga VSS includes as system headers
        tests: use static qga config file
        build-sys: link tests/data
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      a467bb99
    • M
      configure: mark qemu-ga VSS includes as system headers · 690604f6
      Michael Roth 提交于
      As of e4650c81, we do w32 builds with -Werror enabled. Unfortunately
      for cases where we enable VSS support in qemu-ga, we still have
      warnings generated by VSS includes that ship as part of the Microsoft
      VSS SDK.
      
      We can selectively address a number of these warnings using
      
        #pragma GCC diagnostic ignored ...
      
      but at least one of these:
      
        warning: ‘typedef’ was ignored in this declaration
      
      resulting from declarations of the form:
      
        typedef struct Blah { ... };
      
      does not provide a specific command-line/pragma option to disable
      warnings of the sort.
      
      To allow VSS builds to succeed, the next-best option is disabling
      these warnings on a per-file basis. pragmas like #pragma GCC
      system_header can be used to declare subsequent includes/declarations
      as being exempt from normal warnings, but this must be done within
      a header file.
      
      Since we don't control the VSS SDK, we'd need to rely on a
      intermediate header include to accomplish this, and
      since different objects in the VSS link target rely on different
      headers from the VSS SDK, this would become somewhat of a rat's nest
      (though not totally unmanageable).
      
      The next step up in granularity is just marking the entire VSS
      SDK include path as system headers via -isystem. This is a bit more
      heavy-handed, but since this SDK hasn't changed since 2005, there's
      likely little to be gained from selectively disabling warnings
      anyway, so we implement that approach here.
      
      This fixes the -Werror failures in both the configure test and the
      qga build due to shared reliance on $vss_win32_include. For the
      same reason, this also enforces a new dependency on -isystem support
      in the C/C++ compiler when building QGA with VSS enabled.
      
      Cc: Thomas Huth <thuth@redhat.com>
      Cc: Stefan Weil <sw@weilnetz.de>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      690604f6
    • M
      tests: use static qga config file · 1741b945
      Marc-André Lureau 提交于
      Do not create a leaking temporary file, but use a static file instead.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reported-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      1741b945
    • M
      build-sys: link tests/data · fe31017f
      Marc-André Lureau 提交于
      Link a common tests data directory to the build directory.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      fe31017f
  2. 25 7月, 2016 5 次提交
  3. 22 7月, 2016 28 次提交