This is due to lshw changing out it outputs memory between Trusty and Xenial.
On Trusty I get $ sudo lshw -class memory *-firmware description: BIOS vendor: SeaBIOS physical id: 0 version: Ubuntu-1.8.2-1ubuntu1 date: 04/01/2014 size: 96KiB *-memory description: System Memory physical id: 1000 size: 2GiB capacity: 2GiB *-bank description: DIMM RAM vendor: QEMU physical id: 0 slot: DIMM 0 size: 2GiB
On Xenial I get $ sudo lshw -class memory *-memory description: System memory physical id: 0 size: 2000MiB
This is due to lshw changing out it outputs memory between Trusty and Xenial.
On Trusty I get 1.8.2-1ubuntu1
description: DIMM RAM
$ sudo lshw -class memory
*-firmware
description: BIOS
vendor: SeaBIOS
physical id: 0
version: Ubuntu-
date: 04/01/2014
size: 96KiB
*-memory
description: System Memory
physical id: 1000
size: 2GiB
capacity: 2GiB
*-bank
vendor: QEMU
physical id: 0
slot: DIMM 0
size: 2GiB
On Xenial I get
$ sudo lshw -class memory
*-memory
description: System memory
physical id: 0
size: 2000MiB