qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 02/15] virtio-serial: save/load: Ensure nr_ports


From: Amit Shah
Subject: Re: [Qemu-devel] [PATCH 02/15] virtio-serial: save/load: Ensure nr_ports on src and dest are same.
Date: Fri, 26 Mar 2010 07:33:01 +0530
User-agent: Mutt/1.5.19 (2009-01-05)

On (Fri) Mar 26 2010 [01:09:23], Jamie Lokier wrote:
> Amit Shah wrote:
> > The number of ports on the source as well as the destination machines
> > should match. If they don't, it means some ports that got hotplugged on
> > the source aren't instantiated on the destination. Or that ports that
> > were hot-unplugged on the source are created on the destination.
> 
> Surely the set of guest-visible ids must match exactly and be checked
> (maybe mapped, if they were given in a different order), in which case
> counting the number of ports looks redundant.
> 
> I.e. is this check hiding the omission of the proper one?

Yes, That's added in a later patch (5). That patch changes the guest
abi, so it's separate.

Also, patch 3 checks if all the ports on the src are present on the
dest.

                Amit




reply via email to

[Prev in Thread] Current Thread [Next in Thread]