[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH qemu 4/6] vl.c: change 'defconfig' variable to b
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH qemu 4/6] vl.c: change 'defconfig' variable to bool |
Date: |
Sat, 28 Apr 2012 07:53:41 +0000 |
On Tue, Apr 24, 2012 at 20:32, Eduardo Habkost <address@hidden> wrote:
> Signed-off-by: Eduardo Habkost <address@hidden>
> ---
> vl.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/vl.c b/vl.c
> index 1e5e593..a4f4676 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -2279,7 +2279,7 @@ int main(int argc, char **argv, char **envp)
> #ifdef CONFIG_VNC
> int show_vnc_port = 0;
> #endif
> - int defconfig = 1;
> + int defconfig = true;
The type is still 'int', is that intentional?
> const char *log_mask = NULL;
> const char *log_file = NULL;
> GMemVTable mem_trace = {
> @@ -2346,7 +2346,7 @@ int main(int argc, char **argv, char **envp)
> popt = lookup_opt(argc, argv, &optarg, &optind);
> switch (popt->index) {
> case QEMU_OPTION_nodefconfig:
> - defconfig=0;
> + defconfig = false;
> break;
> }
> }
> --
> 1.7.3.2
>
>
- [Qemu-devel] [PATCH qemu v2 0/6] -no-user-config option, move CPU models to /usr/share, Eduardo Habkost, 2012/04/24
- [Qemu-devel] [PATCH qemu 4/6] vl.c: change 'defconfig' variable to bool, Eduardo Habkost, 2012/04/24
- Re: [Qemu-devel] [PATCH qemu 4/6] vl.c: change 'defconfig' variable to bool,
Blue Swirl <=
- [Qemu-devel] [PATCH qemu 3/6] move list of default config files to an array, Eduardo Habkost, 2012/04/24
- [Qemu-devel] [PATCH qemu 1/6] move code to read default config files to a separate function (v2), Eduardo Habkost, 2012/04/24
- [Qemu-devel] [PATCH qemu 2/6] eliminate arch_config_name variable, Eduardo Habkost, 2012/04/24
- [Qemu-devel] [PATCH qemu 5/6] implement -no-user-config command-line option (v2), Eduardo Habkost, 2012/04/24
- [Qemu-devel] [PATCH qemu 6/6] move CPU definitions to /usr/share/qemu/cpus-x86_64.conf (v2), Eduardo Habkost, 2012/04/24
- [Qemu-devel] [PATCH qemu 7/6] vl.c: actually change defconfig variable to bool, Eduardo Habkost, 2012/04/30