提交 9af84477 编写于 作者: M Michal Privoznik

qemuDomainUpdateDeviceConfig: Allow startupPolicy update, yet again

https://bugzilla.redhat.com/show_bug.cgi?id=1159219

So, in 11e058ca I've tried to make UpdateDevice update
startupPolicy too. And it worked well until somebody came around
and pushed d0dc6c03 which accidentally removed my
contribution. Redo my commit.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 79ccfec8
...@@ -8338,6 +8338,7 @@ qemuDomainUpdateDeviceConfig(virQEMUCapsPtr qemuCaps, ...@@ -8338,6 +8338,7 @@ qemuDomainUpdateDeviceConfig(virQEMUCapsPtr qemuCaps,
* We allow updating src/type//driverType/cachemode/ * We allow updating src/type//driverType/cachemode/
*/ */
orig->cachemode = disk->cachemode; orig->cachemode = disk->cachemode;
orig->startupPolicy = disk->startupPolicy;
virStorageSourceFree(orig->src); virStorageSourceFree(orig->src);
orig->src = disk->src; orig->src = disk->src;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册