]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_process: Fix return type of qemuDomainHasHotpluggableStartupVcpus()
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 14 May 2025 13:40:18 +0000 (15:40 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 15 May 2025 08:49:23 +0000 (10:49 +0200)
commit1cf0944cebb8235a1f7163bd5e1756d0f6e096e5
tree2203d093d54d2f553d65bca5017e3af3494ab81f
parent7e763c5275635ffc1849da86934aedbc496c6cd3
qemu_process: Fix return type of qemuDomainHasHotpluggableStartupVcpus()

The qemuDomainHasHotpluggableStartupVcpus() function is declared
to return an int but in fact its return type is a boolean. Even
its only caller (qemuProcessLaunch()) treats its retval as a
boolean. Switch the return type from integer to boolean.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_process.c