diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index d708ef5f00..4a3036f38b 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -8024,7 +8024,7 @@ qemuDomainAgentAvailable(virDomainObjPtr vm, } -static unsigned long long +unsigned long long qemuDomainGetMemorySizeAlignment(const virDomainDef *def) { /* PPC requires the memory sizes to be rounded to 256MiB increments, so diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h index e6d4acb8d4..4b5b937f41 100644 --- a/src/qemu/qemu_domain.h +++ b/src/qemu/qemu_domain.h @@ -751,6 +751,8 @@ bool qemuDomainDiskBlockJobIsActive(virDomainDiskDefPtr disk); bool qemuDomainHasBlockjob(virDomainObjPtr vm, bool copy_only) ATTRIBUTE_NONNULL(1); +unsigned long long qemuDomainGetMemorySizeAlignment(const virDomainDef *def); + int qemuDomainAlignMemorySizes(virDomainDefPtr def); int qemuDomainMemoryDeviceAlignSize(virDomainDefPtr def, virDomainMemoryDefPtr mem);