[PATCH] Remove deprecated -no-kvm option

Paolo Bonzini pbonzini at redhat.com
Tue Oct 20 15:57:16 UTC 2020


On 20/10/20 17:52, Thomas Huth wrote:
> The option has never been mentioned in our documentation, it's been
> deprecated since years, it's marked with QEMU_ARCH_I386 (which does
> not make sense anymore since KVM is available on other architectures,
> too), it does not do anything by default in upstream QEMU (since TCG
> is the default here anyway), and we're spending too much precious time
> each year discussing whether it makes sense to keep this option as a
> nice suger or not... let's finally put an end on this and remove it.
> 
> Signed-off-by: Thomas Huth <thuth at redhat.com>
> ---
>  docs/system/deprecated.rst | 5 -----
>  qemu-options.hx            | 3 ---
>  softmmu/vl.c               | 4 ----
>  3 files changed, 12 deletions(-)
> 
> diff --git a/docs/system/deprecated.rst b/docs/system/deprecated.rst
> index 905628f3a0..66ef89b872 100644
> --- a/docs/system/deprecated.rst
> +++ b/docs/system/deprecated.rst
> @@ -27,11 +27,6 @@ System emulator command line arguments
>  The ``enforce-config-section`` parameter is replaced by the
>  ``-global migration.send-configuration={on|off}`` option.
>  
> -``-no-kvm`` (since 1.3.0)
> -'''''''''''''''''''''''''
> -
> -The ``-no-kvm`` argument is now a synonym for setting ``-accel tcg``.
> -

And of course it's going to need a v2 because it should be added in the
"removed" section.  It's really cursed. :)

Paolo




More information about the libvir-list mailing list