qemu: command: Honor const-correctnes in qemuBuildNumaArgStr

@def is modified in the function indirectly although it's marked as
const.
This commit is contained in:
Peter Krempa 2015-01-09 15:47:10 +01:00
parent f18f1183e5
commit 165c34778b

View File

@ -6637,7 +6637,7 @@ qemuBuildSmpArgStr(const virDomainDef *def,
static int static int
qemuBuildNumaArgStr(virQEMUDriverConfigPtr cfg, qemuBuildNumaArgStr(virQEMUDriverConfigPtr cfg,
const virDomainDef *def, virDomainDefPtr def,
virCommandPtr cmd, virCommandPtr cmd,
virQEMUCapsPtr qemuCaps, virQEMUCapsPtr qemuCaps,
virBitmapPtr nodeset) virBitmapPtr nodeset)