qemu-e2k/include
David Hildenbrand c35622387e hw/s390x/s390-skeys: lazy storage key enablement under TCG
Let's enable storage keys lazily under TCG, just as we do under KVM.
Only fairly old Linux versions actually make use of storage keys, so it
can be kind of wasteful to allocate quite some memory and track
changes and references if nobody cares.

We have to make sure to flush the TLB when enabling storage keys after
the VM was already running: otherwise it might happen that we don't
catch references or modifications afterwards.

Add proper documentation to all callbacks.

The kvm-unit-tests skey tests keeps on working with this change.

Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210903155514.44772-14-david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2021-09-06 16:24:05 +02:00
..
authz
block block/block-copy: block_copy_state_new(): drop extra arguments 2021-09-01 14:38:08 +02:00
chardev chardev: mark explicitly first argument as poisoned 2021-08-05 16:15:33 +04:00
crypto crypto: Make QCryptoTLSCreds* structures private 2021-06-29 18:30:24 +01:00
disas
exec accel/tcg: Record singlestep_enabled in tb->cflags 2021-07-21 07:47:05 -10:00
fpu Remove leading underscores from QEMU defines 2021-06-21 05:49:01 +02:00
hw hw/s390x/s390-skeys: lazy storage key enablement under TCG 2021-09-06 16:24:05 +02:00
io
libdecnumber
migration vfio: Support for RamDiscardManager in the vIOMMU case 2021-07-08 15:54:45 -04:00
monitor monitor: allow register hmp commands 2021-07-09 18:21:33 +02:00
net vhost_net: do not assume nvqs is always 2 2021-09-04 17:34:05 -04:00
qapi qapi: introduce forwarding visitor 2021-07-23 18:17:17 +02:00
qemu plugins/api: added a boolean parsing plugin api 2021-09-02 11:29:34 +01:00
qom qom: export more functions for use with non-UserCreatable objects 2021-07-06 08:33:51 +02:00
scsi
semihosting
standard-headers linux-headers: Update 2021-07-09 11:01:06 +10:00
sysemu block: introduce blk_replace_bs 2021-09-01 12:57:31 +02:00
tcg tcg: Rename helper_atomic_*_mmu and provide for user-only 2021-07-21 07:45:38 -10:00
ui vga: misc fixes and cleanups. 2021-09-01 10:57:30 +01:00
user Remove leading underscores from QEMU defines 2021-06-21 05:49:01 +02:00
elf.h linux-user: elf: s390x: Prepare for Vector enhancements facility 2021-06-21 08:48:21 +02:00
glib-compat.h
qemu-common.h
qemu-io.h
trace-tcg.h