VMX: don't ignore P2M setup error
authorJan Beulich <jbeulich@suse.com>
Tue, 12 Feb 2019 10:54:57 +0000 (11:54 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 12 Feb 2019 10:54:57 +0000 (11:54 +0100)
commit56d8d0119d270f846c6c4943712b8a21fbe5d4d0
treeddd442bb88d8023e52db597f0f56374470531840
parent88b92c3820cffed4b4abeb139edc2cbd8286cb12
VMX: don't ignore P2M setup error

set_mmio_p2m_entry() may fail, in particular with -ENOMEM. Don't ignore
such an error, but instead cause domain creation to fail in such a case.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/hvm/vmx/vmx.c