mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
qemuAppendKeyWrapMachineParm: Stricten parameter types
Follow up to the last patch. Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
df91deb7a9
commit
13f617a119
@ -6804,7 +6804,8 @@ qemuBuildCpuCommandLine(virCommand *cmd,
|
||||
|
||||
static bool
|
||||
qemuAppendKeyWrapMachineParm(virBuffer *buf, virQEMUCaps *qemuCaps,
|
||||
int flag, const char *pname, int pstate)
|
||||
virQEMUCapsFlags flag, const char *pname,
|
||||
virTristateSwitch pstate)
|
||||
{
|
||||
if (pstate != VIR_TRISTATE_SWITCH_ABSENT) {
|
||||
if (!virQEMUCapsGet(qemuCaps, flag)) {
|
||||
|
Loading…
Reference in New Issue
Block a user