On Wed, 18 Dec 2013 16:59:02 +0100 Paolo Bonzini <pbonz...@redhat.com> wrote:
> Il 18/12/2013 16:48, Igor Mammedov ha scritto: > >> Hotplugging a device is a special case of plugging a device. If a bus > >> or device only supports cold-plug, that can be done using > >> "bc->allow_hotplug = false" or "dc->hotpluggable = false". > > Do we need per instance ability to set "hotpluggable" property? > > For example board might want to mark some CPUs as not hotpluggable. > > I think such fine-grained control could be handled from dc->unplug. > Let's not do anything more than we need, until we need it. I had in mind a lightweight conversion of initial memory to DimmDevices for i386 target and disabling its unplug until initial memory unplug would be properly handled by board and SeaBIOS. > > Paolo