We don't really use it besides when starting up the VM so when
reconnecting this step is totally pointless.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_process.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index dab298085f..3334c7d536 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -8730,10 +8730,6 @@ qemuProcessReconnect(void *opaque)
if (qemuDomainPerfRestart(obj) < 0)
goto error;
- /* recreate the pflash storage sources */
- if (qemuDomainInitializePflashStorageSource(obj) < 0)
- goto error;
-
for (i = 0; i < obj->def->ndisks; i++) {
virDomainDiskDef *disk = obj->def->disks[i];
--
2.35.3