[libvirt] [PATCH qemu 4/6] vl.c: change 'defconfig' variable to bool (v2)
Changes v1 - v2: - Actually change the variable type declaration to 'bool' Signed-off-by: Eduardo Habkost ehabk...@redhat.com --- vl.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vl.c b/vl.c index 1e5e593..eb3e088 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; +bool defconfig = true; 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 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
[libvirt] [PATCH qemu 4/6] vl.c: change 'defconfig' variable to bool
Signed-off-by: Eduardo Habkost ehabk...@redhat.com --- 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; 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 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list