aboutsummaryrefslogtreecommitdiff
path: root/hw/mem
diff options
context:
space:
mode:
authorXiao Guangrong <guangrong.xiao@linux.intel.com>2016-07-13 12:18:05 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2016-07-13 13:30:04 +0200
commit1454d33f0507cb54d62ed80f494884157c9e7130 (patch)
tree92d9d3c6bc0b64f46af8ac68124c1b8aa7366448 /hw/mem
parentaa5cb7f5e8bf2e6737d0cb36c118332ca26e7797 (diff)
downloadqemu-1454d33f0507cb54d62ed80f494884157c9e7130.zip
qemu-1454d33f0507cb54d62ed80f494884157c9e7130.tar.gz
qemu-1454d33f0507cb54d62ed80f494884157c9e7130.tar.bz2
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>
Diffstat (limited to 'hw/mem')
0 files changed, 0 insertions, 0 deletions