Eduardo Habkost 744c6d4747 smbios: Fix dimm size calculation when RAM is multiple of 16GB
The Memory Device size calculation logic is broken when the RAM size is
a multiple of 16GB, making the size of the last entry be 0 instead of
16GB. Fix the logic to handle that case correctly.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
2015-01-27 14:46:17 +02:00
..
2014-12-15 12:21:02 +01:00
2014-01-26 13:06:48 +02:00
2014-10-31 11:29:02 +01:00
2015-01-08 17:32:27 +00:00
2015-01-08 17:32:27 +00:00
2013-10-14 17:48:57 +03:00
2014-08-25 00:16:06 +02:00