On 5/27/26 09:16, Vladimir Sementsov-Ogievskiy wrote:
Hi all. That's a preparation for vhost-user-blk backend-transfer feature.07: rebase on master, 04: drop extra occurence of system_virtio_ss.add(files('vhost-user-stub.c')) Vladimir Sementsov-Ogievskiy (22): vhost-user: rework enabling vrings vhost: drop backend_features field vhost-user: introduce vhost_user_has_protocol_feature() helper vhost: move protocol_features to vhost_user vhost-user-gpu: drop code duplication vhost: make vhost_dev.features private virtio: move common part of _set_guest_notifier to generic code virtio: drop *_set_guest_notifier_fd_handler() helpers vhost-user: keep QIOChannelSocket for backend channel vhost: vhost_virtqueue_start(): fix failure path vhost: make vhost_memory_unmap() null-safe vhost: simplify calls to vhost_memory_unmap() vhost: move vrings mapping to the top of vhost_virtqueue_start() vhost: vhost_virtqueue_start(): drop extra local variables vhost: final refactoring of vhost vrings map/unmap vhost: simplify vhost_dev_init() error-path vhost: move busyloop timeout initialization to vhost_virtqueue_init() vhost: vhost_dev_init(): simplify features initialization hw/virtio/virtio-bus: refactor virtio_bus_set_host_notifier() vhost-user: make trace events more readable vhost-user-blk: add some useful trace-points vhost: add some useful trace-points
From this pullreq, I'm picking the following changes for 10.0.x stable series (with small adjustments to apply to 10.0.x): 4e61c89262a vhost: final refactoring of vhost vrings map/unmap 4801e50cf1a vhost: vhost_virtqueue_start(): drop extra local variables 60abdf60d50 vhost: move vrings mapping to the top of vhost_virtqueue_start() 060ef8cac11 vhost: simplify calls to vhost_memory_unmap() 558084367e9 vhost: make vhost_memory_unmap() null-safe c85f42703df vhost: vhost_virtqueue_start(): fix failure path Additionally, I'm picking 41d5e37e0e2 hw/virtio/vhost: Replace legacy cpu_physical_memory_*map() calls to 10.0.x too - this is basically a no-op change, but it makes subsequent changes to apply cleanly and makes older code closer to current, simplifying back-porting and making this back- porting easily verifiable. Please take a look at the 6 top commits starting https://gitlab.com/mjt0k/qemu/-/commits/16071441316f92915dccf08dabdddc722674e38c -- it should be very similar to the changes in this pull request, but a quick look is appreciated anyway. Is there anything else in this area which should be picked up too? Maybe some subsequent fixes? Thanks, /mjt
