On 07/01/2026 14.08, Philippe Mathieu-Daudé wrote:
Commit 1497c160661 ("s390x: add flags field for registering I/O
adapter") defined S390_ADAPTER_SUPPRESSIBLE twice, one when
KVM is available and another when it isn't. However both
definitions expand to the same value. Unify them, adding an
extra safety check in KVM-specific file.

This allows removing the target-specific 'CONFIG_KVM'
definition in "cpu.h".

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
  include/hw/s390x/css.h | 2 ++
  target/s390x/cpu.h     | 6 ------
  target/s390x/kvm/kvm.c | 2 ++
  3 files changed, 4 insertions(+), 6 deletions(-)

Reviewed-by: Thomas Huth <[email protected]>


Reply via email to