Displaying 1 result from an estimated 1 matches for "vircommandnewarglist".
2012 Aug 16
1
Where does "cmd" initailize in qemu_command.c?
...have a question when I reading the libvirt source
codes.
I have known the process of how libvirt start/manage qemu, since I
need to write a driver based on libvirt. But one thing also confused, please
give me some tips.
1.
In qemu_command.c, there is a function call "cmd =
virCommandNewArgList(emulator, "-S", NULL);", which initializes pointer
"cmd". However, I don't find the initial value of "cmd->args", which
represents the input of virFindFileInPath in Util.c. Through
virFindFileInPath, one could find a requested executable file in the PATH
en...