aboutsummaryrefslogtreecommitdiff
path: root/accel/hvf
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2024-06-29 15:24:44 +0900
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-02 06:58:48 +0200
commitf64933c8aee2fd0c46049096f2003f3d156a45ba (patch)
tree0e916586d0d66db7ac790eb4256e60ea8627c177 /accel/hvf
parentefb359346c7af62dfa86f7ae7d3717a098b239f5 (diff)
downloadqemu-f64933c8aee2fd0c46049096f2003f3d156a45ba.zip
qemu-f64933c8aee2fd0c46049096f2003f3d156a45ba.tar.gz
qemu-f64933c8aee2fd0c46049096f2003f3d156a45ba.tar.bz2
hvf: Drop ifdef for macOS versions older than 12.0
macOS versions older than 12.0 are no longer supported. docs/about/build-platforms.rst says: > Support for the previous major version will be dropped 2 years after > the new major version is released or when the vendor itself drops > support, whichever comes first. macOS 12.0 was released 2021: https://www.apple.com/newsroom/2021/10/macos-monterey-is-now-available/ Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240629-macos-v1-1-6e70a6b700a0@daynix.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'accel/hvf')
-rw-r--r--accel/hvf/hvf-all.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/accel/hvf/hvf-all.c b/accel/hvf/hvf-all.c
index c008dc2..6ca0850 100644
--- a/accel/hvf/hvf-all.c
+++ b/accel/hvf/hvf-all.c
@@ -23,10 +23,7 @@ const char *hvf_return_string(hv_return_t ret)
case HV_NO_RESOURCES: return "HV_NO_RESOURCES";
case HV_NO_DEVICE: return "HV_NO_DEVICE";
case HV_UNSUPPORTED: return "HV_UNSUPPORTED";
-#if defined(MAC_OS_VERSION_11_0) && \
- MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_VERSION_11_0
case HV_DENIED: return "HV_DENIED";
-#endif
default: return "[unknown hv_return value]";
}
}