diff options
author | Maxim Levitsky <mlevitsk@redhat.com> | 2020-10-01 13:29:51 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-21 23:36:34 +0200 |
commit | 36385ccc9b185e6958e2911d41202dd0f386298d (patch) | |
tree | 1aacd7e77c045a7f8844eda320d3d08d25e05c33 /drivers/mcb | |
parent | kvm x86/mmu: Make struct kernel_param_ops definitions const (diff) | |
download | linux-36385ccc9b185e6958e2911d41202dd0f386298d.tar.xz linux-36385ccc9b185e6958e2911d41202dd0f386298d.zip |
KVM: x86: xen_hvm_config: cleanup return values
Return 1 on errors that are caused by wrong guest behavior
(which will inject #GP to the guest)
And return a negative error value on issues that are
the kernel's fault (e.g -ENOMEM)
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20201001112954.6258-2-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/mcb')
0 files changed, 0 insertions, 0 deletions