diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 6c57ed2c6235396b444460ee7b0d7818bdb9a6ad..fd79390a7ae9be34ba52c28b583a25b9b2fe9e56 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -4341,6 +4341,8 @@ qemuDomainCheckRemoveOptionalDisk(virQEMUDriverPtr driver, disk->info.alias, VIR_DOMAIN_EVENT_DISK_CHANGE_MISSING_ON_START); ignore_value(virDomainDiskSetSource(disk, NULL)); + /* keeping the old startup policy would be invalid for new images */ + disk->startupPolicy = VIR_DOMAIN_STARTUP_POLICY_DEFAULT; } else { event = virDomainEventDiskChangeNewFromObj(vm, src, NULL, disk->info.alias,