mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00:00
qemuProcessReconnect: Don't re-instantiate pflash storage source
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@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Tested-by: Rohit Kumar <rohit.kumar3@nutanix.com>
This commit is contained in:
parent
baf224f1f9
commit
9945c24259
@ -8939,10 +8939,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];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user