Home
last modified time | relevance | path

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

12

/tools/virtio/ringtest/
A Dvirtio_ring_0_9.c41 struct guest { struct
52 } guest; argument
78 guest.avail_idx = 0; in alloc_ring()
83 guest.free_head = 0; in alloc_ring()
107 if (!guest.num_free) in add_inbuf()
113 head = guest.free_head; in add_inbuf()
115 guest.num_free--; in add_inbuf()
192 guest.num_free++; in get_buf()
193 guest.last_used_idx++; in get_buf()
234 guest.avail_idx, in kick_available()
[all …]
A Dring.c59 struct guest { struct
65 } guest; argument
92 guest.avail_idx = 0; 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()
159 guest.num_free++; in get_buf()
160 guest.last_used_idx++; in get_buf()
195 guest.avail_idx, in kick_available()
[all …]
A Drun-on-all.sh20 "$@" --host-affinity $HOST_AFFINITY --guest-affinity $cpu
A 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/perf/Documentation/
A Dguest-files.txt4 Guest OS /proc/kallsyms file copy. perf reads it to get guest
5 kernel symbols. Users copy it out from guest OS.
8 Guest OS /proc/modules file copy. perf reads it to get guest
9 kernel module information. Users copy it out from guest OS.
14 --guest-code::
15 Indicate that guest code can be found in the hypervisor process,
A Dperf-kvm.txt6 perf-kvm - Tool to trace/measure kvm guest os
11 'perf kvm' [--host] [--guest] [--guestmount=<path>
28 default behavior of perf kvm as --guest, so if neither --host nor --guest
33 Default('') -> perf.data.guest
35 --guest -> perf.data.guest
36 --host --guest -> perf.data.kvm
37 --host --no-guest -> perf.data.host
78 --guest::
79 Collect guest side performance profile.
81 :GMEXAMPLECMD: kvm --host --guest
[all …]
A Dguestmount.txt2 Guest OS root file system mount directory. Users mount guest OS
5 For example, start 2 guest OS, one's pid is 8888 and the other's is 9999:
A Dperf-intel-pt.txt279 G guest
1357 Intel PT traces both the host and the guest so --guest and --host need to be specified.
1420 Intel PT traces both the host and the guest so --guest and --host need to be specified.
1500 On the guest machine:
1526 On the guest machine:
1541 On the guest machine:
1547 [ perf record: Captured and wrote 1.247 MB guest-sideband-testing-guest-perf.data ]
1549 And then copy guest-sideband-testing-guest-perf.data to the host (not shown here).
1567 Identify the guest machine PID:
1588 …$ perf inject -i guest-sideband-testing-host-perf.data -o inj --guestmount ~/guestmount --guest-da…
[all …]
A Dperf-inject.txt95 --guest-data=<path>,<pid>[,<time offset>[,<time scale>]]::
100 to convert guest time stamps into host time stamps. For example, for
108 When using perf record in the guest, option --sample-identifier
A Dperf-list.txt66 G - guest counting (in KVM guests)
121 registers: event, umask, edge, inv, cmask. Esp. guest/host only and
A Dperf-report.txt123 on guest machine
125 guest machine
/tools/virtio/virtio-trace/
A 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.
113 A host injects read start order to the guest via virtio-serial.
[all …]
/tools/kvm/kvm_stat/
A 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)
A Dkvm_stat1470 guest = self.screen.getstr().decode(ENCODING)
1474 if not guest or guest == '0':
1476 if guest.isdigit():
1477 if not self._is_running_guest(guest):
1478 msg = '"' + guest + '": Not a running process'
1480 pid = int(guest)
1484 pids = self.get_pid_from_gname(guest)
1486 msg = '"' + guest + '": Internal error while searching, ' \
1490 msg = '"' + guest + '": Not an active guest'
1493 msg = '"' + guest + '": Multiple matches found, use pid ' \
/tools/testing/vsock/
A 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/testing/selftests/kvm/x86/
A Dsev_smoke_test.c191 static void test_sev_smoke(void *guest, uint32_t type, uint64_t policy) in test_sev_smoke() argument
196 test_sev(guest, type, policy | SNP_POLICY_DBG); in test_sev_smoke()
198 test_sev(guest, type, policy | SEV_POLICY_NO_DBG); in test_sev_smoke()
199 test_sev(guest, type, policy); in test_sev_smoke()
/tools/testing/selftests/arm64/fp/
A 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/
A DREADME19 kvm.conf - A example of a config that is used to test a virtual guest running
/tools/perf/util/
A Dparse-events.h216 bool guest : 1; /* 'G' */ member
A Dparse-events.l177 CASE('G', guest); in modifiers()
/tools/testing/selftests/rcutorture/bin/
A Dtorture.sh231 --guest-cpu-limit|--guest-cpu-lim)
232 checkarg --guest-cpu-limit "(number)" "$#" "$2" '^[0-9]*$' '^--'
/tools/testing/selftests/rcutorture/doc/
A Drcu-test-image.txt27 rcu-test-image file that contains the filesystem used by the guest-OS
/tools/
A DMakefile72 counter firewire hv guest bootconfig spi usb virtio mm bpf iio gpio objtool leds wmi firmware debug… target
/tools/testing/selftests/kvm/s390/
A Dmemop.c524 static void choose_block(bool guest, int i, int *size, int *offset) in choose_block() argument
529 if (guest) { in choose_block()
542 static __uint128_t permutate_bits(bool guest, int i, int size, __uint128_t old) in permutate_bits() argument
550 if (guest) in permutate_bits()
/tools/arch/x86/kcpuid/
A Dcpuid.csv63 …0x1, 0, ecx, 31, guest_status , System is running as guest; (para-)virt…
590 # Intel TD (Trust Domain) guest execution environment enumeration
794 0x80000008, 0, eax, 23:16, guest_phys_addr_bits , Max nested-paging guest physical …
850 0x8000000a, 0, edx, 21, ro_gpt , Read-Only guest page table support
968 0x8000001f, 0, eax, 11, req_64bit_hypervisor , SEV guest mandates 64-bit hypervi…
985 … 0, edx, 31:0, min_sev_asid_no_sev_es , Minimum ASID for SEV-enabled SEV-ES-disabled guest

Completed in 38 milliseconds

12