hw/i386/pc: Use e820_get_num_entries() to access e820_entries
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 18 Aug 2019 22:54:00 +0000 (00:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Sep 2019 15:13:07 +0000 (17:13 +0200)
commit42d400acfc2dabc56653ee5396df14a8d8cb46c7
treee4126082254c6c9b319d4b81011711c9e80a3a7c
parentbd1f7ff4b27444740786274c41caf3e9b9c35bba
hw/i386/pc: Use e820_get_num_entries() to access e820_entries

To be able to extract the e820* code out of this file (in the next
patch), access e820_entries with its correct helper.

Reviewed-by: Li Qiang <liq3ea@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190818225414.22590-2-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/pc.c