With current code, we pass true iff domain is cold booting. However,
if disk is inaccessible and startupPolicy for that disk is set to
'requisite' we have to fail iff cold booting.
int
qemuDomainCheckDiskPresence(struct qemud_driver *driver,
virDomainObjPtr vm,
- bool start_with_state)
+ bool cold_boot)
{
int ret = -1;
int i;
break;
case VIR_DOMAIN_STARTUP_POLICY_REQUISITE:
- if (!start_with_state) {
+ if (cold_boot) {
virReportSystemError(errno,
_("cannot access file '%s'"),
disk->src);