diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-11-22 18:00:31 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-12-20 17:44:56 +0100 |
commit | 433442a75d04f446eae229d91d65b0afc9bf92fd (patch) | |
tree | ced7944bed1cb96dea646ca265f2d09bc051d8a0 /include | |
parent | 32cad1ffb81dcecf6f4a8af56d6e5892682839b1 (diff) | |
download | qemu-433442a75d04f446eae229d91d65b0afc9bf92fd.zip qemu-433442a75d04f446eae229d91d65b0afc9bf92fd.tar.gz qemu-433442a75d04f446eae229d91d65b0afc9bf92fd.tar.bz2 |
system: Move 'exec/confidential-guest-support.h' to system/
"exec/confidential-guest-support.h" is specific to system
emulation, so move it under the system/ namespace.
Mechanical change doing:
$ sed -i \
-e 's,exec/confidential-guest-support.h,sysemu/confidential-guest-support.h,' \
$(git grep -l exec/confidential-guest-support.h)
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20241218155913.72288-2-philmd@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/system/confidential-guest-support.h (renamed from include/exec/confidential-guest-support.h) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/exec/confidential-guest-support.h b/include/system/confidential-guest-support.h index 02dc4e5..b68c4be 100644 --- a/include/exec/confidential-guest-support.h +++ b/include/system/confidential-guest-support.h @@ -18,7 +18,9 @@ #ifndef QEMU_CONFIDENTIAL_GUEST_SUPPORT_H #define QEMU_CONFIDENTIAL_GUEST_SUPPORT_H -#ifndef CONFIG_USER_ONLY +#ifdef CONFIG_USER_ONLY +#error Cannot include system/confidential-guest-support.h from user emulation +#endif #include "qom/object.h" @@ -94,6 +96,4 @@ static inline int confidential_guest_kvm_reset(ConfidentialGuestSupport *cgs, return 0; } -#endif /* !CONFIG_USER_ONLY */ - #endif /* QEMU_CONFIDENTIAL_GUEST_SUPPORT_H */ |