Home
last modified time | relevance | path

Searched refs:guest_connected (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/char/
H A Dvirtio_console.c230 bool guest_connected; member
701 if (!port->guest_connected) { in will_read_block()
712 if (!port->guest_connected) { in will_write_block()
740 if (!port->guest_connected) in port_fops_read()
760 if (!port->guest_connected) in port_fops_read()
792 if (!port->guest_connected) in wait_port_writable()
971 if (!port->guest_connected) { in port_fops_poll()
998 port->guest_connected = false; in port_fops_release()
1047 if (port->guest_connected) { in port_fops_open()
1053 port->guest_connected = true; in port_fops_open()
[all …]
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-serial.h57 void (*set_guest_connected)(VirtIOSerialPort *port, int guest_connected);
142 bool guest_connected; member
/openbmc/qemu/hw/char/
H A Dvirtio-serial-bus.c297 if (!port || !port->host_connected || !port->guest_connected) { in virtio_serial_write()
318 if (use_multiport(port->vser) && !port->guest_connected) { in virtio_serial_guest_ready()
445 port->guest_connected = cpkt.value; in handle_control_message()
548 if (port->guest_connected && port->host_connected && vsc->guest_writable) { in handle_input()
616 if (port->guest_connected) { in guest_reset()
617 port->guest_connected = false; in guest_reset()
641 port->guest_connected = true; in set_status()
699 qemu_put_byte(f, port->guest_connected); in virtio_serial_save_device()
739 vsc->set_guest_connected(port, port->guest_connected); in virtio_serial_post_load_timer_cb()
775 port->guest_connected = qemu_get_byte(f); in fetch_active_ports_list()
[all …]
H A Dvirtio-console.c111 static void set_guest_connected(VirtIOSerialPort *port, int guest_connected) in set_guest_connected() argument
118 qemu_chr_fe_set_open(&vcon->chr, guest_connected); in set_guest_connected()
122 qapi_event_send_vserport_change(dev->id, guest_connected); in set_guest_connected()