machina_virtio_deviceFunction guest_mem_from_vmo
Source pub fn guest_mem_from_vmo(vmo: &Vmo) -> Result<GuestMem, Status>
Expand description
Construct a new GuestMem
containing the given zx::Vmo
See [GuestMem::give_vmo
] for details on how the zx::Vmo
handle is used.