mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The virtio spec says the device must never present a value other than 0 or 1 for bypass. Mask off the upper bits on write so a later read does not return whatever the driver wrote. Signed-off-by: Rob Bradford <rbradford@meta.com> Assisted-by: Claude:claude-opus-4-7