qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs/about/deprecated: Mark HAXM as deprecated
@ 2023-01-25 10:20 Thomas Huth
  2023-01-25 11:31 ` Philippe Mathieu-Daudé
  2023-01-25 12:09 ` Daniel P. Berrangé
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Huth @ 2023-01-25 10:20 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, wenchao.wang

The HAXM project has been retired (see https://github.com/intel/haxm#status),
so we should mark the code in QEMU as deprecated (and finally remove it
unless somebody else picks the project up again - which is quite unlikely
since there are now whpx and hvf on these operating systems, too).

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 docs/about/deprecated.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
index 3f4d678eb4..da2e6fe63d 100644
--- a/docs/about/deprecated.rst
+++ b/docs/about/deprecated.rst
@@ -93,6 +93,12 @@ form is preferred.
 The HPET setting has been turned into a machine property.
 Use ``-machine hpet=off`` instead.
 
+``-accel hax`` (since 8.0)
+''''''''''''''''''''''''''
+
+The HAXM project has been retired (see https://github.com/intel/haxm#status).
+Use "whpx" (on Windows) or "hvf" (on macOS) instead.
+
 
 QEMU Machine Protocol (QMP) commands
 ------------------------------------
-- 
2.31.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] docs/about/deprecated: Mark HAXM as deprecated
  2023-01-25 10:20 [PATCH] docs/about/deprecated: Mark HAXM as deprecated Thomas Huth
@ 2023-01-25 11:31 ` Philippe Mathieu-Daudé
  2023-01-25 12:09 ` Daniel P. Berrangé
  1 sibling, 0 replies; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-01-25 11:31 UTC (permalink / raw)
  To: Thomas Huth, qemu-devel; +Cc: qemu-trivial, wenchao.wang

On 25/1/23 11:20, Thomas Huth wrote:
> The HAXM project has been retired (see https://github.com/intel/haxm#status),
> so we should mark the code in QEMU as deprecated (and finally remove it
> unless somebody else picks the project up again - which is quite unlikely
> since there are now whpx and hvf on these operating systems, too).
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>   docs/about/deprecated.rst | 6 ++++++
>   1 file changed, 6 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] docs/about/deprecated: Mark HAXM as deprecated
  2023-01-25 10:20 [PATCH] docs/about/deprecated: Mark HAXM as deprecated Thomas Huth
  2023-01-25 11:31 ` Philippe Mathieu-Daudé
@ 2023-01-25 12:09 ` Daniel P. Berrangé
  2023-01-25 12:31   ` Thomas Huth
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel P. Berrangé @ 2023-01-25 12:09 UTC (permalink / raw)
  To: Thomas Huth; +Cc: qemu-devel, qemu-trivial, wenchao.wang

On Wed, Jan 25, 2023 at 11:20:53AM +0100, Thomas Huth wrote:
> The HAXM project has been retired (see https://github.com/intel/haxm#status),
> so we should mark the code in QEMU as deprecated (and finally remove it
> unless somebody else picks the project up again - which is quite unlikely
> since there are now whpx and hvf on these operating systems, too).
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>  docs/about/deprecated.rst | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
> index 3f4d678eb4..da2e6fe63d 100644
> --- a/docs/about/deprecated.rst
> +++ b/docs/about/deprecated.rst
> @@ -93,6 +93,12 @@ form is preferred.
>  The HPET setting has been turned into a machine property.
>  Use ``-machine hpet=off`` instead.
>  
> +``-accel hax`` (since 8.0)
> +''''''''''''''''''''''''''
> +
> +The HAXM project has been retired (see https://github.com/intel/haxm#status).
> +Use "whpx" (on Windows) or "hvf" (on macOS) instead.
> +

Should we print a warning message from meson when someone enables this ?

We've tended to do that when we've deprecated other platforms in the
past, though not consistently

>  QEMU Machine Protocol (QMP) commands
>  ------------------------------------
> -- 
> 2.31.1
> 
> 

With 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 :|



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] docs/about/deprecated: Mark HAXM as deprecated
  2023-01-25 12:09 ` Daniel P. Berrangé
@ 2023-01-25 12:31   ` Thomas Huth
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2023-01-25 12:31 UTC (permalink / raw)
  To: Daniel P. Berrangé; +Cc: qemu-devel, qemu-trivial, wenchao.wang

On 25/01/2023 13.09, Daniel P. Berrangé wrote:
> On Wed, Jan 25, 2023 at 11:20:53AM +0100, Thomas Huth wrote:
>> The HAXM project has been retired (see https://github.com/intel/haxm#status),
>> so we should mark the code in QEMU as deprecated (and finally remove it
>> unless somebody else picks the project up again - which is quite unlikely
>> since there are now whpx and hvf on these operating systems, too).
>>
>> Signed-off-by: Thomas Huth <thuth@redhat.com>
>> ---
>>   docs/about/deprecated.rst | 6 ++++++
>>   1 file changed, 6 insertions(+)
>>
>> diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
>> index 3f4d678eb4..da2e6fe63d 100644
>> --- a/docs/about/deprecated.rst
>> +++ b/docs/about/deprecated.rst
>> @@ -93,6 +93,12 @@ form is preferred.
>>   The HPET setting has been turned into a machine property.
>>   Use ``-machine hpet=off`` instead.
>>   
>> +``-accel hax`` (since 8.0)
>> +''''''''''''''''''''''''''
>> +
>> +The HAXM project has been retired (see https://github.com/intel/haxm#status).
>> +Use "whpx" (on Windows) or "hvf" (on macOS) instead.
>> +
> 
> Should we print a warning message from meson when someone enables this ?

Or maybe rather to hax_accel_init() , so that people who run the binary see 
the message?

... I can add it there (though I have no means of testing it).

  Thomas



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-25 12:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-25 10:20 [PATCH] docs/about/deprecated: Mark HAXM as deprecated Thomas Huth
2023-01-25 11:31 ` Philippe Mathieu-Daudé
2023-01-25 12:09 ` Daniel P. Berrangé
2023-01-25 12:31   ` Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).