[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Location of temporary file for sectors on Windows (XP)
From: |
Johannes Schindelin |
Subject: |
Re: [Qemu-devel] Location of temporary file for sectors on Windows (XP) |
Date: |
Tue, 6 Dec 2005 02:56:54 +0100 (CET) |
Hi,
On Tue, 6 Dec 2005, malc wrote:
> On Tue, 6 Dec 2005, Johannes Schindelin wrote:
>
> > 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.
>
> I would venture a gues that winblows is windows in which case you are not
> really correct:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp
I cannot access that link...
> FILE_SHARE_DELETE and all that
... but having had lots of fun with win32 I gather this is not really
backwards compatible? Or, alternatively, it fails on FAT?
Ciao,
Dscho