OSDN Git Service

asm-generic/hyperv: add HV_STATUS_ACCESS_DENIED definition
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 21 May 2021 09:51:35 +0000 (11:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Jun 2021 17:09:38 +0000 (13:09 -0400)
From TLFSv6.0b, this status means: "The caller did not possess sufficient
access rights to perform the requested operation."

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Acked-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210521095204.2161214-2-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/asm-generic/hyperv-tlfs.h

index 515c3fb..56348a5 100644 (file)
@@ -194,6 +194,7 @@ enum HV_GENERIC_SET_FORMAT {
 #define HV_STATUS_INVALID_HYPERCALL_INPUT      3
 #define HV_STATUS_INVALID_ALIGNMENT            4
 #define HV_STATUS_INVALID_PARAMETER            5
+#define HV_STATUS_ACCESS_DENIED                        6
 #define HV_STATUS_OPERATION_DENIED             8
 #define HV_STATUS_INSUFFICIENT_MEMORY          11
 #define HV_STATUS_INVALID_PORT_ID              17