Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mic92/vmsh
/ functions
Functions
725 in github.com/Mic92/vmsh
⨍
Functions
725
◇
Types & classes
167
↓ 61 callers
Method
join
Join the underlying thread
src/interrutable_thread.rs:77
↓ 41 callers
Method
iter
( self, hv: &Hypervisor, phys_host_map: Arc<PhysHostMap>, range: Range<usize>,
src/page_table.rs:180
↓ 41 callers
Method
map
(&self)
src/kvm/hypervisor/hypervisor.rs:51
↓ 38 callers
Method
ssh_cmd
@return: CompletedProcess.stderr/stdout contains output of `cmd` which is run in the vm via ssh.
tests/qemu.py:185
↓ 29 callers
Function
run
( cmd: List[str], extra_env: Dict[str, str] = {}, stdout: ChildFd = subprocess.PIPE, stderr: C
tests/procs.py:17
↓ 27 callers
Method
contains
(&self, addr: usize)
src/guest_mem.rs:48
↓ 25 callers
Method
get
(&self, phys_addr: usize)
src/guest_mem.rs:124
↓ 22 callers
Method
write
# Safety The `data` argument is passed directly to `ptrace(2)`. Read that man page for guidance.
src/tracer/ptrace.rs:133
↓ 20 callers
Function
println
(s: str)
tests/xfstests.py:26
↓ 16 callers
Method
stop
(&self)
src/kvm/hypervisor/hypervisor.rs:152
↓ 15 callers
Method
alloc_mem
(&self)
src/kvm/hypervisor/hypervisor.rs:291
↓ 15 callers
Method
spawn_qemu
( image: VmImage, extra_args: List[str] = [] )
tests/conftest.py:44
↓ 14 callers
Function
column_alias
(name: str)
tests/plot.py:102
↓ 14 callers
Method
write
(&self, val: &T)
src/kvm/hypervisor/memory.rs:72
↓ 13 callers
Method
notos_image
()
tests/conftest.py:24
↓ 13 callers
Function
page_size
()
src/page_math.rs:3
↓ 12 callers
Method
add
(&self, offset: usize)
src/page_table.rs:264
↓ 12 callers
Method
close
(&self, fd: RawFd)
src/kvm/tracee.rs:369
↓ 11 callers
Function
fio_suite
( vm: Optional[QemuVm], stats: DefaultDict[str, List[Any]], device: str, name: str, file:
tests/measure_block.py:251
↓ 11 callers
Function
subtest
(name: &'static str)
examples/test_ioctls.rs:316
↓ 11 callers
Method
try_get_proc
(&self)
src/kvm/tracee.rs:103
↓ 10 callers
Method
syscall
(&self, regs: &Regs)
src/tracer/inject_syscall.rs:348
↓ 9 callers
Function
excludes_str
()
tests/xfstests.py:59
↓ 9 callers
Method
flags
(&self)
src/page_table.rs:116
↓ 9 callers
Function
get_path
TODO: This came for cntr we might even want to mount our own procfs
src/stage2/src/procfs/mod.rs:16
↓ 9 callers
Method
load
(&mut self, flags: Flags, base: VAddr, region: &[u8])
src/loader.rs:400
↓ 9 callers
Method
next
(&mut self)
src/page_table.rs:554
↓ 9 callers
Function
nix_develop
( command: List[str], extra_env: Dict[str, str], cwd: str = str(ROOT) )
tests/reproduce.py:60
↓ 8 callers
Function
test_attach
( helpers: conftest.Helpers, attach_repetitions: int = 1, vcpus: int = 1, mmio: str = "wrap_sy
tests/test_attach.py:8
↓ 8 callers
Method
wait_for_ssh
Block until ssh port is accessible
tests/qemu.py:154
↓ 7 callers
Method
addr
(&self)
src/page_table.rs:122
↓ 7 callers
Method
as_raw_fd
(&self)
src/kvm/hypervisor/ioevent.rs:47
↓ 7 callers
Function
page_align
(v: usize)
src/page_math.rs:17
↓ 7 callers
Function
run
( cmd: List[str], extra_env: Dict[str, str] = {}, input: Optional[str] = None, check: bool = T
tests/reproduce.py:39
↓ 7 callers
Function
run_ioctl_test
(command: str, vm: QemuVm)
tests/test_ioctl.py:5
↓ 7 callers
Method
spawn_vmsh_command
( args: List[str], cargo_executable: str = "vmsh" )
tests/conftest.py:32
↓ 7 callers
Method
update
(&self, hv: &Hypervisor, state: DeviceState)
src/stage1.rs:36
↓ 7 callers
Function
use_ioregionfd
()
src/devices/mod.rs:32
↓ 7 callers
Method
wait_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 callers
Method
data
(&self)
src/kvm/kvm_ioregionfd.rs:64
↓ 6 callers
Function
drop
(inheritable_capabilities: u64)
src/stage2/src/capabilities.rs:35
↓ 6 callers
Method
get_maps
(&self)
src/kvm/tracee.rs:382
↓ 6 callers
Method
index
Search bytes in memory. Returns address if found, otherwise raises IndexError
tests/coredump.py:57
↓ 6 callers
Function
notos_image
(nix: str = NOTOS_IMAGE)
tests/nix.py:60
↓ 6 callers
Function
process_read
(pid: Pid, addr: *const c_void)
src/kvm/hypervisor/memory.rs:16
↓ 6 callers
Method
read
(&self, addr: AddressType)
src/tracer/ptrace.rs:123
↓ 6 callers
Method
resume
(&self)
src/kvm/hypervisor/hypervisor.rs:143
↓ 6 callers
Method
vbase
(&self)
src/loader.rs:158
↓ 6 callers
Method
write_all
(&mut self, data: &[u8], pos: loff_t)
src/stage1/src/lib.rs:237
↓ 5 callers
Method
apply
(&self)
src/stage2/src/namespace.rs:73
↓ 5 callers
Function
apply_aliases
(df: pd.DataFrame)
tests/plot.py:106
↓ 5 callers
Function
expect
@return true if terminated because of until
tests/measure_console.py:42
↓ 5 callers
Function
f
(row: Any)
tests/graphs.py:163
↓ 5 callers
Method
handle_error
(&self, s: Msg, ops: &mut EventOps)
src/devices/virtio/console/log_handler.rs:56
↓ 5 callers
Method
host_addr
(&self)
src/page_table.rs:254
↓ 5 callers
Function
nix_build
(what: str)
tests/nix.py:17
↓ 5 callers
Method
read
(hv: &Hypervisor, phys_addr: &PhysAddr, virt_addr: u64, level: u8)
src/page_table.rs:156
↓ 5 callers
Method
read
(&self)
src/kvm/hypervisor/memory.rs:69
↓ 5 callers
Function
usleep_range
(min: c_ulong, max: c_ulong)
src/stage1/src/lib.rs:388
↓ 4 callers
Method
borrow_mut
(&mut self)
src/devices/virtio/block/device.rs:276
↓ 4 callers
Method
busybox_image
()
tests/conftest.py:28
↓ 4 callers
Function
catplot
(**kwargs: Any)
tests/plot.py:70
↓ 4 callers
Method
connect
(&self, anon_name: &str)
src/kvm/fd_transfer.rs:56
↓ 4 callers
Function
foo
(g: pd.DataFrame, system: str)
tests/graphs.py:430
↓ 4 callers
Function
get_index
(virt: u64, level: u8)
src/page_table.rs:202
↓ 4 callers
Method
init
(&mut self, ops: &mut EventOps)
src/devices/virtio/console/log_handler.rs:182
↓ 4 callers
Function
not_printable
(byte: u8)
src/kernel.rs:23
↓ 4 callers
Method
path
(&self, pid: unistd::Pid)
src/stage2/src/namespace.rs:55
↓ 4 callers
Method
run_vmsh_command
(args: List[str], cargo_executable: str = "vmsh")
tests/conftest.py:38
↓ 4 callers
Method
send
Send a Qmp command (https://wiki.qemu.org/Documentation/QMP)
tests/qemu.py:236
↓ 4 callers
Method
size
Size of mapped page
src/page_table.rs:542
↓ 4 callers
Method
socket
(&self, domain: c_int, ty: c_int, protocol: c_int)
src/tracer/inject_syscall.rs:265
↓ 4 callers
Function
spawn_vmsh_command
( args: List[str], cargo_executable: str = "vmsh", target: str = "debug", pin_cores: Optional[
tests/vmsh.py:105
↓ 4 callers
Function
tmux_logs
(tmux_session: str)
tests/test_hypervisor.py:31
↓ 4 callers
Method
transfer
(&self, fds: &[RawFd])
src/kvm/hypervisor/hypervisor.rs:319
↓ 4 callers
Method
vm_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 callers
Function
vmid_arg
(index: usize)
src/bin/vmsh.rs:23
↓ 4 callers
Function
vmid_type_arg
()
src/bin/vmsh.rs:30
↓ 4 callers
Method
wait
Blocks until block device is ready
src/devices/threads.rs:102
↓ 3 callers
Method
as_str
(&self)
src/stage2/src/user_namespace.rs:31
↓ 3 callers
Function
attach
(pid: Pid)
src/tracer/inject_syscall.rs:90
↓ 3 callers
Function
build_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 callers
Method
check_access
(&self, mut sectors_count: u64, sector: u64)
src/devices/virtio/block/inorder_handler.rs:106
↓ 3 callers
Function
deinit
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 callers
Function
echo
(ptmfd: int, prompt: str)
tests/measure_console.py:82
↓ 3 callers
Method
find_by_addr
(self, addr: int)
tests/coredump_analyze.py:88
↓ 3 callers
Function
format
(axis: mpl.axis.Axis, name: str)
tests/plot.py:122
↓ 3 callers
Function
format_ssd
()
tests/xfstests.py:69
↓ 3 callers
Function
fresh_fs_ssd
()
tests/measure_phoronix.py:17
↓ 3 callers
Function
get_failures
(fail: str)
tests/xfstests.py:86
↓ 3 callers
Method
get_irqchip
(&self, irqchip: &HvMem<kvmb::kvm_irqchip>)
src/kvm/tracee.rs:239
↓ 3 callers
Function
get_kernel_symbol_legacy
(mem: &[u8])
src/kernel.rs:131
↓ 3 callers
Function
get_page_table
( hv: &Hypervisor, entry: &mut PageTableEntry, phys_addr: &mut PhysAddr, old_tables: &mut Vec<
src/page_table.rs:321
↓ 3 callers
Function
get_shift
(level: u8)
src/page_table.rs:197
↓ 3 callers
Function
get_shift
(level: int)
tests/coredump_analyze.py:158
↓ 3 callers
Function
get_start_idx
(virt_addr: usize, idx: usize, level: u8)
src/page_table.rs:350
↓ 3 callers
Method
getpid
(&self)
src/tracer/inject_syscall.rs:230
↓ 3 callers
Function
hypervisor_test
(helpers: conftest.Helpers, flake_name: str, command: str)
tests/test_hypervisor.py:117
↓ 3 callers
Function
init
save and overwrite main thread state
src/tracer/inject_syscall.rs:27
↓ 3 callers
Method
inrange
True if address is contained in memory range
tests/coredump.py:63
next →
1–100 of 725, ranked by callers