Home
last modified time | relevance | path

Searched refs:guest (Results 1 – 18 of 18) sorted by relevance

/tools/virtio/ringtest/
Dvirtio_ring_0_9.c41 struct guest { struct
52 } guest; argument
78 guest.avail_idx = 0; in alloc_ring()
79 guest.kicked_avail_idx = -1; in alloc_ring()
80 guest.last_used_idx = 0; in alloc_ring()
83 guest.free_head = 0; in alloc_ring()
89 guest.num_free = ring_size; in alloc_ring()
107 if (!guest.num_free) in add_inbuf()
111 head = (ring_size - 1) & (guest.avail_idx++); in add_inbuf()
113 head = guest.free_head; in add_inbuf()
[all …]
Dring.c59 struct guest { struct
65 } guest; argument
92 guest.avail_idx = 0; in alloc_ring()
93 guest.kicked_avail_idx = -1; in alloc_ring()
94 guest.last_used_idx = 0; in alloc_ring()
103 guest.num_free = ring_size; in alloc_ring()
116 if (!guest.num_free) in add_inbuf()
119 guest.num_free--; in add_inbuf()
120 head = (ring_size - 1) & (guest.avail_idx++); in add_inbuf()
145 unsigned head = (ring_size - 1) & guest.last_used_idx; in get_buf()
[all …]
Drun-on-all.sh20 "$@" --host-affinity $HOST_AFFINITY --guest-affinity $cpu
Dmain.c295 pthread_t host, guest; in main() local
383 ret = pthread_create(&guest, NULL, start_guest, guest_arg); in main()
386 ret = pthread_join(guest, &tret); in main()
/tools/testing/vsock/
DREADME3 These tests exercise net/vmw_vsock/ host<->guest sockets for VMware, KVM, and
16 3. Install the kernel and tests inside the guest.
17 4. Boot the guest and ensure that the AF_VSOCK transport is enabled.
21 # host=server, guest=client
25 (guest)# $TEST_BINARY --mode=client \
30 # host=client, guest=server
31 (guest)# $TEST_BINARY --mode=server \
/tools/perf/Documentation/
Dperf-kvm.txt6 perf-kvm - Tool to trace/measure kvm guest os
11 'perf kvm' [--host] [--guest] [--guestmount=<path>
14 'perf kvm' [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path>
23 a performance counter profile of guest os in realtime
28 default behavior of perf kvm as --guest, so if neither --host nor --guest
29 is input, the perf data file name is perf.data.guest. If --host is input,
31 perf.data.host, please input --host --no-guest. The behaviors are shown as
33 Default('') -> perf.data.guest
35 --guest -> perf.data.guest
36 --host --guest -> perf.data.kvm
[all …]
Dperf-list.txt54 G - guest counting (in KVM guests)
99 registers: event, umask, edge, inv, cmask. Esp. guest/host only and
Dperf-report.txt104 on guest machine
106 guest machine
Dperf-intel-pt.txt250 G guest
/tools/virtio/virtio-trace/
DREADME4 Trace agent is a user tool for sending trace data of a guest to a Host in low
48 For example, if a guest use three CPUs, the names are
83 example, if a guest use three CPUs, chardev names should be trace-path-cpu0,
86 3) Boot the guest
87 You can find some chardev in /dev/virtio-ports/ in the guest.
93 0) Build trace agent in a guest
96 1) Enable ftrace in the guest
100 2) Run trace agent in the guest
104 option, trace data are output via stdout in the guest.
109 the guest will stop by specification of chardev in QEMU. This blocking mode may
[all …]
/tools/kvm/kvm_stat/
Dkvm_stat.txt16 state transitions such as guest mode entry and exit.
18 This tool is useful for observing guest behavior from the host perspective.
40 *g*:: filter by guest name/PID
46 *p*:: filter by guest name/PID
81 -g<guest>::
82 --guest=<guest_name>::
83 limit statistics to one virtual machine (guest name)
Dkvm_stat1402 guest = self.screen.getstr().decode(ENCODING)
1406 if not guest or guest == '0':
1408 if guest.isdigit():
1409 if not self._is_running_guest(guest):
1410 msg = '"' + guest + '": Not a running process'
1412 pid = int(guest)
1416 pids = self.get_pid_from_gname(guest)
1418 msg = '"' + guest + '": Internal error while searching, ' \
1422 msg = '"' + guest + '": Not an active guest'
1425 msg = '"' + guest + '": Multiple matches found, use pid ' \
/tools/testing/selftests/arm64/fp/
DREADME81 or until the guest terminates. It is therefore recommended to run
86 Within the guest, the host filesystem is accessible, mounted on /host.
88 2) Run the sve-stress on *each* guest with the Vector-Length set to 32:
89 guest$ ./vlset --inherit 32 ./sve-stress
/tools/testing/ktest/examples/
DREADME19 kvm.conf - A example of a config that is used to test a virtual guest running
/tools/
DMakefile67 cgroup firewire hv guest bootconfig spi usb virtio vm bpf iio gpio objtool leds wmi pci firmware de… target
/tools/testing/selftests/rcutorture/doc/
Drcu-test-image.txt27 rcu-test-image file that contains the filesystem used by the guest-OS
/tools/perf/
Ddesign.txt226 to request counting of events restricted to guest and host contexts when
/tools/perf/util/
Devsel.c528 MOD_PRINT(guest, 'G'); in perf_evsel__add_modifiers()