]> git.ipfire.org Git - thirdparty/qemu.git/commit
acpi/ghes: Cleanup the code which gets ghes ged state
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 23 Sep 2025 07:03:56 +0000 (09:03 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 4 Oct 2025 14:53:38 +0000 (10:53 -0400)
commit1547c5a5ff894eac9d3666ded3cbf80ce82a28e4
tree67c8182ee59f99656e94bb9e13b664d44242c460
parent6d65290d83919267a7775bd4877d923a505aae9a
acpi/ghes: Cleanup the code which gets ghes ged state

Move the check logic into a common function and simplify the
code which checks if GHES is enabled and was properly setup.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <2bbb1d3eb88b0a668114adef2f1c2a94deebba0e.1758610789.git.mchehab+huawei@kernel.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/ghes-stub.c
hw/acpi/ghes.c
include/hw/acpi/ghes.h
target/arm/kvm.c