Browse Source
move kvm files into kvm/ After the reshuffling, update MAINTAINERS accordingly. Make use of the new directory: target/s390x/kvm/ Signed-off-by: Claudio Fontana <cfontana@suse.de> Signed-off-by: Cho, Yu-Chen <acho@suse.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210707105324.23400-14-acho@suse.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>pull/121/head
committed by
Cornelia Huck
20 changed files with 39 additions and 34 deletions
@ -0,0 +1,17 @@ |
|||
|
|||
s390x_ss.add(when: 'CONFIG_KVM', if_true: files( |
|||
'kvm.c' |
|||
)) |
|||
|
|||
# Newer kernels on s390 check for an S390_PGSTE program header and |
|||
# enable the pgste page table extensions in that case. This makes |
|||
# the vm.allocate_pgste sysctl unnecessary. We enable this program |
|||
# header if |
|||
# - we build on s390x |
|||
# - we build the system emulation for s390x (qemu-system-s390x) |
|||
# - KVM is enabled |
|||
# - the linker supports --s390-pgste |
|||
if host_machine.cpu_family() == 's390x' and cc.has_link_argument('-Wl,--s390-pgste') |
|||
s390x_softmmu_ss.add(when: 'CONFIG_KVM', |
|||
if_true: declare_dependency(link_args: ['-Wl,--s390-pgste'])) |
|||
endif |
|||
@ -0,0 +1,7 @@ |
|||
# See docs/devel/tracing.txt for syntax documentation. |
|||
|
|||
# kvm.c |
|||
kvm_enable_cmma(int rc) "CMMA: enabling with result code %d" |
|||
kvm_clear_cmma(int rc) "CMMA: clearing with result code %d" |
|||
kvm_failed_cpu_state_set(int cpu_index, uint8_t state, const char *msg) "Warning: Unable to set cpu %d state %" PRIu8 " to KVM: %s" |
|||
kvm_assign_subch_ioeventfd(int fd, uint32_t addr, bool assign, int datamatch) "fd: %d sch: @0x%x assign: %d vq: %d" |
|||
@ -0,0 +1 @@ |
|||
#include "trace/trace-target_s390x_kvm.h" |
|||
Loading…
Reference in new issue