diff options
author | 2009-03-03 09:44:41 +0000 | |
---|---|---|
committer | 2009-03-03 09:44:41 +0000 | |
commit | 8bd1604cb7359a6776c317eb0b4fe6af816eadfe (patch) | |
tree | 1e2ccf54e993c00fc00af92b828490d130919a6f /src/virterror.c | |
parent | Remote protocol / RPC API for sVirt support (James Morris & Dan Walsh) (diff) | |
download | libvirt-8bd1604cb7359a6776c317eb0b4fe6af816eadfe.tar.gz libvirt-8bd1604cb7359a6776c317eb0b4fe6af816eadfe.tar.bz2 libvirt-8bd1604cb7359a6776c317eb0b4fe6af816eadfe.zip |
Core internal driver stub for sVirt support (Jams Morris & Dan Walsh)
Diffstat (limited to 'src/virterror.c')
-rw-r--r-- | src/virterror.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/virterror.c b/src/virterror.c index 42a7cf578..d2514dbea 100644 --- a/src/virterror.c +++ b/src/virterror.c @@ -151,6 +151,9 @@ static const char *virErrorDomainName(virErrorDomain domain) { case VIR_FROM_UML: dom = "UML "; break; + case VIR_FROM_SECURITY: + dom = "Security Labeling "; + break; } return(dom); } @@ -995,6 +998,12 @@ virErrorMsg(virErrorNumber error, const char *info) else errmsg = _("Node device not found: %s"); break; + case VIR_ERR_NO_SECURITY_MODEL: + if (info == NULL) + errmsg = _("Security model not found"); + else + errmsg = _("Security model not found: %s"); + break; } return (errmsg); } |