[Qemu-devel] [PATCH v2 3/4] osdep: Enable qemu_open to dup pre-opened fd

2012-06-08 Thread Corey Bryant
This patch adds support to qemu_open to dup(X) a pre-opened file descriptor if the filename is of the format /dev/fd/X. This can be used when QEMU is restricted from opening files, and the management application opens files on QEMU's behalf. v2: -Get rid of file_open and move dup code to qemu_op

[Qemu-devel] [PATCH v2 3/4] osdep: Enable qemu_open to dup pre-opened fd

2012-06-08 Thread Corey Bryant
This patch adds support to qemu_open to dup(X) a pre-opened file descriptor if the filename is of the format /dev/fd/X. This can be used when QEMU is restricted from opening files, and the management application opens files on QEMU's behalf. v2: -Get rid of file_open and move dup code to qemu_op

[Qemu-devel] [PATCH v2 3/4] osdep: Enable qemu_open to dup pre-opened fd

2012-06-08 Thread Corey Bryant
This patch adds support to qemu_open to dup(X) a pre-opened file descriptor if the filename is of the format /dev/fd/X. This can be used when QEMU is restricted from opening files, and the management application opens files on QEMU's behalf. v2: -Get rid of file_open and move dup code to qemu_op