]> xenbits.xensource.com Git - xen.git/commit
SVM: fix build after "make nested page-fault tracing and logging consistent"
authorJan Beulich <jbeulich@suse.com>
Tue, 12 Mar 2019 18:11:35 +0000 (18:11 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 12 Mar 2019 18:13:10 +0000 (18:13 +0000)
commit19a1c8529b6bcee56db5c8a5729bff2c8eb10fc8
tree3ab43356ea57909f9cff9e8e0c59bd3bd71d7cfb
parent6be613f29b4205349275d24367bd4c82fb2960dd
SVM: fix build after "make nested page-fault tracing and logging consistent"

Some compiler versions don't recognize that "mfn" can't really be used
uninitialized in svm_do_nested_pgfault(). To be on the safe side, add an
initializer for p2mt as well.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
xen/arch/x86/hvm/svm/svm.c