diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-04-27 18:03:57 +0530 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-04-28 08:58:21 -0500 |
commit | 16af2e3c35990cb7aceb37ffe5827a28fd4614d0 (patch) | |
tree | 82a894e53f61370efd25f4356160c95ff5217ee4 /hw/virtio-console.c | |
parent | 295587f747c7747e37208540a7a7f4d13a6ba4de (diff) | |
download | qemu-16af2e3c35990cb7aceb37ffe5827a28fd4614d0.zip qemu-16af2e3c35990cb7aceb37ffe5827a28fd4614d0.tar.gz qemu-16af2e3c35990cb7aceb37ffe5827a28fd4614d0.tar.bz2 |
virtio-serial: save/load: Ensure we have hot-plugged ports instantiated
If some ports that were hot-plugged on the source are not available on
the destination, fail migration instead of trying to deref a NULL
pointer.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reported-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio-console.c')
0 files changed, 0 insertions, 0 deletions