*/
static int
qemuValidateDomainDefVhostUserRequireSharedMemory(const virDomainDef *def,
- const char *name,
- virQEMUCaps *qemuCaps G_GNUC_UNUSED)
+ const char *name)
{
size_t numa_nodes = virDomainNumaGetNodeCount(def->numa);
size_t i;
return -1;
}
- if (qemuValidateDomainDefVhostUserRequireSharedMemory(def, "vhostuser",
- qemuCaps) < 0) {
+ if (qemuValidateDomainDefVhostUserRequireSharedMemory(def, "vhostuser") < 0) {
return -1;
}
}
_("virtiofs does not support fmode and dmode"));
return -1;
}
- if (qemuValidateDomainDefVhostUserRequireSharedMemory(def, "virtiofs",
- qemuCaps) < 0) {
+ if (qemuValidateDomainDefVhostUserRequireSharedMemory(def, "virtiofs") < 0) {
return -1;
}
if (fs->info.bootIndex &&