virtio-serial: save/load: Send target host connection status if different
authorAmit Shah <amit.shah@redhat.com>
Tue, 27 Apr 2010 12:33:58 +0000 (18:03 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 28 Apr 2010 13:58:21 +0000 (08:58 -0500)
commit1b4b35bc1df1cb909d929ae3565e1fe887493e1e
treead9810ce4bfc1e48373ea4d44dab02d1dbeaa981
parenta0bef1c55afce8e7ce0234068af50af3d8cf3d9a
virtio-serial: save/load: Send target host connection status if different

If the host connection to a port is closed on the destination machine
after migration, whereas the connection was open on the source, the
guest has to be informed of that.

Similar for a host connection open on the destination.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-serial-bus.c