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

Method find_connection

devices/src/pvmemcontrol.rs:409–414  ·  view source on GitHub ↗
(&self, conn: GuestConnection)

Source from the content-addressed store, hash-verified

407 }
408
409 fn find_connection(&self, conn: GuestConnection) -> Option<GuestAddress> {
410 match &self.state {
411 PvmemcontrolState::Ready(map) => map.get(&conn).copied(),
412 _ => None,
413 }
414 }
415}
416
417pub struct PvmemcontrolBusDevice {

Callers 1

handle_guest_writeMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected