Revision fbe0c559
b/hw/virtio-serial-bus.c | ||
---|---|---|
594 | 594 |
|
595 | 595 |
id = qemu_get_be32(f); |
596 | 596 |
port = find_port_by_id(s, id); |
597 |
if (!port) { |
|
598 |
return -EINVAL; |
|
599 |
} |
|
597 | 600 |
|
598 | 601 |
port->guest_connected = qemu_get_byte(f); |
599 | 602 |
host_connected = qemu_get_byte(f); |
Also available in: Unified diff