diff --git a/arch_init.c b/arch_init.c index 4ef5a15a6e75af8a53167c8d31658270a49a0390..2ed12faee944f517b4b473552b994c27a0131104 100644 --- a/arch_init.c +++ b/arch_init.c @@ -142,7 +142,7 @@ int qemu_read_default_config_files(bool userconfig) return ret; } } - + return 0; } diff --git a/target-i386/cpu.h b/target-i386/cpu.h index 48f41ca3e39120c05e27caa812f680320723e21a..5284ebc1eda5938fe5f0dff4f947d7723927ec9a 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -185,7 +185,7 @@ #define HF2_VINTR_SHIFT 3 /* value of V_INTR_MASKING bit */ #define HF2_GIF_MASK (1 << HF2_GIF_SHIFT) -#define HF2_HIF_MASK (1 << HF2_HIF_SHIFT) +#define HF2_HIF_MASK (1 << HF2_HIF_SHIFT) #define HF2_NMI_MASK (1 << HF2_NMI_SHIFT) #define HF2_VINTR_MASK (1 << HF2_VINTR_SHIFT) diff --git a/vl.c b/vl.c index 33f30b6ef05d49522676e34fc4b3181342420710..0ac9c00e3eeda9c8b99ca8e06d72c27067bff831 100644 --- a/vl.c +++ b/vl.c @@ -2546,7 +2546,7 @@ static int virtcon_parse(const char *devname) qemu_opt_set(bus_opts, "driver", "virtio-serial-s390"); } else { qemu_opt_set(bus_opts, "driver", "virtio-serial-pci"); - } + } dev_opts = qemu_opts_create_nofail(device); qemu_opt_set(dev_opts, "driver", "virtconsole"); @@ -2598,7 +2598,7 @@ static int sclp_parse(const char *devname) } static int debugcon_parse(const char *devname) -{ +{ QemuOpts *opts; if (!qemu_chr_new("debugcon", devname, NULL)) { @@ -3735,8 +3735,8 @@ int main(int argc, char **argv, char **envp) } p += 8; os_set_proc_name(p); - } - } + } + } break; case QEMU_OPTION_prom_env: if (nb_prom_envs >= MAX_PROM_ENVS) {