[libvirt] [PATCH 06/10] qemu: Reorganize qemuBuildDomainLoaderCommandLine call
Peter Krempa
pkrempa at redhat.com
Wed Feb 17 08:44:12 UTC 2016
On Tue, Feb 16, 2016 at 19:44:16 -0500, John Ferlan wrote:
> Reorganize the module to put the function after the -cpu processing
> to form a logical order of processing for qemuBuildCommandLine working
> top down in the module.
I'm not really a fan of this ...
>
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
> src/qemu/qemu_command.c | 141 ++++++++++++++++++++++++------------------------
> 1 file changed, 71 insertions(+), 70 deletions(-)
>
> diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
> index 9dbc4a3..70da921 100644
> --- a/src/qemu/qemu_command.c
> +++ b/src/qemu/qemu_command.c
> @@ -790,6 +790,77 @@ qemuBuildCpuCommandLine(virCommandPtr cmd,
> }
It doesn't remove a forward declaration of a static function, just
shuffles code around.
> +/** Start Domain Loader (-bios, file=%s,if=pflash) arguments */
This is yet another new style to the src/qemu subtree.
> +static int
> +qemuBuildDomainLoaderCommandLine(virCommandPtr cmd,
I don't think it's worth moving the code so that it just is in the
correct order. Is there any other reason?
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160217/6b7c09d8/attachment-0001.sig>
More information about the libvir-list
mailing list