[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/5] vmstate: handle arrays with null ptrs
From: |
Halil Pasic |
Subject: |
[Qemu-devel] [PATCH v2 0/5] vmstate: handle arrays with null ptrs |
Date: |
Wed, 22 Feb 2017 17:01:14 +0100 |
The objective is supporting migration of arrays of pointers
holdig a mix of null and not null pointers.
v1 -> v2:
* do not ignore return value (Dave)
* change some asserts to report_error+rc (Dave)
* factor out and reuse wire_sample in patches 4 and 5 (Dave)
* minor reword of patch 2
* add r-b's
RFC v2 -> v1:
* rebase
* changed marker as suggested by Dave (incl. simplifications)
* fixed issues pointed out by Dave
* reworded some commit messages
* added a test for array of ptr to primitive
Halil Pasic (5):
migration/vmstate: renames in (load|save)_state
migration/vmstate: split up vmstate_base_addr
migration/vmstate: fix array of ptr with nullptrs
tests/test-vmstate.c: test array of ptr with null
tests/test-vmstate.c: test array of ptr to primitive
include/migration/vmstate.h | 4 ++
migration/vmstate.c | 97 +++++++++++++++++++++++------------
tests/test-vmstate.c | 122 ++++++++++++++++++++++++++++++++++++++------
3 files changed, 173 insertions(+), 50 deletions(-)
--
2.8.4