qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 20a579: hbitmap: Add hbitmap_is_serializable(


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 20a579: hbitmap: Add hbitmap_is_serializable()
Date: Fri, 27 Jan 2017 04:00:05 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 20a579de8484096d18e65751ebe63fee31551f04
      
https://github.com/qemu/qemu/commit/20a579de8484096d18e65751ebe63fee31551f04
  Author: Max Reitz <address@hidden>
  Date:   2017-01-26 (Thu, 26 Jan 2017)

  Changed paths:
    M include/qemu/hbitmap.h
    M util/hbitmap.c

  Log Message:
  -----------
  hbitmap: Add hbitmap_is_serializable()

Bitmaps with a granularity of 58 or above can be neither serialized nor
deserialized (see the comment in the function added in this series for
an explanation). This patch adds a function so that we can check whether
a bitmap actually can be (de-)serialized at all, thus avoiding failing
the necessary assertion in hbitmap_serialization_granularity().

Signed-off-by: Max Reitz <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>


  Commit: 7cdc49b9a2ee127b2403f6ce98ce3f96afb41733
      
https://github.com/qemu/qemu/commit/7cdc49b9a2ee127b2403f6ce98ce3f96afb41733
  Author: Max Reitz <address@hidden>
  Date:   2017-01-26 (Thu, 26 Jan 2017)

  Changed paths:
    M tests/test-hbitmap.c

  Log Message:
  -----------
  test-hbitmap: Add hbitmap_is_serializable() calls

Add calls to hbitmap_is_serializable() (asserting that it returns true)
where necessary (i.e. before every series of (de-)serialization function
invocations).

Signed-off-by: Max Reitz <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>


  Commit: b944b2ec46702651ac89a166840ddaff2a11fb5a
      
https://github.com/qemu/qemu/commit/b944b2ec46702651ac89a166840ddaff2a11fb5a
  Author: Peter Maydell <address@hidden>
  Date:   2017-01-27 (Fri, 27 Jan 2017)

  Changed paths:
    M include/qemu/hbitmap.h
    M tests/test-hbitmap.c
    M util/hbitmap.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/famz/tags/for-upstream' into staging

# gpg: Signature made Thu 26 Jan 2017 02:44:47 GMT
# gpg:                using RSA key 0xCA35624C6A9171C6
# gpg: Good signature from "Fam Zheng <address@hidden>"
# 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/for-upstream:
  test-hbitmap: Add hbitmap_is_serializable() calls
  hbitmap: Add hbitmap_is_serializable()

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/c7f1cf01b824...b944b2ec4670

reply via email to

[Prev in Thread] Current Thread [Next in Thread]