diff options
| author | Igor Mitsyanko | 2013-04-05 17:17:59 +0200 |
|---|---|---|
| committer | Peter Maydell | 2013-04-05 17:17:59 +0200 |
| commit | 5f00679ee98b1643ff652bbf982dffe1b432596e (patch) | |
| tree | 85b5ff90cfa9e3a75e7264726af0980c8a3fdce8 /fpu/softfloat-specialize.h | |
| parent | vmstate.h: introduce VMSTATE_BUFFER_POINTER_UNSAFE macro (diff) | |
| download | qemu-5f00679ee98b1643ff652bbf982dffe1b432596e.tar.gz qemu-5f00679ee98b1643ff652bbf982dffe1b432596e.tar.xz qemu-5f00679ee98b1643ff652bbf982dffe1b432596e.zip | |
hw/sd.c: fix migration of dynamically allocated buffer "buf"
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>
Tested-by: Michael Walle <michael@walle.cc>
Message-id: 1362923278-4080-3-git-send-email-i.mitsyanko@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'fpu/softfloat-specialize.h')
0 files changed, 0 insertions, 0 deletions
