Re: [Qemu-devel] [PATCH v2 0/4] initialize progname with error_set_progname()

2015-01-22 Thread Markus Armbruster
Hitoshi Mitake writes: > In the context of some subcommands of QEMU, error_get_progname() can > be used for obtaining argv[0]. The function is useful for the commands > because it is possible to detect a name of executable file and switch > behavior based on the function like busybox. e.g. block

[Qemu-devel] [PATCH v2 0/4] initialize progname with error_set_progname()

2015-01-22 Thread Hitoshi Mitake
In the context of some subcommands of QEMU, error_get_progname() can be used for obtaining argv[0]. The function is useful for the commands because it is possible to detect a name of executable file and switch behavior based on the function like busybox. e.g. block drivers can switch behavior based