mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemu: correctly pass qemuBuildVHostUserFsDevProps
../../work/libvirt/src/qemu/qemu_hotplug.c: In function ‘qemuDomainAttachFSDevice’:
../../work/libvirt/src/qemu/qemu_hotplug.c:3458:68: error: ordered comparison of pointer with integer zero [-Werror=extra]
3458 | if (qemuBuildVHostUserFsDevProps(fs, vm->def, charAlias, priv) < 0)
| ^
cc1: all warnings being treated as errors
Fixes: b987873034
Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
0d2ea8873b
commit
daa8d3220d
@ -3455,7 +3455,7 @@ qemuDomainAttachFSDevice(virQEMUDriver *driver,
|
||||
|
||||
charAlias = qemuDomainGetVhostUserChrAlias(fs->info.alias);
|
||||
|
||||
if (qemuBuildVHostUserFsDevProps(fs, vm->def, charAlias, priv) < 0)
|
||||
if (!(devprops = qemuBuildVHostUserFsDevProps(fs, vm->def, charAlias, priv)))
|
||||
goto cleanup;
|
||||
|
||||
if (!fs->sock) {
|
||||
|
Loading…
Reference in New Issue
Block a user