1. 25 2月, 2014 7 次提交
    • D
      Fix two XBZRLE corruption issues · 6d3cb1f9
      Dr. David Alan Gilbert 提交于
      Push zero'd pages into the XBZRLE cache
          A page that was cached by XBZRLE, zero'd and then XBZRLE'd again
          was being compared against a stale cache value
      
      Don't use 'qemu_put_buffer_async' to put pages from the XBZRLE cache
          Since the cache might change before the data hits the wire
      Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      Signed-off-by: NJuan Quintela <quintela@redhat.com>
      6d3cb1f9
    • D
      Fix vmstate_info_int32_le comparison/assign · 24a370ef
      Dr. David Alan Gilbert 提交于
      Fix comparison of vmstate_info_int32_le so that it succeeds if loaded
      value is (l)ess than or (e)qual
      
      When the comparison succeeds, assign the value loaded
        This is a change in behaviour but I think the original intent, since
        the idea is to check if the version/size of the thing you're loading is
        less than some limit, but you might well want to do something based on
        the actual version/size in the file
      
      Fix up comment and name text
      Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      Signed-off-by: NJuan Quintela <quintela@redhat.com>
      24a370ef
    • J
      qemu_file: use fwrite() correctly · aded6539
      Juan Quintela 提交于
      fwrite() returns the number of items written.  But when there is one
      error, it can return a short write.
      
      In the particular bug that I was tracking, I did a migration to a
      read-only filesystem.  And it was able to finish the migration
      correctly.  fwrite() never returned a negative error code, nor zero,
      always 4096. (migration writes chunks of about 14000 bytes).  And it
      was able to "complete" the migration with success (yes, reading the
      file was a bit more difficult).
      
      To add insult to injury, if your amount of memory was big enough (12GB
      on my case), it overwrote some important structure, and from them,
      malloc failed.  This check makes the problem go away.
      Signed-off-by: NJuan Quintela <quintela@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NJuan Quintela <quintela@redhat.com>
      aded6539
    • P
      Merge remote-tracking branch 'remotes/mdroth/qga-pull-2014-02-24' into staging · 0459650d
      Peter Maydell 提交于
      * remotes/mdroth/qga-pull-2014-02-24:
        qemu-ga: isa-serial support on Windows
        qga: Fix memory allocation pasto
        qga: Don't require 'time' argument in guest-set-time command
        qga: vss-win32: Fix interference with snapshot deletion by other VSS request
        qga: vss-win32: Fix interference with snapshot creation by other VSS requesters
        qga: vss-win32: Use NULL as an invalid pointer for OpenEvent and CreateEvent
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      0459650d
    • P
      Merge remote-tracking branch 'remotes/xtensa/tags/20140224-xtensa' into staging · 05fd3bf2
      Peter Maydell 提交于
      Xtensa fixes and improvements queue 2014-02-24:
      - add support for ML605 and KC705 FPGA boards;
      - flush opencores_eth queue when new RX descriptor is available;
      - add basic checks to cache opcodes;
      - make core configuration available to tests;
      - implement HW config ID special registers.
      
      # gpg: Signature made Mon 24 Feb 2014 00:52:42 GMT using RSA key ID F83FA044
      # gpg: Good signature from "Max Filippov <max.filippov@cogentembedded.com>"
      # gpg:                 aka "Max Filippov <jcmvbkbc@gmail.com>"
      
      * remotes/xtensa/tags/20140224-xtensa:
        target-xtensa: provide HW confg ID registers
        target-xtensa: refactor standard core configuration
        target-xtensa: add basic tests for cache opcodes
        target-xtensa: allow using core configuration in tests
        target-xtensa: add overridable test_init macro
        target-xtensa: add basic checks to icache opcodes
        target-xtensa: add basic checks to dcache opcodes
        target-xtensa: add RRRI4 opcode format fields
        opencores_eth: flush queue whenever can_receive can go from false to true
        hw/xtensa: add support for ML605 and KC705 FPGA board
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      05fd3bf2
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · e7a1d6c5
      Peter Maydell 提交于
      Block patches
      
      # gpg: Signature made Fri 21 Feb 2014 21:42:24 GMT using RSA key ID C88F2FD6
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"
      
      * remotes/kevin/tags/for-upstream: (54 commits)
        iotests: Mixed quorum child device specifications
        quorum: Simplify quorum_open()
        quorum: Add unit test.
        quorum: Add quorum_open() and quorum_close().
        quorum: Implement recursive .bdrv_recurse_is_first_non_filter in quorum.
        quorum: Add quorum_co_flush().
        quorum: Add quorum_invalidate_cache().
        quorum: Add quorum_getlength().
        quorum: Add quorum mechanism.
        quorum: Add quorum_aio_readv.
        blkverify: Extract qemu_iovec_clone() and qemu_iovec_compare() from blkverify.
        quorum: Add quorum_aio_writev and its dependencies.
        quorum: Create BDRVQuorumState and BlkDriver and do init.
        quorum: Create quorum.c, add QuorumChildRequest and QuorumAIOCB.
        check-qdict: Test termination of qdict_array_split()
        check-qdict: Adjust test for qdict_array_split()
        qdict: Extract non-QDicts in qdict_array_split()
        qemu-config: Sections must consist of keys
        qemu-iotests: Check qemu-img command line parsing
        qemu-img: Allow -o help with incomplete argument list
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      e7a1d6c5
    • P
      Merge remote-tracking branch 'remotes/sstabellini/xen-140220' into staging · c58e2915
      Peter Maydell 提交于
      * remotes/sstabellini/xen-140220:
        xen_disk: fix io accounting
        Call pci_piix3_xen_ide_unplug from unplug_disks
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c58e2915
  2. 24 2月, 2014 18 次提交
  3. 22 2月, 2014 15 次提交