[libvirt] [PATCH] qemuDomainUpdateDeviceConfig: Allow startupPolicy update, yet again
Peter Krempa
pkrempa at redhat.com
Mon Sep 14 11:24:07 UTC 2015
On Mon, Sep 14, 2015 at 13:02:49 +0200, Michal Privoznik wrote:
> 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 at redhat.com>
> ---
> src/qemu/qemu_driver.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
> index 91eb661..03ef972 100644
> --- a/src/qemu/qemu_driver.c
> +++ b/src/qemu/qemu_driver.c
> @@ -8353,6 +8353,7 @@ qemuDomainUpdateDeviceConfig(virQEMUCapsPtr qemuCaps,
> * We allow updating src/type//driverType/cachemode/
> */
> orig->cachemode = disk->cachemode;
> + orig->startupPolicy = disk->startupPolicy;
This also might make sense to be updated in the "live" case to
"requisite" setting for migration.
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150914/3fc7ecc6/attachment-0001.sig>
More information about the libvir-list
mailing list