bool incomingMigration)
{
g_autoptr(virCommand) cmd = NULL;
- int exitstatus;
+ int exitstatus = -1;
char uuid[VIR_UUID_STRING_BUFLEN];
g_autofree char *vmid = NULL;
g_autofree char *swtpm_setup = virTPMGetSwtpmSetup();
const unsigned char *secretuuid)
{
g_autoptr(virCommand) cmd = NULL;
- int exitstatus;
+ int exitstatus = -1;
g_autofree char *activePcrBanksStr = NULL;
g_autofree char *swtpm_setup = virTPMGetSwtpmSetup();
g_autofree char *tpm_state = qemuTPMGetSwtpmSetupStateArg(emulator->source_type,
g_autofree char *swtpm = NULL;
virJSONValue *active_profile;
const char *profile_name;
- int exitstatus;
+ int exitstatus = -1;
if (emulator->version != VIR_DOMAIN_TPM_VERSION_2_0 ||
!virTPMSwtpmCapsGet(VIR_TPM_SWTPM_FEATURE_CMDARG_PRINT_INFO))