/qemu/python/qemu/utils/ |
H 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 …]
|
H 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/ |
H 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/ |
H 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 …]
|
H 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 …]
|
H 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 …]
|
H 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/fsdev/ |
H A D | virtfs-proxy-helper.c | 421 V9fsString path; in do_getversion() local 449 v9fs_string_free(&path); in do_getversion() 460 v9fs_string_init(&path); in do_getxattr() 506 v9fs_string_free(&path); in do_getxattr() 555 V9fsString path; in do_stat() local 561 v9fs_string_init(&path); in do_stat() 602 v9fs_string_free(&path); in do_stat() 610 V9fsString target, path; in do_readlink() local 612 v9fs_string_init(&path); in do_readlink() 700 V9fsString path; in do_create() local [all …]
|
/qemu/tests/qtest/ |
H A D | qos-test.c | 101 if (g_strcmp0(old_path, path)) { in restart_qemu_or_continue() 104 old_path = g_strdup(path); in restart_qemu_or_continue() 105 qtest_start(path); in restart_qemu_or_continue() 166 char **path = (char **) arg; in run_one_test() local 171 current_path = path; in run_one_test() 172 test_node = qos_graph_get_node(path[(g_strv_length(path) - 1)]); in run_one_test() 187 const gchar *path = arg; in subprocess_run_one_test() local 220 QOSGraphNode *path; in walk_path() local 244 path = qos_graph_get_node(node_name); in walk_path() 245 if (!path->path_edge) { in walk_path() [all …]
|
H 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() 128 char *path; in test_feature_flag() local 133 path = get_cpu0_qom_path(); in test_feature_flag() 144 g_free(path); in test_feature_flag() 170 char *path; in test_plus_minus_subprocess() local [all …]
|
H 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 …]
|
H 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/ |
H 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")) 73 templates_path = [os.path.join(qemu_docdir, '_templates')] 104 with open(os.path.join(qemu_docdir, '../VERSION')) as f: 147 with open(os.path.join(qemu_docdir, 'defs.rst.inc')) as f: 179 html_static_path = [os.path.join(qemu_docdir, "sphinx-static")] 289 kerneldoc_srctree = os.path.join(qemu_docdir, '..') 290 hxtool_srctree = os.path.join(qemu_docdir, '..') 291 qapidoc_srctree = os.path.join(qemu_docdir, '..') [all …]
|
/qemu/tests/qtest/fuzz/ |
H 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/ |
H A D | test-crypto-pbkdf.c | 34 const char *path; member 55 .path = "/crypto/pbkdf/rfc3962/sha1/iter1", 69 .path = "/crypto/pbkdf/rfc3962/sha1/iter2", 83 .path = "/crypto/pbkdf/rfc3962/sha1/iter1200a", 97 .path = "/crypto/pbkdf/rfc3962/sha1/iter5", 111 .path = "/crypto/pbkdf/rfc3962/sha1/iter1200b", 141 .path = "/crypto/pbkdf/rfc3962/sha1/iter50", 157 .path = "/crypto/pbkdf/rfc6070/sha1/iter1", 169 .path = "/crypto/pbkdf/rfc6070/sha1/iter2", 181 .path = "/crypto/pbkdf/rfc6070/sha1/iter4096", [all …]
|
H 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 …]
|
H A D | test-crypto-akcipher.c | 663 const char *path; member 674 const char *path; member 694 .path = "/crypto/akcipher/rsakey-1024-public", 702 .path = "/crypto/akcipher/rsakey-1024-private", 710 .path = "/crypto/akcipher/rsakey-2048-public", 718 .path = "/crypto/akcipher/rsakey-2048-private", 786 .path = "/crypto/akcipher/rsa1024-raw", 806 .path = "/crypto/akcipher/rsa1024-pkcs1", 831 .path = "/crypto/akcipher/rsa2048-raw", 851 .path = "/crypto/akcipher/rsa2048-pkcs1", [all …]
|
/qemu/tests/avocado/virtiofs_submounts.py.data/ |
H A D | host.sh | 67 path=mnt$i 72 $path 76 path="$path/sub" 80 $path 91 path=mnt$mp_i 95 path="$path/sub" 97 path="$path/$sub_mp" 108 path="$path/mnt$i" 113 $path 117 path="$path/sub" [all …]
|
/qemu/tests/avocado/ |
H A D | acpi-bits.py | 65 for p in paths.split(os.path.pathsep): 66 p = os.path.join(p, tool) 67 if os.path.exists(p) and os.access(p, os.X_OK): 190 target_test_dir = os.path.join(self._workDir, 198 if os.path.isfile(os.path.join(bits_test_dir, filename)) and \ 250 bits_dir = os.path.join(self._workDir, 252 iso_file = os.path.join(self._workDir, 254 mkrescue_script = os.path.join(self._workDir, 299 if not os.path.isdir(prebuiltDir): 305 grub_tar_file = os.path.join(prebuiltDir, [all …]
|
/qemu/hw/xen/ |
H 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 …]
|
/qemu/ |
H 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/ |
H 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 …]
|
H 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/ |
H A D | commands-posix-ssh.c | 62 if (g_mkdir(path, mode) == -1) { in mkdir_for_user() 64 path, g_strerror(errno)); in mkdir_for_user() 70 path, g_strerror(errno)); in mkdir_for_user() 74 if (chmod(path, mode) == -1) { in mkdir_for_user() 76 path, g_strerror(errno)); in mkdir_for_user() 129 path, g_strerror(errno)); in write_authkeys() 133 if (chmod(path, 0600) == -1) { in write_authkeys() 135 path, g_strerror(errno)); in write_authkeys() 311 g_autofree char *path = NULL; in test_authorized_keys_set() local 317 g_free(path); in test_authorized_keys_set() [all …]
|
/qemu/tests/avocado/avocado_qemu/ |
H A D | __init__.py | 22 from avocado.utils.path import find_command 33 BUILD_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))) 35 if os.path.islink(os.path.dirname(os.path.dirname(__file__))): 37 lnk = os.path.dirname(os.path.dirname(__file__)) 39 SOURCE_DIR = os.path.dirname(os.path.dirname(os.readlink(lnk))) 100 def is_readable_executable_file(path): argument 101 return os.path.isfile(path) and os.access(path, os.R_OK | os.X_OK) 129 for path in qemu_bin_paths: 131 return path 638 return boot.path [all …]
|