Statistics
| Branch: | Revision:

root / hw / virtio-9p-debug.c @ 36388314

History | View | Annotate | Download (13.1 kB)

# Date Author Comment
a03c54f1 07/13/2010 05:06 pm Sripathi Kodi

virtio-9p: Avoid SEGV when log file couldn't be opened

While running in debug mode if 9P server is unable to open the log file
it results in a SEGV deep down in glibc:

Program received signal SIGSEGV, Segmentation fault.
0x008fca8c in fwrite () from /lib/libc.so.6...

0db09dd2 06/22/2010 11:15 pm Venkateswararao Jujjuri (JV)

Flush the debug message out to the log file.

This patch fluesh the debug messages to the log file at the end of each
debug message.

Changes from V1:
Used fflush instead fseek for the flush.

Signed-off-by: Venkateswararao Jujjuri <>...

9f107513 05/03/2010 08:17 pm Anthony Liguori

virtio-9p: Add a virtio 9p device to qemu

This patch doesn't implement the 9p protocol handling
code. It adds a simple device which dump the protocol data.

[: Little-Endian to host format conversion]
[: Multiple-mounts support]...