mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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
|
static bool
|
||||||
qemuAppendKeyWrapMachineParm(virBuffer *buf, virQEMUCaps *qemuCaps,
|
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 (pstate != VIR_TRISTATE_SWITCH_ABSENT) {
|
||||||
if (!virQEMUCapsGet(qemuCaps, flag)) {
|
if (!virQEMUCapsGet(qemuCaps, flag)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user