[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH RFC 01/11] s390/qemu: cpu modle disable list cpus
From: |
Michael Mueller |
Subject: |
[Qemu-devel] [PATCH RFC 01/11] s390/qemu: cpu modle disable list cpus |
Date: |
Wed, 2 Oct 2013 13:33:32 +0200 |
The patch disables the early invocation of list_cpus() to allow
the dynamically initialization of all S390 cpu classes in current
host runtime context.
Signed-off-by: Michael Mueller <address@hidden>
---
vl.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/vl.c b/vl.c
index efb8644..15731b0 100644
--- a/vl.c
+++ b/vl.c
@@ -3841,9 +3841,11 @@ int main(int argc, char **argv, char **envp)
*/
cpudef_init();
- if (cpu_model && is_help_option(cpu_model)) {
- list_cpus(stdout, &fprintf, cpu_model);
- exit(0);
+ if (arch_type != QEMU_ARCH_S390X) {
+ if (cpu_model && is_help_option(cpu_model)) {
+ list_cpus(stdout, &fprintf, cpu_model);
+ exit(0);
+ }
}
/* Open the logfile at this point, if necessary. We can't open the logfile
--
1.8.3.1
- [Qemu-devel] [PATCH RFC 03/11] s390/qemu: cpu model cpu class definition, (continued)
[Qemu-devel] [PATCH RFC 05/11] s390/qemu: cpu model alias support, Michael Mueller, 2013/10/02
[Qemu-devel] [PATCH RFC 02/11] s390/qemu: cpu model extend config device, Michael Mueller, 2013/10/02
[Qemu-devel] [PATCH RFC 11/11] s390/qemu: cpu model enablement, Michael Mueller, 2013/10/02
[Qemu-devel] [PATCH RFC 01/11] s390/qemu: cpu modle disable list cpus,
Michael Mueller <=
[Qemu-devel] [PATCH RFC 08/11] s390/qemu: cpu model command line option help, Michael Mueller, 2013/10/02
[Qemu-devel] [PATCH RFC 09/11] s390/qemu: cpu model QMP query-cpu-definitions, Michael Mueller, 2013/10/02
[Qemu-devel] [PATCH RFC 07/11] s390/qemu: cpu model class initialization, Michael Mueller, 2013/10/02
[Qemu-devel] [PATCH RFC 10/11] s390/qemu: cpu model QMP query-cpu-model, Michael Mueller, 2013/10/02