提交 18f2e9d5 编写于 作者: M Michal Privoznik

remote: Implement virDomainDetachDeviceAlias

Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
上级 007f500a
......@@ -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,
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册