MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / read_volatile

Method read_volatile

vmm/src/migration_transport.rs:156–164  ·  view source on GitHub ↗
(
        &mut self,
        buf: &mut VolatileSlice<B>,
    )

Source from the content-addressed store, hash-verified

154
155impl ReadVolatile for SocketStream {
156 fn read_volatile<B: BitmapSlice>(
157 &mut self,
158 buf: &mut VolatileSlice<B>,
159 ) -> Result<usize, VolatileMemoryError> {
160 match self {
161 SocketStream::Unix(s) => s.read_volatile(buf),
162 SocketStream::Tcp(s) => s.read_volatile(buf),
163 }
164 }
165
166 fn read_exact_volatile<B: BitmapSlice>(
167 &mut self,

Callers 1

populate_tdx_sectionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected