/openbmc/qemu/chardev/ |
H A D | trace-events | 21 chr_socket_poll_err(void *chrdev, const char *label) "chardev socket poll error %p (%s)" 22 chr_socket_recv_err(void *chrdev, const char *label, const char *err) "chardev socket recv error %p… 23 chr_socket_recv_eof(void *chrdev, const char *label) "chardev socket recv end-of-file %p (%s)" 24 chr_socket_write_err(void *chrdev, const char *label, const char *err) "chardev socket write error … 25 chr_socket_disconnect(void *chrdev, const char *label) "chardev socket disconnect %p (%s)" 26 chr_socket_hangup(void *chrdev, const char *label) "chardev socket hangup %p (%s)" 27 chr_socket_ws_handshake_err(void *chrdev, const char *label, const char *err) "chardev socket webso… 28 chr_socket_tls_handshake_err(void *chrdev, const char *label, const char *err) "chardev socket TLS … 29 chr_socket_tls_init_err(void *chrdev, const char *label, const char *err) "chardev socket TLS init …
|
H A D | char-hmp-cmds.c | 41 const char *chardev = qdict_get_str(qdict, "device"); in hmp_ringbuf_write() local 45 qmp_ringbuf_write(chardev, data, false, 0, &err); in hmp_ringbuf_write() 53 const char *chardev = qdict_get_str(qdict, "device"); in hmp_ringbuf_read() local 58 data = qmp_ringbuf_read(chardev, size, false, 0, &err); in hmp_ringbuf_read()
|
H A D | char-mux.c | 373 drv = qemu_chr_find(mux->chardev); in qemu_chr_open_mux() 375 error_setg(errp, "mux: base chardev %s not found", mux->chardev); in qemu_chr_open_mux() 390 const char *chardev = qemu_opt_get(opts, "chardev"); in qemu_chr_parse_mux() local 393 if (chardev == NULL) { in qemu_chr_parse_mux() 400 mux->chardev = g_strdup(chardev); in qemu_chr_parse_mux()
|
/openbmc/qemu/docs/system/arm/ |
H A D | xenpvh.rst | 10 swtpm application running on host machine via chardev socket. This 29 -chardev socket,id=libxl-cmd,path=qmp-libxl-1,server=on,wait=off \ 30 -mon chardev=libxl-cmd,mode=control \ 31 -chardev socket,id=libxenstat-cmd,path=qmp-libxenstat-1,server=on,wait=off \ 32 -mon chardev=libxenstat-cmd,mode=control \ 35 -chardev socket,id=chrtpm,path=tmp/vtpm2/swtpm-sock \ 36 -tpmdev emulator,id=tpm0,chardev=chrtpm -machine tpm-base-addr=0x0C000000 39 via chardev socket.
|
/openbmc/qemu/docs/ |
H A D | colo-proxy.txt | 102 chardev socket. 122 packets to a chardev. 148 COLO-compare needs two input chardevs and one output chardev: 167 -chardev socket,id=mirror0,host=3.3.3.3,port=9003,server=on,wait=off 168 -chardev socket,id=compare1,host=3.3.3.3,port=9004,server=on,wait=off 169 -chardev socket,id=compare0,host=3.3.3.3,port=9001,server=on,wait=off 170 -chardev socket,id=compare0-0,host=3.3.3.3,port=9001 171 -chardev socket,id=compare_out,host=3.3.3.3,port=9005,server=on,wait=off 172 -chardev socket,id=compare_out0,host=3.3.3.3,port=9005 182 -chardev socket,id=red0,host=3.3.3.3,port=9003 [all …]
|
H A D | qdev-device-use.txt | 157 -chardev, and the guest device with -device. 169 -chardev HOST-OPTS...,id=CHR-ID 170 -device DEVNAME,chardev=CHR-ID,DEV-OPTS... 186 -device usb-braille,chardev=braille -chardev braille,id=braille 188 * -usbdevice serial::chardev is gone since v2.12.0. It became 189 -device usb-serial,chardev=dev. 191 LEGACY-CHARDEV translates to -chardev HOST-OPTS... as follows: 193 * null becomes -chardev null 197 * vc:WIDTHxHEIGHT becomes -chardev vc,width=WIDTH,height=HEIGHT 199 * vc:<COLS>Cx<ROWS>C becomes -chardev vc,cols=<COLS>,rows=<ROWS> [all …]
|
H A D | COLO-FT.txt | 156 interface. The chardev's with 127.0.0.1 IP's loopback to the local qemu 165 -chardev socket,id=mirror0,host=0.0.0.0,port=9003,server=on,wait=off \ 166 -chardev socket,id=compare1,host=0.0.0.0,port=9004,server=on,wait=on \ 167 -chardev socket,id=compare0,host=127.0.0.1,port=9001,server=on,wait=off \ 168 -chardev socket,id=compare0-0,host=127.0.0.1,port=9001 \ 169 -chardev socket,id=compare_out,host=127.0.0.1,port=9005,server=on,wait=off \ 170 -chardev socket,id=compare_out0,host=127.0.0.1,port=9005 \ 196 -chardev socket,id=red0,host=$primary_ip,port=9003,reconnect-ms=1000 \ 197 -chardev socket,id=red1,host=$primary_ip,port=9004,reconnect-ms=1000 \ 270 {"execute": "chardev-remove", "arguments":{ "id": "red1" } } [all …]
|
/openbmc/qemu/tests/tcg/arm/ |
H A D | Makefile.softmmu-target | 19 run-test-armv6m-undef: QEMU_OPTS=-semihosting-config enable=on,target=native,chardev=output -M micr… 49 QEMU_OPTS+=$(QEMU_BASE_MACHINE) -semihosting-config enable=on,target=native,chardev=output -kernel 52 QEMU_SEMIHOST=-serial none -chardev stdio,mux=on,id=stdio0 -semihosting-config enable=on,chardev=st… 65 -chardev file$(COMMA)path=$<.out$(COMMA)id=output \ 73 -chardev file$(COMMA)path=$<.out$(COMMA)id=output \
|
/openbmc/qemu/qapi/ |
H A D | char.json | 21 # backend (e.g. with the chardev=... option) is in open or closed 35 # @query-chardev: 66 { 'command': 'query-chardev', 'returns': ['ChardevInfo'], 81 # @query-chardev-backends: 109 { 'command': 'query-chardev-backends', 'returns': ['ChardevBackendInfo'] } 195 # Configuration shared across all chardev backends 255 # recreated on the fly while the chardev server is active. If 327 # @chardev: name of the base chardev. 332 'data': { 'chardev': 'str' }, 581 # @data: Configuration shared across all chardev backends [all …]
|
H A D | yank.json | 18 'data': [ 'block-node', 'chardev', 'migration' ] } 39 # @id: the chardev's ID 58 # - socket chardev: Yanking it will shut down the connected socket. 71 'chardev': 'YankInstanceChardev' } }
|
/openbmc/qemu/hw/scsi/ |
H A D | vhost-user-scsi.c | 91 qemu_chr_fe_disconnect(&vs->conf.chardev); in vhost_user_scsi_set_status() 127 qemu_chr_fe_disconnect(&vs->conf.chardev); in vhost_user_scsi_handle_output() 196 qemu_chr_fe_set_handlers(&vs->conf.chardev, NULL, NULL, in vhost_user_scsi_disconnect() 213 qemu_chr_fe_disconnect(&vs->conf.chardev); in vhost_user_scsi_event() 219 vhost_user_async_close(dev, &vs->conf.chardev, &vsc->dev, in vhost_user_scsi_event() 238 ret = qemu_chr_fe_wait_connected(&vs->conf.chardev, errp); in vhost_user_scsi_realize_connect() 245 qemu_chr_fe_disconnect(&vs->conf.chardev); in vhost_user_scsi_realize_connect() 263 if (!vs->conf.chardev.chr) { in vhost_user_scsi_realize() 276 if (!vhost_user_init(&s->vhost_user, &vs->conf.chardev, errp)) { in vhost_user_scsi_realize() 299 qemu_chr_fe_set_handlers(&vs->conf.chardev, NULL, NULL, in vhost_user_scsi_realize() [all …]
|
/openbmc/qemu/hw/char/ |
H A D | spapr_vty.c | 17 CharBackend chardev; member 76 qemu_chr_fe_accept_input(&dev->chardev); in vty_getchars() 87 qemu_chr_fe_write_all(&dev->chardev, buf, len); in vty_putchars() 94 if (!qemu_chr_fe_backend_connected(&dev->chardev)) { in spapr_vty_realize() 99 qemu_chr_fe_set_handlers(&dev->chardev, vty_can_receive, in spapr_vty_realize() 157 void spapr_vty_create(SpaprVioBus *bus, Chardev *chardev) in spapr_vty_create() argument 162 qdev_prop_set_chr(dev, "chardev", chardev); in spapr_vty_create() 168 DEFINE_PROP_CHR("chardev", SpaprVioVty, chardev),
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | qsd-jobs | 57 $QSD --chardev stdio,id=stdio --monitor chardev=stdio \ 71 $QSD --chardev stdio,id=stdio --monitor chardev=stdio \
|
/openbmc/qemu/hw/block/ |
H A D | vhost-user-blk.c | 253 qemu_chr_fe_disconnect(&s->chardev); in vhost_user_blk_set_status() 307 qemu_chr_fe_disconnect(&s->chardev); in vhost_user_blk_handle_output() 380 qemu_chr_fe_set_handlers(&s->chardev, NULL, NULL, vhost_user_blk_event, in vhost_user_blk_disconnect() 395 qemu_chr_fe_disconnect(&s->chardev); in vhost_user_blk_event() 401 vhost_user_async_close(dev, &s->chardev, &s->dev, in vhost_user_blk_event() 419 ret = qemu_chr_fe_wait_connected(&s->chardev, errp); in vhost_user_blk_realize_connect() 426 qemu_chr_fe_disconnect(&s->chardev); in vhost_user_blk_realize_connect() 434 qemu_chr_fe_disconnect(&s->chardev); in vhost_user_blk_realize_connect() 451 if (!s->chardev.chr) { in vhost_user_blk_device_realize() 474 if (!vhost_user_init(&s->vhost_user, &s->chardev, errp)) { in vhost_user_blk_device_realize() [all …]
|
/openbmc/openbmc/poky/meta/conf/machine/include/riscv/ |
H A D | qemuriscv.inc | 35 QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=… 36 … -device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1,nodelay=on -de…
|
/openbmc/openbmc/poky/meta/conf/machine/include/loongarch/ |
H A D | qemuloongarch.inc | 32 QB_SERIAL_OPT = "-device virtio-serial-pci -chardev null,id=virtcon -device virtconsole,chardev=vir… 33 …= " -device virtio-serial-pci -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1,nodelay=on -de…
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | Makefile.softmmu-target | 57 QEMU_BASE_ARGS=-semihosting-config enable=on,target=native,chardev=output 61 QEMU_SEMIHOST=-serial none -chardev stdio,mux=on,id=stdio0 -semihosting-config enable=on,chardev=st… 78 -chardev file$(COMMA)path=$<.out$(COMMA)id=output \ 86 -chardev file$(COMMA)path=$<.out$(COMMA)id=output \
|
/openbmc/linux/tools/virtio/virtio-trace/ |
H A D | README | 59 -chardev pipe,id=charchannel0,path=/tmp/virtio-trace/agent-ctl-path\ 60 -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,\ 63 -chardev pipe,id=charchannel1,path=/tmp/virtio-trace/trace-path-cpu0\ 64 -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,\ 82 Here, chardev names are restricted to trace-path-cpuX and agent-ctl-path. For 83 example, if a guest use three CPUs, chardev names should be trace-path-cpu0, 87 You can find some chardev in /dev/virtio-ports/ in the guest. 109 the guest will stop by specification of chardev in QEMU. This blocking mode may
|
/openbmc/qemu/docs/system/s390x/ |
H A D | 3270.rst | 15 a ``tn3270`` chardev. The guest will see a 3270 channel device. In order 16 to actually be able to use it, attach the ``x3270`` emulator to the chardev. 25 * Add a ``tn3270`` chardev and a ``x-terminal3270`` to the QEMU command line:: 27 -chardev socket,id=ch0,host=0.0.0.0,port=2300,wait=off,server=on,tn3270=on 28 -device x-terminal3270,chardev=ch0,devno=fe.0.000a,id=terminal0
|
/openbmc/qemu/hw/virtio/ |
H A D | vhost-user-base.c | 239 qemu_chr_fe_set_handlers(&vub->chardev, in vub_disconnect() 253 qemu_chr_fe_disconnect(&vub->chardev); in vub_event() 259 vhost_user_async_close(dev, &vub->chardev, &vub->vhost_dev, in vub_event() 276 if (!vub->chardev.chr) { in vub_device_realize() 303 if (!vhost_user_init(&vub->vhost_user, &vub->chardev, errp)) { in vub_device_realize() 334 qemu_chr_fe_set_handlers(&vub->chardev, NULL, NULL, vub_event, NULL, in vub_device_realize()
|
/openbmc/qemu/docs/system/i386/ |
H A D | xenpvh.rst | 35 -chardev socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-3,server=on,wait=off \ 36 -mon chardev=libxl-cmd,mode=control \ 37 -chardev socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-3,server=on,wait=off \ 38 -mon chardev=libxenstat-cmd,mode=control \
|
/openbmc/qemu/docs/system/devices/ |
H A D | vhost-user-rng.rst | 30 The QEMU invocation needs to create a chardev socket the device can 36 -chardev socket,path=$(PATH)/rng.sock,id=rng0 \ 37 -device vhost-user-rng-pci,chardev=rng0 \
|
H A D | vhost-user-input.rst | 33 The QEMU invocation needs to create a chardev socket to communicate with the 40 -chardev socket,path=/tmp/input.sock,id=mouse0 \ 41 -device vhost-user-input-pci,chardev=mouse0 \
|
H A D | vhost-user.rst | 15 a ``chardev`` option which specifies the ID of the ``--chardev`` 118 Then you start your QEMU instance specifying the device, chardev and 125 -chardev socket,id=ba1,path=/var/run/foo.sock \\ 126 -device vhost-user-foo,chardev=ba1,$OTHER_ARGS \\
|
/openbmc/qemu/ui/ |
H A D | dbus-chardev.c | 95 dbus_display_chardev_export(dpy, event->chardev); in dbus_display_on_notify() 98 dbus_display_chardev_unexport(dpy, event->chardev); in dbus_display_on_notify() 188 .chardev = dc, in dbus_chr_open() 291 .chardev = dc, in char_dbus_finalize()
|