mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
qemu: command: Drop qemuBuildAudioCommandLine thin wrapper
Rename qemuBuildAudioCommandLineArgs to qemuBuildAudioCommandLine and fix the arguments. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
fb9eece471
commit
d348a4c8b6
@ -8057,8 +8057,8 @@ qemuBuildAudioCommandLineArg(virCommand *cmd,
|
||||
}
|
||||
|
||||
static int
|
||||
qemuBuildAudioCommandLineArgs(virCommand *cmd,
|
||||
virDomainDef *def)
|
||||
qemuBuildAudioCommandLine(virCommand *cmd,
|
||||
virDomainDef *def)
|
||||
{
|
||||
size_t i;
|
||||
for (i = 0; i < def->naudios; i++) {
|
||||
@ -8069,15 +8069,6 @@ qemuBuildAudioCommandLineArgs(virCommand *cmd,
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
qemuBuildAudioCommandLine(virCommand *cmd,
|
||||
virDomainDef *def,
|
||||
virQEMUCaps *qemuCaps G_GNUC_UNUSED)
|
||||
{
|
||||
return qemuBuildAudioCommandLineArgs(cmd, def);
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
qemuBuildGraphicsSDLCommandLine(virQEMUDriverConfig *cfg G_GNUC_UNUSED,
|
||||
virCommand *cmd,
|
||||
@ -10530,7 +10521,7 @@ qemuBuildCommandLine(virDomainObj *vm,
|
||||
if (qemuBuildInputCommandLine(cmd, def, qemuCaps) < 0)
|
||||
return NULL;
|
||||
|
||||
if (qemuBuildAudioCommandLine(cmd, def, qemuCaps) < 0)
|
||||
if (qemuBuildAudioCommandLine(cmd, def) < 0)
|
||||
return NULL;
|
||||
|
||||
if (qemuBuildGraphicsCommandLine(cfg, cmd, def, qemuCaps) < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user