• M
    qemu: Fix system pages handling in <memoryBacking/> · 732586d9
    Michal Privoznik 提交于
    In one of my previous commits (311b4a67) I've tried to allow to
    pass regular system pages to <hugepages>. However, there was a
    little bug that wasn't caught. If domain has guest NUMA topology
    defined, qemuBuildNumaArgStr() function takes care of generating
    corresponding command line. The hugepages backing for guest NUMA
    nodes is handled there too. And here comes the bug: the hugepages
    setting from XML is stored in KiB internally, however, the system
    pages size was queried and stored in Bytes. So the check whether
    these two are equal was failing even if it shouldn't.
    Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
    732586d9
qemu_command.c 436.4 KB