mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
qemu_domain.c: make qemuDomainGetMemorySizeAlignment() public
Next patch will use it outside of qemu_domain.c. Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
8d8088b8d9
commit
4fa2202d88
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user