| /qemu/python/qemu/utils/ |
| A D | qom_fuse.py | 108 path, prop = path.rsplit('/', 1) 109 if path == '': 110 path = '/' 121 path, prop = path.rsplit('/', 1) 122 if path == '': 123 path = '/' 136 path, prop = path.rsplit('/', 1) 137 if path == '': 140 data = str(self.qmp.cmd('qom-get', path=path, property=prop)) 153 path, prop = path.rsplit('/', 1) [all …]
|
| A D | qom.py | 89 path=self.path, 128 self.path = tmp[0] 134 path=self.path, 177 self.path = args.path 225 self.path = args.path 228 print(path) 229 items = self.qom_list(path) 234 rsp = self.qmp.cmd('qom-get', path=path, 243 if path == '/': 244 path = '' [all …]
|
| /qemu/hw/i386/kvm/ |
| A D | trace-events | 7 xenstore_read(unsigned int tx_id, const char *path) "tx %u path %s" 8 xenstore_write(unsigned int tx_id, const char *path) "tx %u path %s" 9 xenstore_mkdir(unsigned int tx_id, const char *path) "tx %u path %s" 10 xenstore_directory(unsigned int tx_id, const char *path) "tx %u path %s" 11 xenstore_directory_part(unsigned int tx_id, const char *path, unsigned int offset) "tx %u path %s o… 14 xenstore_rm(unsigned int tx_id, const char *path) "tx %u path %s" 15 xenstore_get_perms(unsigned int tx_id, const char *path) "tx %u path %s" 16 xenstore_set_perms(unsigned int tx_id, const char *path) "tx %u path %s" 17 xenstore_watch(const char *path, const char *token) "path %s token %s" 18 xenstore_unwatch(const char *path, const char *token) "path %s token %s" [all …]
|
| /qemu/hw/9pfs/ |
| A D | 9p-xattr.c | 39 ssize_t v9fs_get_xattr(FsContext *ctx, const char *path, in v9fs_get_xattr() argument 50 ssize_t pt_listxattr(FsContext *ctx, const char *path, in pt_listxattr() argument 84 dirpath = g_path_get_dirname(path); in v9fs_list_xattr() 91 name = g_path_get_basename(path); in v9fs_list_xattr() 159 return xops->removexattr(ctx, path, name); in v9fs_remove_xattr() 169 char *dirpath = g_path_get_dirname(path); in local_getxattr_nofollow() 170 char *filename = g_path_get_basename(path); in local_getxattr_nofollow() 197 char *dirpath = g_path_get_dirname(path); in local_setxattr_nofollow() 198 char *filename = g_path_get_basename(path); in local_setxattr_nofollow() 224 char *dirpath = g_path_get_dirname(path); in local_removexattr_nofollow() [all …]
|
| A D | 9p-xattr.h | 21 ssize_t (*getxattr)(FsContext *ctx, const char *path, 23 ssize_t (*listxattr)(FsContext *ctx, const char *path, 25 int (*setxattr)(FsContext *ctx, const char *path, const char *name, 28 const char *path, const char *name); 31 ssize_t local_getxattr_nofollow(FsContext *ctx, const char *path, 33 ssize_t local_setxattr_nofollow(FsContext *ctx, const char *path, 36 ssize_t local_removexattr_nofollow(FsContext *ctx, const char *path, 53 ssize_t v9fs_list_xattr(FsContext *ctx, const char *path, void *value, 55 int v9fs_set_xattr(FsContext *ctx, const char *path, const char *name, 61 ssize_t pt_getxattr(FsContext *ctx, const char *path, const char *name, [all …]
|
| A D | cofs.c | 68 err = __readlink(s, path, buf); in v9fs_co_readlink() 89 err = s->ops->statfs(&s->ctx, path, stbuf); in v9fs_co_statfs() 112 err = s->ops->chmod(&s->ctx, path, &cred); in v9fs_co_chmod() 192 V9fsPath path; in v9fs_co_mknod() local 211 v9fs_path_init(&path); in v9fs_co_mknod() 212 err = v9fs_name_to_path(s, &fidp->path, name->data, &path); in v9fs_co_mknod() 219 v9fs_path_free(&path); in v9fs_co_mknod() 315 V9fsPath path; in v9fs_co_symlink() local 333 v9fs_path_init(&path); in v9fs_co_symlink() 334 err = v9fs_name_to_path(s, &dfidp->path, name->data, &path); in v9fs_co_symlink() [all …]
|
| A D | 9p-posix-acl.c | 30 static ssize_t mp_pacl_getxattr(FsContext *ctx, const char *path, in mp_pacl_getxattr() argument 33 return local_getxattr_nofollow(ctx, path, MAP_ACL_ACCESS, value, size); in mp_pacl_getxattr() 36 static ssize_t mp_pacl_listxattr(FsContext *ctx, const char *path, in mp_pacl_listxattr() argument 58 return local_setxattr_nofollow(ctx, path, MAP_ACL_ACCESS, value, size, in mp_pacl_setxattr() 63 const char *path, const char *name) in mp_pacl_removexattr() argument 67 ret = local_removexattr_nofollow(ctx, path, MAP_ACL_ACCESS); in mp_pacl_removexattr() 84 static ssize_t mp_dacl_getxattr(FsContext *ctx, const char *path, in mp_dacl_getxattr() argument 90 static ssize_t mp_dacl_listxattr(FsContext *ctx, const char *path, in mp_dacl_listxattr() argument 112 return local_setxattr_nofollow(ctx, path, MAP_ACL_DEFAULT, value, size, in mp_dacl_setxattr() 117 const char *path, const char *name) in mp_dacl_removexattr() argument [all …]
|
| /qemu/tests/qtest/ |
| A D | qos-test.c | 100 if (g_strcmp0(old_path, path)) { in restart_qemu_or_continue() 103 old_path = g_strdup(path); in restart_qemu_or_continue() 104 qtest_start(path); in restart_qemu_or_continue() 165 char **path = (char **) arg; in run_one_test() local 170 current_path = path; in run_one_test() 171 test_node = qos_graph_get_node(path[(g_strv_length(path) - 1)]); in run_one_test() 186 const gchar *path = arg; in subprocess_run_one_test() local 225 QOSGraphNode *path; in walk_path() local 249 path = qos_graph_get_node(node_name); in walk_path() 250 if (!path->path_edge) { in walk_path() [all …]
|
| A D | test-x86-cpuid-compat.c | 13 char *path; in get_cpu0_qom_path() local 22 return path; in get_cpu0_qom_path() 30 path, prop); in qom_get() 55 char *path; in test_cpuid_prop() local 60 path = get_cpu0_qom_path(); in test_cpuid_prop() 67 g_free(path); in test_cpuid_prop() 147 char *path; in test_feature_flag() local 152 path = get_cpu0_qom_path(); in test_feature_flag() 163 g_free(path); in test_feature_flag() 201 char *path; in test_plus_minus_subprocess() local [all …]
|
| A D | max34451-test.c | 91 char *path; in test_defaults() local 98 g_free(path); in test_defaults() 117 g_free(path); in test_defaults() 151 char *path; in test_temperature() local 158 g_free(path); in test_temperature() 178 char *path; in test_voltage() local 185 g_free(path); in test_voltage() 281 char *path; in test_ov_faults() local 288 g_free(path); in test_ov_faults() 303 char *path; in test_ot_faults() local [all …]
|
| A D | netdev-socket.c | 196 gchar *path; in test_stream_unix_reconnect() local 211 g_assert_cmpstr(addr->u.q_unix.path, ==, path); in test_stream_unix_reconnect() 228 g_assert_cmpstr(addr->u.q_unix.path, ==, path); in test_stream_unix_reconnect() 233 g_assert_cmpstr(addr->u.q_unix.path, ==, path); in test_stream_unix_reconnect() 238 g_free(path); in test_stream_unix_reconnect() 276 gchar *path; in test_stream_unix() local 283 path); in test_stream_unix() 290 path); in test_stream_unix() 296 g_free(path); in test_stream_unix() 307 gchar *path; in test_stream_unix_abstract() local [all …]
|
| /qemu/docs/ |
| A D | conf.py | 40 qemu_docdir = os.path.abspath(".") 48 sys.path.insert(0, os.path.join(qemu_docdir, "sphinx")) 49 sys.path.insert(0, os.path.join(qemu_docdir, "../scripts")) 72 templates_path = [os.path.join(qemu_docdir, '_templates')] 103 with open(os.path.join(qemu_docdir, '../VERSION')) as f: 146 with open(os.path.join(qemu_docdir, 'defs.rst.inc')) as f: 178 html_static_path = [os.path.join(qemu_docdir, "sphinx-static")] 285 kerneldoc_srctree = os.path.join(qemu_docdir, '..') 286 hxtool_srctree = os.path.join(qemu_docdir, '..') 287 qapidoc_srctree = os.path.join(qemu_docdir, '..') [all …]
|
| /qemu/tests/functional/ |
| A D | test_acpi_bits.py | 66 for p in paths.split(os.path.pathsep): 67 p = os.path.join(p, tool) 68 if os.path.exists(p) and os.access(p, os.X_OK): 188 target_test_dir = os.path.join(self.workdir, 196 if os.path.isfile(os.path.join(bits_test_dir, filename)) and \ 249 bits_dir = os.path.join(self.workdir, 251 iso_file = os.path.join(self.workdir, 253 mkrescue_script = os.path.join(self.workdir, 293 if not os.path.isdir(prebuiltDir): 299 grub_tar_file = os.path.join(prebuiltDir, [all …]
|
| /qemu/tests/qtest/fuzz/ |
| A D | qos_fuzz.c | 67 char **path = fuzz_path_vec; in qos_build_main_args() local 72 if (!path) { in qos_build_main_args() 78 cmd_line = g_string_new(path[0]); in qos_build_main_args() 79 current_path = path; in qos_build_main_args() 80 test_node = qos_graph_get_node(path[(g_strv_length(path) - 1)]); in qos_build_main_args() 98 QOSGraphNode *path; in walk_path() local 118 path = qos_graph_get_node(node_name); /* root */ in walk_path() 125 path = qos_graph_get_node(node_name); in walk_path() 126 if (!path->path_edge) { in walk_path() 134 g_string_append(cmd_line, path->command_line); in walk_path() [all …]
|
| /qemu/tests/unit/ |
| A D | test-crypto-pbkdf.c | 33 const char *path; member 54 .path = "/crypto/pbkdf/rfc3962/sha1/iter1", 68 .path = "/crypto/pbkdf/rfc3962/sha1/iter2", 82 .path = "/crypto/pbkdf/rfc3962/sha1/iter1200a", 96 .path = "/crypto/pbkdf/rfc3962/sha1/iter5", 110 .path = "/crypto/pbkdf/rfc3962/sha1/iter1200b", 140 .path = "/crypto/pbkdf/rfc3962/sha1/iter50", 156 .path = "/crypto/pbkdf/rfc6070/sha1/iter1", 168 .path = "/crypto/pbkdf/rfc6070/sha1/iter2", 233 .path = "/crypto/pbkdf/nonrfc/sha1/iter2", [all …]
|
| A D | test-crypto-cipher.c | 29 const char *path; member 45 .path = "/crypto/cipher/aes-ecb-128", 62 .path = "/crypto/cipher/aes-ecb-192", 79 .path = "/crypto/cipher/aes-ecb-256", 98 .path = "/crypto/cipher/aes-cbc-128", 116 .path = "/crypto/cipher/aes-cbc-192", 176 .path = "/crypto/cipher/des-ecb-56", 193 .path = "/crypto/cipher/3des-cbc", 222 .path = "/crypto/cipher/3des-ecb", 235 .path = "/crypto/cipher/3des-ctr", [all …]
|
| /qemu/tests/functional/qemu_test/ |
| A D | utils.py | 24 def file_truncate(path, size): argument 25 if size != os.path.getsize(path): 26 with open(path, 'ab+') as fd: 32 def image_pow2ceil_expand(path): argument 33 size = os.path.getsize(path) 36 with open(path, 'ab+') as fd: 43 (lambda member, path: member)) 45 tf.extract(member=member, path=dest_dir) 47 tf.extractall(path=dest_dir) 50 if os.path.exists(output_path): [all …]
|
| /qemu/hw/xen/ |
| A D | xen-bus-helper.c | 75 char *path, *value; in xs_node_vprintf() local 82 trace_xs_node_vprintf(path, value); in xs_node_vprintf() 86 value, path); in xs_node_vprintf() 90 g_free(path); in xs_node_vprintf() 108 char *path, *value; in xs_node_vscanf() local 115 trace_xs_node_vscanf(path, value); in xs_node_vscanf() 121 path); in xs_node_vscanf() 126 g_free(path); in xs_node_vscanf() 149 char *path; in xs_node_watch() local 155 trace_xs_node_watch(path); in xs_node_watch() [all …]
|
| A D | xen-host-pci-device.c | 52 char path[16]; in xen_host_pci_fill_local_addr() local 67 snprintf(path, sizeof(path), "dev-%d", i); in xen_host_pci_fill_local_addr() 78 snprintf(path, sizeof(path), "vdev-%d", i); in xen_host_pci_fill_local_addr() 114 char path[PATH_MAX]; in xen_host_pci_get_resource() local 120 xen_host_pci_sysfs_path(d, "resource", path, sizeof(path)); in xen_host_pci_get_resource() 202 char path[PATH_MAX]; in xen_host_pci_get_value() local 208 xen_host_pci_sysfs_path(d, name, path, sizeof(path)); in xen_host_pci_get_value() 255 char path[PATH_MAX]; in xen_host_pci_dev_is_virtfn() local 258 xen_host_pci_sysfs_path(d, "physfn", path, sizeof(path)); in xen_host_pci_dev_is_virtfn() 265 char path[PATH_MAX]; in xen_host_pci_config_open() local [all …]
|
| /qemu/ |
| A D | .gitmodules | 2 path = roms/seabios 5 path = roms/SLOF 8 path = roms/ipxe 11 path = roms/openbios 14 path = roms/qemu-palcode 17 path = roms/u-boot 20 path = roms/skiboot 32 path = roms/edk2 35 path = roms/opensbi 38 path = roms/qboot [all …]
|
| /qemu/scripts/ |
| A D | nsis.py | 15 def signcode(path): argument 19 subprocess.run([cmd, path]) 33 dll = os.path.join(search_path, dep) 34 if not os.path.exists(dll): 56 prefix = os.path.splitdrive(args.prefix)[1] 63 os.path.join(destdir + prefix, "system-mui-text.nsh"), "w" 66 os.path.join(destdir + prefix, "qemu-system-*.exe") 68 exe = os.path.basename(exe) 92 dlldir = os.path.join(destdir + prefix, "dll") 104 dllfile = os.path.join(dlldir, os.path.basename(dep)) [all …]
|
| A D | qemu-trace-stap | 23 import os.path 30 dirname, filename = os.path.split(binary) 35 for path in os.environ["PATH"].split(os.pathsep): 36 if os.path.exists(os.path.join(path, binary)): 37 return os.path.join(path, binary) 44 dirname, filename = os.path.split(binary) 48 thisfile = os.path.realpath(binary) 49 if not os.path.exists(thisfile): 53 basedir = os.path.split(thisfile)[0] 54 tapset = os.path.join(basedir, "..", "share", "systemtap", "tapset") [all …]
|
| /qemu/qga/ |
| A D | commands-posix-ssh.c | 63 if (g_mkdir(path, mode) == -1) { in mkdir_for_user() 65 path, g_strerror(errno)); in mkdir_for_user() 71 path, g_strerror(errno)); in mkdir_for_user() 75 if (chmod(path, mode) == -1) { in mkdir_for_user() 77 path, g_strerror(errno)); in mkdir_for_user() 99 path, g_strerror(errno)); in write_authkeys() 103 if (chmod(path, 0600) == -1) { in write_authkeys() 105 path, g_strerror(errno)); in write_authkeys() 265 g_autofree char *path = NULL; in test_authorized_keys_set() local 271 g_free(path); in test_authorized_keys_set() [all …]
|
| /qemu/tests/avocado/avocado_qemu/ |
| A D | linuxtest.py | 19 if os.path.islink(os.path.dirname(os.path.dirname(__file__))): 21 lnk = os.path.dirname(os.path.dirname(__file__)) 23 SOURCE_DIR = os.path.dirname(os.path.dirname(os.readlink(lnk))) 179 ssh_public_key = os.path.join(SOURCE_DIR, 'tests', 'keys', 'id_rsa.pub') 181 ssh_dir = os.path.join(self.workdir, '.ssh') 183 ssh_private_key = os.path.join(ssh_dir, 184 os.path.basename(source_private_key)) 210 return boot.path 215 cloudinit_iso = os.path.join(self.workdir, 'cloudinit.iso') 232 path = self.download_boot() [all …]
|
| /qemu/tests/avocado/ |
| A D | boot_linux_console.py | 33 def file_truncate(path, size): argument 34 if size != os.path.getsize(path): 35 with open(path, 'ab+') as fd: 41 def image_pow2ceil_expand(path): argument 42 size = os.path.getsize(path) 45 with open(path, 'ab+') as fd: 56 def extract_from_deb(self, deb, path): argument 74 return os.path.normpath(os.path.join(self.workdir, 75 os.path.relpath(path, '/'))) 91 return os.path.normpath(os.path.join(self.workdir, path)) [all …]
|