remote: implement virDomainGraphicsReload

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Ján Tomko 2023-12-12 15:47:31 +01:00
parent b25b071c75
commit 21e68a9ce7
3 changed files with 19 additions and 1 deletions

View File

@ -7841,6 +7841,7 @@ static virHypervisorDriver hypervisor_driver = {
.domainStartDirtyRateCalc = remoteDomainStartDirtyRateCalc, /* 7.2.0 */
.domainSetLaunchSecurityState = remoteDomainSetLaunchSecurityState, /* 8.0.0 */
.domainFDAssociate = remoteDomainFDAssociate, /* 9.0.0 */
.domainGraphicsReload = remoteDomainGraphicsReload, /* 10.2.0 */
};
static virNetworkDriver network_driver = {

View File

@ -3954,6 +3954,11 @@ struct remote_domain_start_dirty_rate_calc_args {
unsigned int flags;
};
struct remote_domain_graphics_reload_args {
remote_nonnull_domain dom;
unsigned int type;
unsigned int flags;
};
struct remote_domain_event_memory_device_size_change_msg {
int callbackID;
@ -7037,5 +7042,11 @@ enum remote_procedure {
* @acl: node_device:save:!VIR_NODE_DEVICE_UPDATE_AFFECT_CONFIG|VIR_NODE_DEVICE_UPDATE_AFFECT_LIVE
* @acl: node_device:save:VIR_NODE_DEVICE_UPDATE_AFFECT_CONFIG
*/
REMOTE_PROC_NODE_DEVICE_UPDATE = 447
REMOTE_PROC_NODE_DEVICE_UPDATE = 447,
/**
* @generate: both
* @acl: domain:write
*/
REMOTE_PROC_DOMAIN_GRAPHICS_RELOAD = 448
};

View File

@ -3290,6 +3290,11 @@ struct remote_domain_start_dirty_rate_calc_args {
int seconds;
u_int flags;
};
struct remote_domain_graphics_reload_args {
remote_nonnull_domain dom;
u_int type;
u_int flags;
};
struct remote_domain_event_memory_device_size_change_msg {
int callbackID;
remote_nonnull_domain dom;
@ -3749,4 +3754,5 @@ enum remote_procedure {
REMOTE_PROC_NETWORK_GET_METADATA = 445,
REMOTE_PROC_NETWORK_EVENT_CALLBACK_METADATA_CHANGE = 446,
REMOTE_PROC_NODE_DEVICE_UPDATE = 447,
REMOTE_PROC_DOMAIN_GRAPHICS_RELOAD = 448,
};