mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
qemuDomainUpdateDeviceConfig: Allow startupPolicy update, yet again
https://bugzilla.redhat.com/show_bug.cgi?id=1159219 So, in 11e058ca589808bd I've tried to make UpdateDevice update startupPolicy too. And it worked well until somebody came around and pushed d0dc6c036914da 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…
x
Reference in New Issue
Block a user