[libvirt] [PATCH 6/8] virQEMUCapsSetFromNodes: Skip setting deprecated flags

Erik Skultety eskultet at redhat.com
Thu Mar 7 11:52:46 UTC 2019


> However, looking at the bigger picture is this a safe thing to do? I mean,
> imagine the following scenario:
>
> 1) say there is capability X that affects certain part of cmd line. And
> assume that those two possibilities are incompatible. If cmd line is
> generated one way then migration to a qemu which has cmd line generated the
> other way fails.
>
> 2) in release R we deprecate X and thus do not format it in <capabilities/>
> in status XML.
>
> 3) user starts a domain D.
>
> 4) user saves D into a file
>
> 5) sysadmin downgrades libvirt to R-1

Do we even support downgrade this way? I know we migrate to older version but
isn't that different?

Erik




More information about the libvir-list mailing list