Fix: https://bugzilla.redhat.com/show_bug.cgi?id=1667249
Since v1: * check the error code from memory_region_from_host() before accessing the mr. Brijesh Singh (2): memory: Fix the memory region type assignment order target/i386: sev: Do not pin the ram device memory region memory.c | 9 ++++++++- target/i386/sev.c | 11 +++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) -- 2.17.1