diff options
| author | David Hildenbrand | 2018-06-19 15:41:37 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2018-06-28 19:05:33 +0200 |
| commit | a57d1911222bba79bda543568e925635461ead82 (patch) | |
| tree | 320b6d880137c4ed35f6c1b820feb145859a6090 /tests | |
| parent | hostmem: drop error variable from host_memory_backend_get_memory() (diff) | |
| download | qemu-a57d1911222bba79bda543568e925635461ead82.tar.gz qemu-a57d1911222bba79bda543568e925635461ead82.tar.xz qemu-a57d1911222bba79bda543568e925635461ead82.zip | |
pc-dimm: merge get_(vmstate_)memory_region()
Importantly, get_vmstate_memory_region() should also fail with a proper
error if called before the device is realized. For a PCDIMM, both functions
are to return the same thing, so share the implementation.
All current users are called after the device has been realized, so we
can expect the calls to succeed.
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180619134141.29478-9-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
