qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] target-ppc: Add @cpu_dt_id into migration strea


From: Alexey Kardashevskiy
Subject: Re: [Qemu-devel] [PATCH] target-ppc: Add @cpu_dt_id into migration stream
Date: Fri, 28 Mar 2014 00:07:55 +1100
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 03/27/2014 11:57 PM, Peter Maydell wrote:
> On 27 March 2014 12:49, Alexey Kardashevskiy <address@hidden> wrote:
>> On 03/27/2014 11:37 PM, Andreas Färber wrote:
>>> Am 27.03.2014 03:41, schrieb Alexey Kardashevskiy:
>>>> This should prevent the destination guest from misbehaving when
>>>> the threads number is different in "-smp" command.
>>>
>>> Sorry, I don't understand. When migrating, surely -smp needs to be the
>>> same on source and destination, so how can they differ?
>>
>>
>> The idea is that "-smp" does not migrate and if we run source and
>> destination guests with different numbers in -smp, we end up with weird
>> machine
> 
> Yes, so don't do that. As I understand it:
>  (1) if you don't run QEMU with the exact same command line
>      and config at both ends then migration won't work
>  (2) we don't guarantee to detect and cleanly fail if you
>      don't do (1)
> 
> It would probably be nice if we did detect config mismatches,

Yep, we do not send the device tree (as libvirt does). Pure command line
matching won't work.

> but that seems to me like a problem we should be addressing
> more globally than just for one particular config item for
> one particular target...

This is lot bigger that the issue I am trying to solve by this patch...
Still nack?


-- 
Alexey



reply via email to

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