]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf, qemu: move qemuDomainNVDimmAlignSizePseries to domain_conf.c
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Tue, 15 Sep 2020 01:02:47 +0000 (22:02 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 23 Sep 2020 16:19:47 +0000 (13:19 -0300)
commitace5931553c87beebb6b3cd994061742b3f88238
tree839b1c7a17a26186b634cff2a8308466480e5bf6
parentb164bdf29c8aa760c81691587a56fb6094036e92
conf, qemu: move qemuDomainNVDimmAlignSizePseries to domain_conf.c

We'll use the auto-alignment function during parse time, in
domain_conf.c. Let's move the function to that file, renaming
it to virDomainNVDimmAlignSizePseries(). This will also make it
clearer that, although QEMU is the only driver that currently
supports it, pSeries NVDIMM restrictions aren't tied to QEMU.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_domain.c