Revision c18e2f94 hw/virtio-9p-debug.c
b/hw/virtio-9p-debug.c | ||
---|---|---|
330 | 330 |
BUG_ON(!llogfile); |
331 | 331 |
|
332 | 332 |
switch (pdu->id) { |
333 |
case P9_TREADDIR: |
|
334 |
fprintf(llogfile, "TREADDIR: ("); |
|
335 |
pprint_int32(pdu, 0, &offset, "fid"); |
|
336 |
pprint_int64(pdu, 0, &offset, ", initial offset"); |
|
337 |
pprint_int32(pdu, 0, &offset, ", max count"); |
|
338 |
break; |
|
339 |
case P9_RREADDIR: |
|
340 |
fprintf(llogfile, "RREADDIR: ("); |
|
341 |
pprint_int32(pdu, 1, &offset, "count"); |
|
342 |
#ifdef DEBUG_DATA |
|
343 |
pprint_data(pdu, 1, &offset, ", data"); |
|
344 |
#endif |
|
345 |
break; |
|
333 | 346 |
case P9_TVERSION: |
334 | 347 |
fprintf(llogfile, "TVERSION: ("); |
335 | 348 |
pprint_int32(pdu, 0, &offset, "msize"); |
Also available in: Unified diff