Revision 8f354003 hw/virtio-9p-debug.c

b/hw/virtio-9p-debug.c
602 602
        fprintf(llogfile, "RLOCK: (");
603 603
        pprint_int8(pdu, 0, &offset, "status");
604 604
        break;
605
    case P9_TGETLOCK:
606
        fprintf(llogfile, "TGETLOCK: (");
607
        pprint_int32(pdu, 0, &offset, "fid");
608
        pprint_int8(pdu, 0, &offset, ", type");
609
        pprint_int64(pdu, 0, &offset, ", start");
610
        pprint_int64(pdu, 0, &offset, ", length");
611
        pprint_int32(pdu, 0, &offset, ", proc_id");
612
        pprint_str(pdu, 0, &offset, ", client_id");
613
        break;
614
    case P9_RGETLOCK:
615
        fprintf(llogfile, "RGETLOCK: (");
616
        pprint_int8(pdu, 0, &offset, "type");
617
        pprint_int64(pdu, 0, &offset, ", start");
618
        pprint_int64(pdu, 0, &offset, ", length");
619
        pprint_int32(pdu, 0, &offset, ", proc_id");
620
        pprint_str(pdu, 0, &offset, ", client_id");
621
        break;
605 622
    default:
606 623
        fprintf(llogfile, "unknown(%d): (", pdu->id);
607 624
        break;

Also available in: Unified diff