On 03/14/2014 07:42 AM, Daniel P. Berrange wrote:
The point is to get something that works with the "native" tools. In
Xen world the goal was to create a valid /etc/xen/ config file, in
QEMU world the goal is to create an ARGV set you can use to launch
QEMU. So you are correct that we shouldn't generate ARGV that rely
on FD passing, since the user can't run those.
Maybe we could modify the output to give the full shell line, including
redirections, as in:
qemu ... -use-of-fd 5 ... 5<>/path/to/file
But we still have to figure out how to pick fd numbers, and to modify
our output to handle redirections...
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org