virtio-serial: save/load: Ensure target has enough ports
The target could be started with max_nr_ports for a virtio-serial devicelesser than what was available on the source machine. Fail the migrationin such a case.
Signed-off-by: Amit Shah <amit.shah@redhat.com>...
virtio-serial: save/load: Ensure nr_ports on src and dest are same.
The number of ports on the source as well as the destination machinesshould match. If they don't, it means some ports that got hotplugged onthe source aren't instantiated on the destination. Or that ports that...
virtio-serial: save/load: Ensure we have hot-plugged ports instantiated
If some ports that were hot-plugged on the source are not available onthe destination, fail migration instead of trying to deref a NULLpointer.
virtio-serial: save/load: Send target host connection status if different
If the host connection to a port is closed on the destination machineafter migration, whereas the connection was open on the source, theguest has to be informed of that.
Similar for a host connection open on the destination....
virtio-serial: Use control messages to notify guest of new ports
Allow the port 'id's to be set by a user on the command line. This isneeded by management apps that will want a stable port numbering schemefor hot-plug/unplug and migration.
Since the port numbers are shared with the guest (to identify ports in...
sh4: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
ppc: add missing 'break', spotted by clang analyzer
ppc: remove dead assignments, spotted by clang analyzer
alpha: remove dead assignments, spotted by clang analyzer
microblaze: remove dead assignments, spotted by clang analyzer
View revisions
Also available in: Atom