qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH 0/4] Machine config files


From: Paul Brook
Subject: Re: [Qemu-devel] Re: [PATCH 0/4] Machine config files
Date: Mon, 6 Jul 2009 17:47:53 +0100
User-agent: KMail/1.11.4 (Linux/2.6.29-2-amd64; KDE/4.2.4; x86_64; ; )

> >>> I suspect it isn't enougth to make it work though, you still need to
> >>> know the position of the device in the device tree. To answer
> >>> questions like "is your pci device behind a bridge and if so which
> >>> one?".
> >>
> >> Isn't that info provided by qdev?
> >
> > Yep, it is.
> >
> > Serialize qdev tree (into fdt or whatever else), send it over wire
> > first, recreate qdev tree on the other side (including save/load
> > callback registration), then parse everything else.  That is how I
> > wanna have it work some day ...
>
> Slight change: instead of serializing into a tree, have a qdev callback
> which generates an add event that can be sent over the wire.  While
> migrating, additional hotplug simply call the same callback and the
> hotplug is migrated in real time.

I think this is just going to cause you problems. Way simpler to just disable 
changing the machine configuration while migration is in progress.

Paul




reply via email to

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