]> git.feebdaed.xyz Git - 0xmirror/qemu.git/commit
vfio-user: refactor out header handling
authorJohn Levon <john.levon@nutanix.com>
Wed, 3 Dec 2025 10:03:13 +0000 (15:33 +0530)
committerCédric Le Goater <clg@redhat.com>
Wed, 3 Dec 2025 14:07:47 +0000 (15:07 +0100)
commit7b884e2a27793e0ff5817ad04ecce85d0a90149d
treead0f03dedce9baf480306d7198a0f08106e61f4e
parent356c7b175258f29429fb91a7641f775080ab6b49
vfio-user: refactor out header handling

Simplify vfio_user_recv_one() by moving the header handling out to a
helper function.

Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20251203100316.3604456-4-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio-user/proxy.c