summaryrefslogtreecommitdiff
path: root/src/qemu/qemu_domain_address.h
diff options
context:
space:
mode:
authorJán Tomko <jtomko@redhat.com>2016-06-16 17:15:53 +0200
committerJán Tomko <jtomko@redhat.com>2016-06-23 07:45:31 +0200
commit8b04ce598dd173aa972ec84fdf419a2dd60988d9 (patch)
tree2f7cf8633db199fa538b8b198a048243feaebfe0 /src/qemu/qemu_domain_address.h
parentb3ee621e945f5ac786dfb169ad0f897c0a0a4962 (diff)
downloadlibvirt-8b04ce598dd173aa972ec84fdf419a2dd60988d9.tar.gz
Add newDomain parameter to qemuDomainAssignAddresses
Pass 'true' if we are not dealing with a migration.
Diffstat (limited to 'src/qemu/qemu_domain_address.h')
-rw-r--r--src/qemu/qemu_domain_address.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qemu/qemu_domain_address.h b/src/qemu/qemu_domain_address.h
index 50019b80db..ee326d756b 100644
--- a/src/qemu/qemu_domain_address.h
+++ b/src/qemu/qemu_domain_address.h
@@ -33,7 +33,8 @@ int qemuDomainSetSCSIControllerModel(const virDomainDef *def,
int qemuDomainAssignAddresses(virDomainDefPtr def,
virQEMUCapsPtr qemuCaps,
- virDomainObjPtr obj)
+ virDomainObjPtr obj,
+ bool newDomain)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
void qemuDomainReleaseDeviceAddress(virDomainObjPtr vm,