/qemu/docs/system/devices/ |
H A D | vhost-user.rst | 3 vhost-user back ends 6 vhost-user back ends are way to service the request of VirtIO devices 10 vhost-user device 16 device that connects via a socket to the vhost-user *daemon*. 21 .. list-table:: vhost-user devices 28 * - vhost-user-blk 30 - See contrib/vhost-user-blk 31 * - vhost-user-fs 34 * - vhost-user-gpio 37 * - vhost-user-gpu [all …]
|
H A D | net.rst | 10 devices or the non-privileged user mode network stack), or to other 41 Using the user mode network stack 44 By using the option ``-net user`` (default configuration if no ``-net`` 45 option is specified), QEMU uses a completely user mode network stack 61 In order to check that the user mode network is working, you can ping 65 Note that ICMP traffic in general does not work with user mode 76 When using the ``'-netdev user,hostfwd=...'`` option, TCP or UDP 80 Using passt as the user mode network stack 83 passt_ can be used as a simple replacement for SLIRP (``-net user``). 85 better performance than ``-net user``, full IPv6 support and better security [all …]
|
/qemu/scripts/ |
H A D | update-syscalltbl.sh | 2 arch/alpha/kernel/syscalls/syscall.tbl,linux-user/alpha/syscall.tbl \ 3 arch/arm/tools/syscall.tbl,linux-user/arm/syscall.tbl \ 4 scripts/syscall.tbl,linux-user/aarch64/syscall_64.tbl \ 5 scripts/syscall.tbl,linux-user/hexagon/syscall.tbl \ 6 scripts/syscall.tbl,linux-user/loongarch64/syscall.tbl \ 7 arch/m68k/kernel/syscalls/syscall.tbl,linux-user/m68k/syscall.tbl \ 8 arch/microblaze/kernel/syscalls/syscall.tbl,linux-user/microblaze/syscall.tbl \ 9 arch/mips/kernel/syscalls/syscall_n32.tbl,linux-user/mips64/syscall_n32.tbl \ 10 arch/mips/kernel/syscalls/syscall_n64.tbl,linux-user/mips64/syscall_n64.tbl \ 11 arch/mips/kernel/syscalls/syscall_o32.tbl,linux-user/mips/syscall_o32.tbl \ [all …]
|
/qemu/tests/docker/dockerfiles/ |
H A D | debian-all-test-cross.docker | 7 # to build and run linux-user tests on GitLab 70 …user,arm-linux-user,hppa-linux-user,i386-linux-user,m68k-linux-user,mips-linux-user,mips64-linux-u… 71 # As a final step configure the user (if env is defined) 73 ARG USER 75 RUN if [ "${USER}" ]; then \ 76 id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi
|
H A D | debian-legacy-test-cross.docker | 7 # sh4-linux-user: binaries don't run with bookworm compiler 45 ENV DEF_TARGET_LIST alpha-linux-user,sh4-linux-user 47 # As a final step configure the user (if env is defined) 48 ARG USER 50 RUN if [ "${USER}" ]; then \ 51 id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi
|
/qemu/docs/interop/ |
H A D | vhost-user.json | 13 # = vhost user backend discovery & capabilities 19 # List the various vhost user backend types. 63 # List of vhost user "block" features. 78 # Capabilities reported by vhost user "block" backends 94 # List of vhost user "input" features. 109 # Capabilities reported by vhost user "input" backends 125 # List of vhost user "gpu" features. 140 # Capabilities reported by vhost user "gpu" backends. 156 # Capabilities reported by vhost user backends. 158 # @type: The vhost user backend type. [all …]
|
/qemu/gdbstub/ |
H A D | internals.h | 105 * Connection helpers for both system and user backends 116 * between user and system mode, mainly to deal with the differences 125 * Returns true to continue, false to re-transmit for user only, the 136 bool gdb_can_reverse(void); /* system emulation, stub for user */ 137 int gdb_target_sigtrap(void); /* user */ 141 /* signal mapping, common for system, specialised for user-mode */ 145 int gdb_get_char(void); /* user only */ 158 * Helpers with separate system and user implementations 163 * Command handlers - either specialised or system or user only 168 void gdb_handle_query_offsets(GArray *params, void *user_ctx); /* user */ [all …]
|
/qemu/hw/virtio/ |
H A D | meson.build | 20 specific_virtio_ss.add(files('vhost-user.c')) 21 system_virtio_ss.add(files('vhost-user-base.c')) 24 system_virtio_ss.add(files('vhost-user-device.c')) 25 system_virtio_ss.add(when: 'CONFIG_VHOST_USER_GPIO', if_true: files('vhost-user-gpio.c')) 26 system_virtio_ss.add(when: 'CONFIG_VHOST_USER_I2C', if_true: files('vhost-user-i2c.c')) 27 system_virtio_ss.add(when: 'CONFIG_VHOST_USER_RNG', if_true: files('vhost-user-rng.c')) 28 system_virtio_ss.add(when: 'CONFIG_VHOST_USER_SND', if_true: files('vhost-user-snd.c')) 29 system_virtio_ss.add(when: 'CONFIG_VHOST_USER_INPUT', if_true: files('vhost-user-input.c')) 32 system_virtio_ss.add(when: 'CONFIG_VIRTIO_PCI', if_true: files('vhost-user-device-pci.c')) 34 if_true: files('vhost-user-gpio-pci.c')) [all …]
|
H A D | vhost-user-device.c | 2 * Generic vhost-user-device implementation for any vhost-user-backend 4 * This is a concrete implementation of vhost-user-base which can be 7 * handled by the vhost-user daemon itself. 19 #include "hw/virtio/vhost-user-base.h" 24 * allows the user to define the key parameters via the command line. 28 .name = "vhost-user-device",
|
H A D | vhost-user-blk-pci.c | 2 * Vhost user blk PCI Bindings 9 * Largely based on the "vhost-user-scsi.c" and "vhost-scsi.c" implemented by: 23 #include "hw/virtio/vhost-user-blk.h" 35 * vhost-user-blk-pci: This extends VirtioPCIProxy. 37 #define TYPE_VHOST_USER_BLK_PCI "vhost-user-blk-pci-base" 95 .generic_name = "vhost-user-blk-pci", 96 .transitional_name = "vhost-user-blk-pci-transitional", 97 .non_transitional_name = "vhost-user-blk-pci-non-transitional",
|
H A D | vhost-user-vsock-pci.c | 2 * Vhost-user vsock PCI Bindings 15 #include "hw/virtio/vhost-user-vsock.h" 21 * vhost-user-vsock-pci: This extends VirtioPCIProxy. 23 #define TYPE_VHOST_USER_VSOCK_PCI "vhost-user-vsock-pci-base" 32 /* vhost-user-vsock-pci */ 74 .generic_name = "vhost-user-vsock-pci", 75 .non_transitional_name = "vhost-user-vsock-pci-non-transitional",
|
/qemu/qga/ |
H A D | commands-windows-ssh.c | 94 * Gets the path to the SSH folder for the specified user. If the user is an 95 * admin it returns the ssh folder located at %PROGRAMDATA%/ssh. If the user is 100 * isAdmin -> Whether the user is an admin or not 114 /* If not an Admin the SSH key is in the user directory. */ in get_ssh_folder() 115 /* Get the user profile directory on the machine. */ in get_ssh_folder() 128 * Creates an entry for the user so they can access the ssh folder in their 132 * userInfo -> Information about the current user 147 error_setg_win32(errp, GetLastError(), "failed to retrieve user %s SID", in create_acl_user() 152 /* Set the permissions for the user. */ in create_acl_user() 175 "failed to set ACL entries for user %s %lu", in create_acl_user() [all …]
|
/qemu/linux-user/ppc/ |
H A D | cpu_loop.c | 2 * qemu user cpu loop 23 #include "user-internals.h" 24 #include "user/cpu_loop.h" 88 cpu_abort(cs, "Critical interrupt while in user mode. " in cpu_loop() 92 cpu_abort(cs, "Machine check exception while in user mode. " in cpu_loop() 102 cpu_abort(cs, "External interrupt while in user mode. " in cpu_loop() 202 cpu_abort(cs, "Syscall exception while in user mode. " in cpu_loop() 206 cpu_abort(cs, "Decrementer interrupt while in user mode. " in cpu_loop() 210 cpu_abort(cs, "Fix interval timer interrupt while in user mode. " in cpu_loop() 214 cpu_abort(cs, "Watchdog timer interrupt while in user mode. " in cpu_loop() [all …]
|
/qemu/docs/user/ |
H A D | main.rst | 3 QEMU User space emulator 9 The following OS are supported in user space emulation: 11 - Linux (referred as qemu-linux-user) 13 - BSD (referred as qemu-bsd-user) 18 QEMU user space emulation has the following notable features: 47 .. _linux-user-mode: 49 Linux User space emulator 116 (NOTE: the actual 'strace' program will not work because the user 125 - user mode (Alpha) 129 - user mode (Arm) [all …]
|
/qemu/hw/9pfs/ |
H A D | 9p-xattr-user.c | 2 * 9p user. xattr callback 28 if (strncmp(name, "user.virtfs.", 12) == 0) { in mp_user_getxattr() 30 * Don't allow fetch of user.virtfs namespace in mp_user_getxattr() 43 if (strncmp(name, "user.virtfs.", 12) == 0) { in mp_user_listxattr() 46 if (strncmp(name, "user.virtfs.system.posix_acl_", 29) == 0) { in mp_user_listxattr() 52 * Don't allow fetch of user.virtfs namespace in mp_user_listxattr() 75 if (strncmp(name, "user.virtfs.", 12) == 0) { in mp_user_setxattr() 77 * Don't allow fetch of user.virtfs namespace in mp_user_setxattr() 89 if (strncmp(name, "user.virtfs.", 12) == 0) { in mp_user_removexattr() 91 * Don't allow fetch of user.virtfs namespace in mp_user_removexattr() [all …]
|
/qemu/tests/qtest/libqos/ |
H A D | vhost-user-blk.c | 27 #include "vhost-user-blk.h" 36 if (!g_strcmp0(interface, "vhost-user-blk")) { in qvhost_user_blk_get_driver() 43 fprintf(stderr, "%s not present in vhost-user-blk-device\n", interface); in qvhost_user_blk_get_driver() 115 qos_node_create_driver("vhost-user-blk-device", in vhost_user_blk_register_nodes() 117 qos_node_consumes("vhost-user-blk-device", "virtio-bus", &opts); in vhost_user_blk_register_nodes() 118 qos_node_produces("vhost-user-blk-device", "vhost-user-blk"); in vhost_user_blk_register_nodes() 123 qos_node_create_driver("vhost-user-blk-pci", vhost_user_blk_pci_create); in vhost_user_blk_register_nodes() 124 qos_node_consumes("vhost-user-blk-pci", "pci-bus", &opts); in vhost_user_blk_register_nodes() 125 qos_node_produces("vhost-user-blk-pci", "vhost-user-blk"); in vhost_user_blk_register_nodes()
|
H A D | virtio-gpio.c | 54 if (!g_strcmp0(interface, "vhost-user-gpio")) { in qvirtio_gpio_get_driver() 156 /* vhost-user-gpio-device */ in virtio_gpio_register_nodes() 157 edge_opts.extra_device_opts = "id=gpio0,chardev=chr-vhost-user-test " in virtio_gpio_register_nodes() 159 qos_node_create_driver("vhost-user-gpio-device", in virtio_gpio_register_nodes() 161 qos_node_consumes("vhost-user-gpio-device", "virtio-bus", &edge_opts); in virtio_gpio_register_nodes() 162 qos_node_produces("vhost-user-gpio-device", "vhost-user-gpio"); in virtio_gpio_register_nodes() 165 edge_opts.extra_device_opts = "id=gpio0,addr=04.0,chardev=chr-vhost-user-test"; in virtio_gpio_register_nodes() 167 qos_node_create_driver("vhost-user-gpio-pci", virtio_gpio_pci_create); in virtio_gpio_register_nodes() 168 qos_node_consumes("vhost-user-gpio-pci", "pci-bus", &edge_opts); in virtio_gpio_register_nodes() 169 qos_node_produces("vhost-user-gpio-pci", "vhost-user-gpio"); in virtio_gpio_register_nodes()
|
H A D | virtio-scmi.c | 56 if (!g_strcmp0(interface, "vhost-user-scmi")) { in qvirtio_scmi_get_driver() 158 /* vhost-user-scmi-device */ in virtio_scmi_register_nodes() 159 edge_opts.extra_device_opts = "id=scmi,chardev=chr-vhost-user-test " in virtio_scmi_register_nodes() 161 qos_node_create_driver("vhost-user-scmi-device", in virtio_scmi_register_nodes() 163 qos_node_consumes("vhost-user-scmi-device", "virtio-bus", &edge_opts); in virtio_scmi_register_nodes() 164 qos_node_produces("vhost-user-scmi-device", "vhost-user-scmi"); in virtio_scmi_register_nodes() 167 edge_opts.extra_device_opts = "id=scmi,addr=04.0,chardev=chr-vhost-user-test"; in virtio_scmi_register_nodes() 169 qos_node_create_driver("vhost-user-scmi-pci", virtio_scmi_pci_create); in virtio_scmi_register_nodes() 170 qos_node_consumes("vhost-user-scmi-pci", "pci-bus", &edge_opts); in virtio_scmi_register_nodes() 171 qos_node_produces("vhost-user-scmi-pci", "vhost-user-scmi"); in virtio_scmi_register_nodes()
|
/qemu/plugins/ |
H A D | api-user.c | 2 * QEMU Plugin API - user-mode only implementations 4 * This provides the APIs that have a user-mode specific 5 * implementations or are only relevant to user-mode. 18 * Virtual Memory queries - these are all NOPs for user-mode which 44 * Time control - for user mode the only real time is wall clock time 45 * so realistically all you can do in user mode is slow down execution 56 qemu_log_mask(LOG_UNIMP, "user-mode can't control time"); in qemu_plugin_update_ns()
|
/qemu/include/hw/virtio/ |
H A D | vhost-user.h | 61 * VhostUserState - shared state for all vhost-user devices 75 * @user: allocated area for storing shared state 79 * User can either directly g_new() space for the state or embed 85 bool vhost_user_init(VhostUserState *user, CharBackend *chr, Error **errp); 89 * @user: ptr to use state 94 void vhost_user_cleanup(VhostUserState *user); 97 * vhost_user_async_close() - cleanup vhost-user post connection drop 101 * @cb: the user callback function to complete the clean-up 103 * This function is used to handle the shutdown of a vhost-user
|
/qemu/.gitlab-ci.d/ |
H A D | crossbuilds.yml | 4 cross-armhf-user: 18 cross-arm64-user: 44 cross-i686-user: 64 …RE_OPTS: --target-list=i386-softmmu,i386-linux-user,arm-softmmu,arm-linux-user,ppc-softmmu,ppc-lin… 78 cross-mipsel-user: 92 cross-mips64el-user: 106 cross-ppc64el-user: 128 cross-riscv64-user: 142 cross-s390x-user:
|
/qemu/include/qom/ |
H A D | object_interfaces.h | 8 #define TYPE_USER_CREATABLE "user-creatable" 28 * Interface is mandatory for objects that are designed to be user 52 * @uc: the user-creatable object whose complete() method is called if defined 80 * Create an instance of the user creatable object @type, placing 95 * Create an instance of the user creatable object according to the 105 * Parses the option for the user creatable object with a keyval parser and 120 * Create an instance of the user creatable object by parsing @str 135 * Create an instance of the user creatable object by parsing @cmdline 152 * "help"/"?" nor a valid user creatable type, no help will be printed 165 * Delete an instance of the user creatable object identified [all …]
|
/qemu/tests/lcitool/ |
H A D | refresh | 56 # Optional user setting, this will always be the last thing added 59 "# As a final step configure the user (if env is defined)", 60 "ARG USER", 62 "RUN if [ \"${USER}\" ]; then \\", 63 " id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi\n" 192 "x86_64-linux-user," 193 "i386-softmmu,i386-linux-user")) 198 "aarch64-softmmu,aarch64-linux-user")) 203 "arm-softmmu,arm-linux-user")) 209 "x86_64-linux-user," [all …]
|
/qemu/include/qemu/ |
H A D | vhost-user-server.h | 2 * Sharing QEMU devices via vhost-user protocol 14 #include "subprojects/libvhost-user/libvhost-user.h" /* only for the type definitions */ 21 /* A kick fd that we monitor on behalf of libvhost-user */ 32 * A vhost-user server instance with user-defined VuDevIface callbacks. 33 * Vhost-user device backends can be implemented using VuServer. VuDevIface
|
/qemu/net/ |
H A D | slirp.c | 714 if (strcmp(nc->model, "user")) { in slirp_lookup() 721 monitor_printf(mon, "user mode network stack not in use\n"); in slirp_lookup() 917 /* automatic user mode samba server configuration */ 947 error_setg(errp, "Failed to retrieve user name"); in slirp_smb() 991 "security = user\n" in slirp_smb() 992 "map to guest = Bad User\n" in slirp_smb() 1001 "force user=%s\n", in slirp_smb() 1196 const NetdevUserOptions *user; in net_init_slirp() local 1201 user = &netdev->u.user; in net_init_slirp() 1203 if ((user->has_ipv6 && user->ipv6 && !user->has_ipv4) || in net_init_slirp() [all …]
|