On 2015/6/10 13:40, Vasiliy Tolstov wrote:
2015-06-10 5:28 GMT+03:00 zhang bo <oscar.zhangbo(a)huawei.com>:
> Thank you for your reply.
> Before this patch, we needed to manually online memory blocks inside the guest, after
dimm memory hotplug
> for most *nix OSes. (Windows guests automatically get their memory blocks online
after hotplugging)
> That is to say, we need to LOGICALLY hotplug memory after PHYSICAL hotplug.
> This patch did the LOGICAL part.
> With this patch, we don't need to get into the guest to manually online them
anymore, which is even
> impossible for most host administrators.
As i remember this online step easy can be automate via udev rules.
Logically that's true, but adding udev rules means:
1 you have to get into the guest
2 you have to be familar with udev rules.
Not convenient enough compared to just calling libvirt API to do so.
--
Oscar
oscar.zhangbo(a)huawei.com