Hi,

On Thu, 1 Dec 2005, W. Craig Scratchley wrote:

> On Windows (XP), however, I am getting files of the form s??? in the C:\
> directory.  This is causing problems at SFU because student accounts don't
> have write access to the C:\ directory and this seems to be causing Qemu to
> immediately crash.
> 
> [...]  
> 
> Seems like an issue which has not yet been addressed for Windows builds.

Correct. The culprit is the function get_tmp_filename() in block.c. Since 
you cannot remove a file, but still keep a filehandle open (on windblows), 
there is no really nice way to go about that.

You *could* make an array of temporary files, and register a cleanup 
function with atexit(), but I do not know if that would be called when 
closing the window by hitting the "x" button (after all, this is my 
favorite way to exit QEmu when I called it with -snapshot).

Hth,
Dscho



_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to