MCPcopy Create free account

hub / github.com/Mic92/vmsh / functions

Functions725 in github.com/Mic92/vmsh

↓ 61 callersMethodjoin
Join the underlying thread
src/interrutable_thread.rs:77
↓ 41 callersMethoditer
( self, hv: &Hypervisor, phys_host_map: Arc<PhysHostMap>, range: Range<usize>,
src/page_table.rs:180
↓ 41 callersMethodmap
(&self)
src/kvm/hypervisor/hypervisor.rs:51
↓ 38 callersMethodssh_cmd
@return: CompletedProcess.stderr/stdout contains output of `cmd` which is run in the vm via ssh.
tests/qemu.py:185
↓ 29 callersFunctionrun
( cmd: List[str], extra_env: Dict[str, str] = {}, stdout: ChildFd = subprocess.PIPE, stderr: C
tests/procs.py:17
↓ 27 callersMethodcontains
(&self, addr: usize)
src/guest_mem.rs:48
↓ 25 callersMethodget
(&self, phys_addr: usize)
src/guest_mem.rs:124
↓ 22 callersMethodwrite
# Safety The `data` argument is passed directly to `ptrace(2)`. Read that man page for guidance.
src/tracer/ptrace.rs:133
↓ 20 callersFunctionprintln
(s: str)
tests/xfstests.py:26
↓ 16 callersMethodstop
(&self)
src/kvm/hypervisor/hypervisor.rs:152
↓ 15 callersMethodalloc_mem
(&self)
src/kvm/hypervisor/hypervisor.rs:291
↓ 15 callersMethodspawn_qemu
( image: VmImage, extra_args: List[str] = [] )
tests/conftest.py:44
↓ 14 callersFunctioncolumn_alias
(name: str)
tests/plot.py:102
↓ 14 callersMethodwrite
(&self, val: &T)
src/kvm/hypervisor/memory.rs:72
↓ 13 callersMethodnotos_image
()
tests/conftest.py:24
↓ 13 callersFunctionpage_size
()
src/page_math.rs:3
↓ 12 callersMethodadd
(&self, offset: usize)
src/page_table.rs:264
↓ 12 callersMethodclose
(&self, fd: RawFd)
src/kvm/tracee.rs:369
↓ 11 callersFunctionfio_suite
( vm: Optional[QemuVm], stats: DefaultDict[str, List[Any]], device: str, name: str, file:
tests/measure_block.py:251
↓ 11 callersFunctionsubtest
(name: &'static str)
examples/test_ioctls.rs:316
↓ 11 callersMethodtry_get_proc
(&self)
src/kvm/tracee.rs:103
↓ 10 callersMethodsyscall
(&self, regs: &Regs)
src/tracer/inject_syscall.rs:348
↓ 9 callersFunctionexcludes_str
()
tests/xfstests.py:59
↓ 9 callersMethodflags
(&self)
src/page_table.rs:116
↓ 9 callersFunctionget_path
TODO: This came for cntr we might even want to mount our own procfs
src/stage2/src/procfs/mod.rs:16
↓ 9 callersMethodload
(&mut self, flags: Flags, base: VAddr, region: &[u8])
src/loader.rs:400
↓ 9 callersMethodnext
(&mut self)
src/page_table.rs:554
↓ 9 callersFunctionnix_develop
( command: List[str], extra_env: Dict[str, str], cwd: str = str(ROOT) )
tests/reproduce.py:60
↓ 8 callersFunctiontest_attach
( helpers: conftest.Helpers, attach_repetitions: int = 1, vcpus: int = 1, mmio: str = "wrap_sy
tests/test_attach.py:8
↓ 8 callersMethodwait_for_ssh
Block until ssh port is accessible
tests/qemu.py:154
↓ 7 callersMethodaddr
(&self)
src/page_table.rs:122
↓ 7 callersMethodas_raw_fd
(&self)
src/kvm/hypervisor/ioevent.rs:47
↓ 7 callersFunctionpage_align
(v: usize)
src/page_math.rs:17
↓ 7 callersFunctionrun
( cmd: List[str], extra_env: Dict[str, str] = {}, input: Optional[str] = None, check: bool = T
tests/reproduce.py:39
↓ 7 callersFunctionrun_ioctl_test
(command: str, vm: QemuVm)
tests/test_ioctl.py:5
↓ 7 callersMethodspawn_vmsh_command
( args: List[str], cargo_executable: str = "vmsh" )
tests/conftest.py:32
↓ 7 callersMethodupdate
(&self, hv: &Hypervisor, state: DeviceState)
src/stage1.rs:36
↓ 7 callersFunctionuse_ioregionfd
()
src/devices/mod.rs:32
↓ 7 callersMethodwait_until_line
blocks until a line matching the given condition is printed Example: `vm.wait_until_line(lambda line: line == "foobar")` @par
tests/vmsh.py:88
↓ 6 callersMethoddata
(&self)
src/kvm/kvm_ioregionfd.rs:64
↓ 6 callersFunctiondrop
(inheritable_capabilities: u64)
src/stage2/src/capabilities.rs:35
↓ 6 callersMethodget_maps
(&self)
src/kvm/tracee.rs:382
↓ 6 callersMethodindex
Search bytes in memory. Returns address if found, otherwise raises IndexError
tests/coredump.py:57
↓ 6 callersFunctionnotos_image
(nix: str = NOTOS_IMAGE)
tests/nix.py:60
↓ 6 callersFunctionprocess_read
(pid: Pid, addr: *const c_void)
src/kvm/hypervisor/memory.rs:16
↓ 6 callersMethodread
(&self, addr: AddressType)
src/tracer/ptrace.rs:123
↓ 6 callersMethodresume
(&self)
src/kvm/hypervisor/hypervisor.rs:143
↓ 6 callersMethodvbase
(&self)
src/loader.rs:158
↓ 6 callersMethodwrite_all
(&mut self, data: &[u8], pos: loff_t)
src/stage1/src/lib.rs:237
↓ 5 callersMethodapply
(&self)
src/stage2/src/namespace.rs:73
↓ 5 callersFunctionapply_aliases
(df: pd.DataFrame)
tests/plot.py:106
↓ 5 callersFunctionexpect
@return true if terminated because of until
tests/measure_console.py:42
↓ 5 callersFunctionf
(row: Any)
tests/graphs.py:163
↓ 5 callersMethodhandle_error
(&self, s: Msg, ops: &mut EventOps)
src/devices/virtio/console/log_handler.rs:56
↓ 5 callersMethodhost_addr
(&self)
src/page_table.rs:254
↓ 5 callersFunctionnix_build
(what: str)
tests/nix.py:17
↓ 5 callersMethodread
(hv: &Hypervisor, phys_addr: &PhysAddr, virt_addr: u64, level: u8)
src/page_table.rs:156
↓ 5 callersMethodread
(&self)
src/kvm/hypervisor/memory.rs:69
↓ 5 callersFunctionusleep_range
(min: c_ulong, max: c_ulong)
src/stage1/src/lib.rs:388
↓ 4 callersMethodborrow_mut
(&mut self)
src/devices/virtio/block/device.rs:276
↓ 4 callersMethodbusybox_image
()
tests/conftest.py:28
↓ 4 callersFunctioncatplot
(**kwargs: Any)
tests/plot.py:70
↓ 4 callersMethodconnect
(&self, anon_name: &str)
src/kvm/fd_transfer.rs:56
↓ 4 callersFunctionfoo
(g: pd.DataFrame, system: str)
tests/graphs.py:430
↓ 4 callersFunctionget_index
(virt: u64, level: u8)
src/page_table.rs:202
↓ 4 callersMethodinit
(&mut self, ops: &mut EventOps)
src/devices/virtio/console/log_handler.rs:182
↓ 4 callersFunctionnot_printable
(byte: u8)
src/kernel.rs:23
↓ 4 callersMethodpath
(&self, pid: unistd::Pid)
src/stage2/src/namespace.rs:55
↓ 4 callersMethodrun_vmsh_command
(args: List[str], cargo_executable: str = "vmsh")
tests/conftest.py:38
↓ 4 callersMethodsend
Send a Qmp command (https://wiki.qemu.org/Documentation/QMP)
tests/qemu.py:236
↓ 4 callersMethodsize
Size of mapped page
src/page_table.rs:542
↓ 4 callersMethodsocket
(&self, domain: c_int, ty: c_int, protocol: c_int)
src/tracer/inject_syscall.rs:265
↓ 4 callersFunctionspawn_vmsh_command
( args: List[str], cargo_executable: str = "vmsh", target: str = "debug", pin_cores: Optional[
tests/vmsh.py:105
↓ 4 callersFunctiontmux_logs
(tmux_session: str)
tests/test_hypervisor.py:31
↓ 4 callersMethodtransfer
(&self, fds: &[RawFd])
src/kvm/hypervisor/hypervisor.rs:319
↓ 4 callersMethodvm_ioctl_with_ref
comment borrowed from vmm-sys-util Run an [`ioctl`](http://man7.org/linux/man-pages/man2/ioctl.2.html) with an immutable reference. # Arguments `req
src/kvm/tracee.rs:136
↓ 4 callersFunctionvmid_arg
(index: usize)
src/bin/vmsh.rs:23
↓ 4 callersFunctionvmid_type_arg
()
src/bin/vmsh.rs:30
↓ 4 callersMethodwait
Blocks until block device is ready
src/devices/threads.rs:102
↓ 3 callersMethodas_str
(&self)
src/stage2/src/user_namespace.rs:31
↓ 3 callersFunctionattach
(pid: Pid)
src/tracer/inject_syscall.rs:90
↓ 3 callersFunctionbuild_config_space
TODO: Add a helper abstraction to rust-vmm for building the device configuration space. The one we build below for the block device contains the minim
src/devices/virtio/block/mod.rs:61
↓ 3 callersMethodcheck_access
(&self, mut sectors_count: u64, sector: u64)
src/devices/virtio/block/inorder_handler.rs:106
↓ 3 callersFunctiondeinit
called by the destructor, may be called multiple times. First call: return Some(_). From now on no further operations must be done on this object. Sec
src/tracer/inject_syscall.rs:49
↓ 3 callersFunctionecho
(ptmfd: int, prompt: str)
tests/measure_console.py:82
↓ 3 callersMethodfind_by_addr
(self, addr: int)
tests/coredump_analyze.py:88
↓ 3 callersFunctionformat
(axis: mpl.axis.Axis, name: str)
tests/plot.py:122
↓ 3 callersFunctionformat_ssd
()
tests/xfstests.py:69
↓ 3 callersFunctionfresh_fs_ssd
()
tests/measure_phoronix.py:17
↓ 3 callersFunctionget_failures
(fail: str)
tests/xfstests.py:86
↓ 3 callersMethodget_irqchip
(&self, irqchip: &HvMem<kvmb::kvm_irqchip>)
src/kvm/tracee.rs:239
↓ 3 callersFunctionget_kernel_symbol_legacy
(mem: &[u8])
src/kernel.rs:131
↓ 3 callersFunctionget_page_table
( hv: &Hypervisor, entry: &mut PageTableEntry, phys_addr: &mut PhysAddr, old_tables: &mut Vec<
src/page_table.rs:321
↓ 3 callersFunctionget_shift
(level: u8)
src/page_table.rs:197
↓ 3 callersFunctionget_shift
(level: int)
tests/coredump_analyze.py:158
↓ 3 callersFunctionget_start_idx
(virt_addr: usize, idx: usize, level: u8)
src/page_table.rs:350
↓ 3 callersMethodgetpid
(&self)
src/tracer/inject_syscall.rs:230
↓ 3 callersFunctionhypervisor_test
(helpers: conftest.Helpers, flake_name: str, command: str)
tests/test_hypervisor.py:117
↓ 3 callersFunctioninit
save and overwrite main thread state
src/tracer/inject_syscall.rs:27
↓ 3 callersMethodinrange
True if address is contained in memory range
tests/coredump.py:63
next →1–100 of 725, ranked by callers