aboutsummaryrefslogtreecommitdiff
path: root/dtc
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2021-09-03 17:55:12 +0200
committerThomas Huth <thuth@redhat.com>2021-09-06 16:24:05 +0200
commit2162faf77ef3b2e17eb209756f3886adfcc8d9b1 (patch)
treebb77107070f13a02a522dca9950008700d21211f /dtc
parent78eedc60aa01df7fa302b882f8f7e06901d24123 (diff)
hw/s390x/s390-skeys: check if an address is valid before dumping the key
Let's validate the given address and report a proper error in case it's not. All call paths now properly check the validity of the given GFN. Remove the TODO. The errors inside the getter and setter should only trigger if something really goes wrong now, for example, with a broken migration stream. Or when we forget to update the storage key allocation with memory hotplug. Signed-off-by: David Hildenbrand <david@redhat.com> Acked-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210903155514.44772-12-david@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'dtc')
0 files changed, 0 insertions, 0 deletions