On Mon, Jan 17, 2022 at 11:52:42AM +0100, Andrea Bolognani wrote:
> From: Roman Bolshakov <[email protected]>
> 
> virQEMUCapsFormatCache/virQEMUCapsLoadCache adds/reads KVM CPUs to/from
> capabilities cache regardless of QEMU_CAPS_KVM. That can cause undesired
> side-effects when KVM CPUs are present in the cache on a platform that
> doesn't support it, e.g. macOS or Linux without KVM support.
> 
> Signed-off-by: Roman Bolshakov <[email protected]>
> Signed-off-by: Andrea Bolognani <[email protected]>
> Tested-by: Brad Laue <[email protected]>
> ---
>  src/qemu/qemu_capabilities.c | 16 +++++++++++-----
>  1 file changed, 11 insertions(+), 5 deletions(-)

Reviewed-by: Daniel P. Berrangé <[email protected]>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

Reply via email to