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: Avi Kivity
Subject: Re: [Qemu-devel] Re: [PATCH 0/4] Machine config files
Date: Tue, 07 Jul 2009 07:47:57 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2

On 07/06/2009 07:44 PM, Michael S. Tsirkin wrote:
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.

IOW, each device just needs to record where it is in the tree.

There is no easy way to do that. Instead, each bus records its component devices.

The tree can be then reconstructed by each driver
finding the parent bus and attaching the device to it.

With a hierarhical save this is much more natural.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.





reply via email to

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