summary refs log tree commit diff stats
path: root/rust/qemu-api/src/c_str.rs
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2024-12-19 15:41:04 +0100
committerDavid Hildenbrand <david@redhat.com>2024-12-21 15:59:59 +0100
commit6e9cc2da4e8b997fd6ff3249034f436b84fc7974 (patch)
treee607689a3d8aedeba47a620b8798a8a93c0bf1d5 /rust/qemu-api/src/c_str.rs
parent4be0fce498d0a08f18b3a9accdb9ded79484d30a (diff)
downloadfocaccia-qemu-6e9cc2da4e8b997fd6ff3249034f436b84fc7974.tar.gz
focaccia-qemu-6e9cc2da4e8b997fd6ff3249034f436b84fc7974.zip
s390x/s390-virtio-hcall: prepare for more diag500 hypercalls
Let's generalize, abstracting the virtio bits. diag500 is now a generic
hypercall to handle QEMU/KVM specific things. Explicitly specify all
already defined subcodes, including legacy ones (so we know what we can
use for new hypercalls).

Move the PGM_SPECIFICATION injection into the renamed function
handle_diag_500(), so we can turn it into a void function.

We'll rename the files separately, so git properly detects the rename.

Message-ID: <20241219144115.2820241-4-david@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/c_str.rs')
0 files changed, 0 insertions, 0 deletions