Re: [Qemu-devel] [RFC PATCH 3/4] block: Enable QEMU to retrieve passed fd before attempting open

2012-05-22 Thread Corey Bryant
On 05/21/2012 05:50 PM, Eric Blake wrote: On 05/21/2012 02:19 PM, Corey Bryant wrote: With this patch, when QEMU needs to open a file, it will first check to see if a matching filename/fd pair were passed via the -filefd command line option or the getfd_file monitor command. If a match is

[Qemu-devel] [RFC PATCH 3/4] block: Enable QEMU to retrieve passed fd before attempting open

2012-05-21 Thread Corey Bryant
With this patch, when QEMU needs to open a file, it will first check to see if a matching filename/fd pair were passed via the -filefd command line option or the getfd_file monitor command. If a match is found, QEMU will use the passed fd and will not attempt to open the file. Otherwise, if a

Re: [Qemu-devel] [RFC PATCH 3/4] block: Enable QEMU to retrieve passed fd before attempting open

2012-05-21 Thread Eric Blake
On 05/21/2012 02:19 PM, Corey Bryant wrote: With this patch, when QEMU needs to open a file, it will first check to see if a matching filename/fd pair were passed via the -filefd command line option or the getfd_file monitor command. If a match is found, QEMU will use the passed fd and will