mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemuDomainUpdateDeviceConfig: Allow startupPolicy update, yet again
https://bugzilla.redhat.com/show_bug.cgi?id=1159219 So, in11e058ca58
I've tried to make UpdateDevice update startupPolicy too. And it worked well until somebody came around and pushedd0dc6c0369
which accidentally removed my contribution. Redo my commit. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
79ccfec803
commit
9af8447720
@ -8338,6 +8338,7 @@ qemuDomainUpdateDeviceConfig(virQEMUCapsPtr qemuCaps,
|
||||
* We allow updating src/type//driverType/cachemode/
|
||||
*/
|
||||
orig->cachemode = disk->cachemode;
|
||||
orig->startupPolicy = disk->startupPolicy;
|
||||
|
||||
virStorageSourceFree(orig->src);
|
||||
orig->src = disk->src;
|
||||
|
Loading…
Reference in New Issue
Block a user