On 07/21/11 10:18, Kevin Wolf wrote:
Am 20.07.2011 19:47, schrieb Eric Blake:
> > We really _do_ need a way to give qemu both an fd and the name of the
> > file that the fd is tied to. On Linux, qemu could use /proc/self/fd to
> > reconstruct the name from fd, but that's not portable to other OS.
Is there any reason for qemu to know the file name if libvirt wants it
to use only pre-opened fds anyway? I don't think it should even know the
file name.
In this case we shouldn't write backing file filenames into image files,
but some sort of libvirt token...... then again that will be a lot of
fun if you want to run things on the command line afterwards.
Jes