mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
451d3fb2f0
The VIRTIO specification[1] says: > The upper 32 bits of the CID are reserved and zeroed. We should therefore not allow the user to supply a VSOCK CID with those bits set. To accomplish this, limit the public API of the virtio-vsock device to only accept 32-bit CIDs, while still using 64-bit CIDs internally since that's how virtio-vsock works. [1]: https://docs.oasis-open.org/virtio/virtio/v1.2/csd01/virtio-v1.2-csd01.html#x1-4400004 Signed-off-by: Alyssa Ross <hi@alyssa.is> |
||
---|---|---|
.. | ||
transport | ||
vhost_user | ||
vsock | ||
balloon.rs | ||
block.rs | ||
console.rs | ||
device.rs | ||
epoll_helper.rs | ||
iommu.rs | ||
lib.rs | ||
mem.rs | ||
net.rs | ||
pmem.rs | ||
rng.rs | ||
seccomp_filters.rs | ||
thread_helper.rs | ||
vdpa.rs | ||
watchdog.rs |