]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
docs/about/deprecated: Mark HAXM in QEMU as deprecated
authorThomas Huth <thuth@redhat.com>
Thu, 26 Jan 2023 12:10:34 +0000 (13:10 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 26 Jan 2023 12:25:07 +0000 (13:25 +0100)
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).

Message-Id: <20230126121034.1035138-1-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
docs/about/deprecated.rst
target/i386/hax/hax-all.c

index 3f4d678eb4c295304668f358fe40c7279cd7f883..da2e6fe63d2e6a44a43d426410f5112416eca9ac 100644 (file)
@@ -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
 ------------------------------------
index b7fb5385b25161e202525bc77e069b04e6c7129c..3e5992a63b63dc392c1718f6d39a77c0a7081733 100644 (file)
@@ -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;
 }