History | View | Annotate | Download (13.1 kB)
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 fileit results in a SEGV deep down in glibc:
Program received signal SIGSEGV, Segmentation fault.0x008fca8c in fwrite () from /lib/libc.so.6...
Flush the debug message out to the log file.
This patch fluesh the debug messages to the log file at the end of eachdebug message.
Changes from V1:Used fflush instead fseek for the flush.
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>...
virtio-9p: Add a virtio 9p device to qemu
This patch doesn't implement the 9p protocol handlingcode. It adds a simple device which dump the protocol data.
[jvrao@linux.vnet.ibm.com: Little-Endian to host format conversion][aneesh.kumar@linux.vnet.ibm.com: Multiple-mounts support]...