Revision 021a1318

b/hw/virtio-serial-bus.c
674 674
{
675 675
    VirtIOSerialPort *port = DO_UPCAST(VirtIOSerialPort, dev, qdev);
676 676

  
677
    monitor_printf(mon, "%*s dev-prop-int: id: %u\n",
678
                   indent, "", port->id);
679
    monitor_printf(mon, "%*s dev-prop-int: guest_connected: %d\n",
680
                   indent, "", port->guest_connected);
681
    monitor_printf(mon, "%*s dev-prop-int: host_connected: %d\n",
682
                   indent, "", port->host_connected);
683
    monitor_printf(mon, "%*s dev-prop-int: throttled: %d\n",
684
                   indent, "", port->throttled);
677
    monitor_printf(mon, "%*sport %d, guest %s, host %s, throttle %s\n",
678
                   indent, "", port->id,
679
                   port->guest_connected ? "on" : "off",
680
                   port->host_connected ? "on" : "off",
681
                   port->throttled ? "on" : "off");
685 682
}
686 683

  
687 684
/* This function is only used if a port id is not provided by the user */

Also available in: Unified diff