]> git.proxmox.com Git - mirror_qemu.git/commit
s390: move css_migration_enabled from machine to css.c
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 May 2024 17:00:34 +0000 (19:00 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 May 2024 13:45:15 +0000 (15:45 +0200)
commita55ae46683f289c46a0c0a807dbb89229a1e00cd
tree72e18acd2a2d6e9c0988dd6a51dbcc3d52fff371
parent9d1b0f5bf515a0dd8e4174d9f3aca2c549727ef6
s390: move css_migration_enabled from machine to css.c

The CSS subsystem uses global variables, just face the truth and use
a variable also for whether the CSS vmstate is in use; remove the
indirection of fetching it from the machine type, which makes the
TCG code depend unnecessarily on the virtio-ccw machine.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20240509170044.190795-4-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/s390x/css.c
hw/s390x/s390-virtio-ccw.c
include/hw/s390x/css.h
include/hw/s390x/s390-virtio-ccw.h