qemu-e2k/backends
Xiao Guangrong 1454d33f05 hostmem: fix QEMU crash by 'info memdev'
'info memdev' crashes QEMU:
   (qemu) info memdev
   Unexpected error in parse_str() at qapi/string-input-visitor.c:111:
   Parameter 'null' expects an int64 value or range
It is caused by null uint16List is returned if 'host-nodes' is the default
value

Return MAX_NODES under this case to fix this bug

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-07-13 13:30:04 +02:00
..
baum.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
hostmem-file.c hostmem-file: plug a small leak 2016-04-15 17:56:06 +02:00
hostmem-ram.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
hostmem.c hostmem: fix QEMU crash by 'info memdev' 2016-07-13 13:30:04 +02:00
Makefile.objs backends: Introduce chr-testdev 2014-08-06 17:53:05 +02:00
msmouse.c qapi: Don't special-case simple union wrappers 2016-03-18 10:29:26 +01:00
rng-egd.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
rng-random.c rng-random: rename RndRandom to RngRandom 2016-05-23 12:18:43 +05:30
rng.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
testdev.c backends: Clean up includes 2016-02-04 17:01:04 +00:00
tpm.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00