mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
util: remove {Get,Set}UnprivSGIO
These are no longer used. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
44aaa02992
commit
8120021860
@ -1325,27 +1325,6 @@ virValidateWWN(const char *wwn)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
|
||||||
virSetDeviceUnprivSGIO(const char *path G_GNUC_UNUSED,
|
|
||||||
const char *sysfs_dir G_GNUC_UNUSED,
|
|
||||||
int unpriv_sgio G_GNUC_UNUSED)
|
|
||||||
{
|
|
||||||
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
|
|
||||||
_("unpriv_sgio is not supported by this kernel"));
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
|
||||||
virGetDeviceUnprivSGIO(const char *path G_GNUC_UNUSED,
|
|
||||||
const char *sysfs_dir G_GNUC_UNUSED,
|
|
||||||
int *unpriv_sgio G_GNUC_UNUSED)
|
|
||||||
{
|
|
||||||
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
|
|
||||||
_("unpriv_sgio is not supported by this kernel"));
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* virParseOwnershipIds:
|
* virParseOwnershipIds:
|
||||||
*
|
*
|
||||||
|
@ -116,13 +116,6 @@ bool virDoesGroupExist(const char *name);
|
|||||||
|
|
||||||
bool virValidateWWN(const char *wwn);
|
bool virValidateWWN(const char *wwn);
|
||||||
|
|
||||||
int virSetDeviceUnprivSGIO(const char *path,
|
|
||||||
const char *sysfs_dir,
|
|
||||||
int unpriv_sgio);
|
|
||||||
int virGetDeviceUnprivSGIO(const char *path,
|
|
||||||
const char *sysfs_dir,
|
|
||||||
int *unpriv_sgio);
|
|
||||||
|
|
||||||
int virParseOwnershipIds(const char *label, uid_t *uidPtr, gid_t *gidPtr);
|
int virParseOwnershipIds(const char *label, uid_t *uidPtr, gid_t *gidPtr);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user