target/i386/sev: Reduce system specific declarations

"system/confidential-guest-support.h" is not needed,
remove it. Reorder #ifdef'ry to reduce declarations
exposed on user emulation.

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-3-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2024-11-22 17:32:16 +00:00
parent 5cfd38a2e7
commit 63cda19446
2 changed files with 17 additions and 14 deletions

View file

@ -36,7 +36,7 @@
#include "hw/qdev-properties.h"
#include "hw/block/flash.h"
#include "sysemu/kvm.h"
#include "sev.h"
#include "target/i386/sev.h"
#define FLASH_SECTOR_SIZE 4096