mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
remote: Implement virDomainDetachDeviceAlias
Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
007f500a23
commit
18f2e9d500
@ -8308,6 +8308,7 @@ static virHypervisorDriver hypervisor_driver = {
|
||||
.domainDetachDevice = remoteDomainDetachDevice, /* 0.3.0 */
|
||||
.domainDetachDeviceFlags = remoteDomainDetachDeviceFlags, /* 0.7.7 */
|
||||
.domainUpdateDeviceFlags = remoteDomainUpdateDeviceFlags, /* 0.8.0 */
|
||||
.domainDetachDeviceAlias = remoteDomainDetachDeviceAlias, /* 4.4.0 */
|
||||
.domainGetAutostart = remoteDomainGetAutostart, /* 0.3.0 */
|
||||
.domainSetAutostart = remoteDomainSetAutostart, /* 0.3.0 */
|
||||
.domainGetSchedulerType = remoteDomainGetSchedulerType, /* 0.3.0 */
|
||||
|
@ -1284,6 +1284,12 @@ struct remote_domain_update_device_flags_args {
|
||||
unsigned int flags;
|
||||
};
|
||||
|
||||
struct remote_domain_detach_device_alias_args {
|
||||
remote_nonnull_domain dom;
|
||||
remote_nonnull_string alias;
|
||||
unsigned int flags;
|
||||
};
|
||||
|
||||
struct remote_domain_get_autostart_args {
|
||||
remote_nonnull_domain dom;
|
||||
};
|
||||
@ -6135,5 +6141,13 @@ enum remote_procedure {
|
||||
* @priority: high
|
||||
* @acl: storage_pool:getattr
|
||||
*/
|
||||
REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_TARGET_PATH = 391
|
||||
REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_TARGET_PATH = 391,
|
||||
|
||||
/**
|
||||
* @generate: both
|
||||
* @acl: domain:write
|
||||
* @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
|
||||
* @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
|
||||
*/
|
||||
REMOTE_PROC_DOMAIN_DETACH_DEVICE_ALIAS = 392
|
||||
};
|
||||
|
@ -915,6 +915,11 @@ struct remote_domain_update_device_flags_args {
|
||||
remote_nonnull_string xml;
|
||||
u_int flags;
|
||||
};
|
||||
struct remote_domain_detach_device_alias_args {
|
||||
remote_nonnull_domain dom;
|
||||
remote_nonnull_string alias;
|
||||
u_int flags;
|
||||
};
|
||||
struct remote_domain_get_autostart_args {
|
||||
remote_nonnull_domain dom;
|
||||
};
|
||||
@ -3269,4 +3274,5 @@ enum remote_procedure {
|
||||
REMOTE_PROC_DOMAIN_MANAGED_SAVE_DEFINE_XML = 389,
|
||||
REMOTE_PROC_DOMAIN_SET_LIFECYCLE_ACTION = 390,
|
||||
REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_TARGET_PATH = 391,
|
||||
REMOTE_PROC_DOMAIN_DETACH_DEVICE_ALIAS = 392,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user