• M
    qemu: Only use memory-backend-file with NUMA if needed · ff3112f3
    Martin Kletzander 提交于
    If this reminds you of a commit message from around a year ago, it's
    41c2aa72 and yes, we're dealing with
    "the same thing" again.  Or f309db1f and
    it's similar.
    
    There is a logic in place that if there is no real need for
    memory-backend-file, qemuBuildMemoryBackendStr() returns 0.  However
    that wasn't the case with hugepage backing.  The reason for that was
    that we abused the 'pagesize' variable for storing that information, but
    we should rather have a separate one that specifies whether we really
    need the new object for hugepage backing.  And that variable should be
    set only if this particular NUMA cell needs special treatment WRT
    hugepages.
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1372153Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
    ff3112f3
qemu_command.c 334.1 KB