target/i386/sev: Replace qemu_map_ram_ptr with address_space_map
commit58603ba2680fa35eade630e4b040e96953a11021
authorDov Murik <dovmurik@linux.ibm.com>
Thu, 11 Nov 2021 10:00:48 +0000 (11 10:00 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 18 Nov 2021 13:28:32 +0000 (18 13:28 +0000)
treef050a49accd465432ef69e0e67e7e14989ad5db0
parentddcc0d898e4040b1795254fac8ac4f8514b0ecb8
target/i386/sev: Replace qemu_map_ram_ptr with address_space_map

Use address_space_map/unmap and check for errors.

Signed-off-by: Dov Murik <dovmurik@linux.ibm.com>
Acked-by: Brijesh Singh <brijesh.singh@amd.com>
[Two lines wrapped for length - Daniel]
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
target/i386/sev.c