openanolis / dragonball-sandbox

Dragonball-sandbox is a collection of Rust crates to help build custom Virtual Machine Monitors and hypervisors.
Apache License 2.0
88 stars 41 forks source link

dbs-virtio-devices: correct evset in vsock muxer #292

Closed lisongqian closed 1 year ago

lisongqian commented 1 year ago

When forwarding an epoll event from the unix muxer to the targeted connection event handler, the eventset the connection registered is forwarded instead of the actual epoll operation (IN/OUT).

Fixes: https://github.com/openanolis/dragonball-sandbox/issues/291

Cherry-picked from https://github.com/firecracker-microvm/firecracker/commit/38bc78bd66d0bf410f26026426505e3e748d6634

studychao commented 1 year ago

Please help rebase this PR.