On 04/11/2014 16:39, Igor Mammedov wrote:
>> > But he cannot even with your patch, if he was off by just a couple
>> > items.  So I don't think the improvement is worth the extra complication
>> > of the code and the small layering violation.
> With this patch user can launch QEMU with exact max amount of possible
> slots with exception that he won't hotplug other than pc-dimm devices
> that consume KVM's memory slots (not sure if such exists (hotpluggable)).
> but, sure we can drop this patch until someone complains.

Note that option ROM BARs (which are usually mapped only by firmware,
but also when accessed via sysfs) and device assignment both consume
memory slots.  Slots occupied by pflash can also come and go, depending
on whether the flash is visible as ROM or in programming mode.

Paolo

Reply via email to