[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH] NUMA: Enable adding NUMA node implicitly
From: |
Dou Liyang |
Subject: |
Re: [Qemu-devel] [RFC PATCH] NUMA: Enable adding NUMA node implicitly |
Date: |
Thu, 21 Sep 2017 16:19:13 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
Hi Igor,
At 09/21/2017 03:54 PM, Igor Mammedov wrote:
On Thu, 21 Sep 2017 12:19:17 +0800
[...]
I've meant something like that:
parse_numa_opts() {
if (mc->auto_enable_numa_with_memhp == true) {
qemu_opts_parse_noisily(qemu_find_opts("numa"), "node", true);
}
}
Oops, Understood! ;-) .
where x86 sets mc->auto_enable_numa_with_memhp to true by default
and sets it to false for 2.10 and older machine types.
It will allow individual machines to enable feature if they need it
but prevent guest ABI breakage for old machine types
(i.e. won't break migration)
Got it.
grep source for 'pcmc->legacy_cpu_hotplug = true' to see how
this compact stuff works.
OK. Thank you very much.
Thanks,
dou
Re: [Qemu-devel] [RFC PATCH] NUMA: Enable adding NUMA node implicitly, Igor Mammedov, 2017/09/18