diff options
| author | Igor Mitsyanko | 2013-04-05 17:17:59 +0200 |
|---|---|---|
| committer | Peter Maydell | 2013-04-05 17:17:59 +0200 |
| commit | b79269b78d0182fa7f4e23b779010145d0b4eaea (patch) | |
| tree | 520052ed05f2e503cfe5cf3ce5aa5596a4d72d2a /include | |
| parent | hw/sd.c: fix migration of dynamically allocated buffer "buf" (diff) | |
| download | qemu-b79269b78d0182fa7f4e23b779010145d0b4eaea.tar.gz qemu-b79269b78d0182fa7f4e23b779010145d0b4eaea.tar.xz qemu-b79269b78d0182fa7f4e23b779010145d0b4eaea.zip | |
hw/onenand.c: fix migration of dynamically allocated buffer "otp"
VMSTATE_BUFFER_UNSAFE should be used for buffers inlined in device state, not
for buffers allocated dynamically. Change to VMSTATE_BUFFER_POINTER_UNSAFE macro,
which will do migration right.
Signed-off-by: Igor Mitsyanko <i.mitsyanko@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1362923278-4080-4-git-send-email-i.mitsyanko@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
