* [PATCH v2] docs/about/deprecated: Mark HAXM in QEMU as deprecated
@ 2023-01-26 12:10 Thomas Huth
2023-01-26 12:12 ` Daniel P. Berrangé
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2023-01-26 12:10 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, wenchao.wang, haxm-team
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>
---
v2: Added a message to hax_accel_init(), too
docs/about/deprecated.rst | 6 ++++++
target/i386/hax/hax-all.c | 3 +++
2 files changed, 9 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
------------------------------------
diff --git a/target/i386/hax/hax-all.c b/target/i386/hax/hax-all.c
index b7fb5385b2..3e5992a63b 100644
--- a/target/i386/hax/hax-all.c
+++ b/target/i386/hax/hax-all.c
@@ -357,6 +357,9 @@ static int hax_accel_init(MachineState *ms)
fprintf(stdout, "HAX is %s and emulator runs in %s mode.\n",
!ret ? "working" : "not working",
!ret ? "fast virt" : "emulation");
+ fprintf(stdout,
+ "NOTE: HAX is deprecated and will be removed in a future release.\n"
+ " Use 'whpx' (on Windows) or 'hvf' (on macOS) instead.\n");
}
return ret;
}
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] docs/about/deprecated: Mark HAXM in QEMU as deprecated
2023-01-26 12:10 [PATCH v2] docs/about/deprecated: Mark HAXM in QEMU as deprecated Thomas Huth
@ 2023-01-26 12:12 ` Daniel P. Berrangé
0 siblings, 0 replies; 2+ messages in thread
From: Daniel P. Berrangé @ 2023-01-26 12:12 UTC (permalink / raw)
To: Thomas Huth; +Cc: qemu-devel, qemu-trivial, wenchao.wang, haxm-team
On Thu, Jan 26, 2023 at 01:10:34PM +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>
> ---
> v2: Added a message to hax_accel_init(), too
>
> docs/about/deprecated.rst | 6 ++++++
> target/i386/hax/hax-all.c | 3 +++
> 2 files changed, 9 insertions(+)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
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] 2+ messages in thread
end of thread, other threads:[~2023-01-26 12:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-26 12:10 [PATCH v2] docs/about/deprecated: Mark HAXM in QEMU as deprecated Thomas Huth
2023-01-26 12:12 ` Daniel P. Berrangé
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).