[libvirt] [PATCH v2 2/2] qemuDomainAttachMemory: Crate hugepage dir if needed
John Ferlan
jferlan at redhat.com
Tue Jun 13 14:16:02 UTC 2017
On 06/13/2017 09:05 AM, Michal Privoznik wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1455819
>
> It may happen that a domain is started without any huge pages.
> However, user might try to attach a DIMM module later. DIMM
> backed by huge pages (why would somebody want to mix regular and
> huge pages is beyond me). Therefore we have to create the dir if
> we haven't done so far.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/qemu/qemu_hotplug.c | 3 +++
> src/qemu/qemu_process.c | 25 +++++++++++++++++++------
> src/qemu/qemu_process.h | 5 +++++
> 3 files changed, 27 insertions(+), 6 deletions(-)
>
Reviewed-by: John Ferlan <jferlan at redhat.com>
John
More information about the libvir-list
mailing list