[libvirt] [PATCH 0/8] logically memory hotplug via guest agent

zhang bo oscar.zhangbo at huawei.com
Wed Jun 10 09:24:50 UTC 2015


On 2015/6/10 16:39, Vasiliy Tolstov wrote:

> 2015-06-10 11:37 GMT+03:00 Daniel P. Berrange <berrange at redhat.com>:
>> The udev rules are really something the OS vendor should setup, so
>> that it "just works"
> 
> 
> I think so, also for vcpu hotplug this also covered by udev. May be we
> need something to hot remove memory and cpu, because in guest we need
> offline firstly.
> 


In fact ,we also have --guest option for 'virsh sevvcpus' command, which also
uses qga commands to do the logical hotplug/unplug jobs, although udev rules seems
to cover the vcpu logical hotplug issue.

virsh # help setvcpus
.........................
    --guest          modify cpu state in the guest


BTW: we didn't see OSes with udev rules for memory-hotplug-event setted by vendors, 
and adding such rules means that we have to *interfere within the guest*, It seems 
not a good option.

-- 
Oscar    
oscar.zhangbo at huawei.com  




More information about the libvir-list mailing list