Revision f146ec9a hw/virtio-serial-bus.c
b/hw/virtio-serial-bus.c | ||
---|---|---|
520 | 520 |
VirtIOSerialPort *port = DO_UPCAST(VirtIOSerialPort, dev, &dev->qdev); |
521 | 521 |
VirtIOSerial *vser = port->vser; |
522 | 522 |
|
523 |
send_control_event(port, VIRTIO_CONSOLE_PORT_REMOVE, 1); |
|
524 |
|
|
523 | 525 |
/* |
524 | 526 |
* Don't decrement nr_ports here; thus we keep a linearly |
525 | 527 |
* increasing port id. Not utilising an id again saves us a couple |
Also available in: Unified diff