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:
Tim Wiederhake 2021-04-21 17:51:26 +02:00 committed by Michal Privoznik
parent df91deb7a9
commit 13f617a119

View File

@ -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)) {