26.01.2012 13:54, ronnie sahlberg wrote:
Ok   so what about this

You use a filename starting with "/proc/self/fd/"  and you dont have a
proc filesystem mounted? you are on your own!

No you're not:

IF ! STRNCMP (filename, "/proc/self/fd/", 14)  THEN
          fopen(filename, "r")
ELSE
         fdopen(atoi(filename+14), "r")
FI

If the filename starts with /proc/self/fd/, qemu will
not try to open that file but parse the rest of the
string as a filedescriptor number.

/mjt

Reply via email to