* qemud/dispatch.c: Pass msg->hdr to API handlers
* qemud/remote.c, qemud/remote.h: Add remote_message_header to
all API handlers
* qemud/remote_generate_stubs.pl: Update to include the
remote_message_header in API handler definitions
* qemud/remote_dispatch_prototypes.h: Re-generate
---
qemud/dispatch.c | 2 +-
qemud/remote.c | 173 ++++++++++++++++++++++++++++++++----
qemud/remote.h | 1 +
qemud/remote_dispatch_prototypes.h | 137 ++++++++++++++++++++++++++++
qemud/remote_generate_stubs.pl | 1 +
5 files changed, 297 insertions(+), 17 deletions(-)
diff --git a/qemud/dispatch.c b/qemud/dispatch.c
index 7417001..0c6a902 100644
--- a/qemud/dispatch.c
+++ b/qemud/dispatch.c
@@ -496,7 +496,7 @@ remoteDispatchClientCall (struct qemud_server *server,
*
* 'conn', 'rerr', 'args and 'ret'
*/
- rv = (data->fn)(server, client, conn, &rerr, &args, &ret);
+ rv = (data->fn)(server, client, conn, &msg->hdr, &rerr, &args,
&ret);
virMutexLock(&server->lock);
virMutexLock(&client->lock);
diff --git a/qemud/remote.c b/qemud/remote.c
index d32d513..3034023 100644
--- a/qemud/remote.c
+++ b/qemud/remote.c
@@ -127,6 +127,7 @@ static int
remoteDispatchOpen (struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
struct remote_open_args *args, void *ret ATTRIBUTE_UNUSED)
{
@@ -174,6 +175,7 @@ static int
remoteDispatchClose (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn ATTRIBUTE_UNUSED,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr ATTRIBUTE_UNUSED,
void *args ATTRIBUTE_UNUSED, void *ret ATTRIBUTE_UNUSED)
{
@@ -191,6 +193,7 @@ static int
remoteDispatchSupportsFeature (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_supports_feature_args *args,
remote_supports_feature_ret *ret)
{
@@ -208,6 +211,7 @@ static int
remoteDispatchGetType (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED, remote_get_type_ret *ret)
{
@@ -235,6 +239,7 @@ static int
remoteDispatchGetVersion (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_get_version_ret *ret)
@@ -254,6 +259,7 @@ static int
remoteDispatchGetHostname (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_get_hostname_ret *ret)
@@ -274,6 +280,7 @@ static int
remoteDispatchGetUri (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_get_uri_ret *ret)
@@ -295,6 +302,7 @@ static int
remoteDispatchGetMaxVcpus (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_get_max_vcpus_args *args,
remote_get_max_vcpus_ret *ret)
@@ -315,6 +323,7 @@ static int
remoteDispatchNodeGetInfo (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_node_get_info_ret *ret)
@@ -342,6 +351,7 @@ static int
remoteDispatchGetCapabilities (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_get_capabilities_ret *ret)
@@ -362,6 +372,7 @@ static int
remoteDispatchNodeGetCellsFreeMemory (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_node_get_cells_free_memory_args *args,
remote_node_get_cells_free_memory_ret *ret)
@@ -399,6 +410,7 @@ static int
remoteDispatchNodeGetFreeMemory (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_node_get_free_memory_ret *ret)
@@ -419,6 +431,7 @@ static int
remoteDispatchDomainGetSchedulerType (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_get_scheduler_type_args *args,
remote_domain_get_scheduler_type_ret *ret)
@@ -450,6 +463,7 @@ static int
remoteDispatchDomainGetSchedulerParameters (struct qemud_server *server
ATTRIBUTE_UNUSED,
struct qemud_client *client
ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_get_scheduler_parameters_args
*args,
remote_domain_get_scheduler_parameters_ret
*ret)
@@ -533,6 +547,7 @@ static int
remoteDispatchDomainSetSchedulerParameters (struct qemud_server *server
ATTRIBUTE_UNUSED,
struct qemud_client *client
ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_set_scheduler_parameters_args
*args,
void *ret ATTRIBUTE_UNUSED)
@@ -596,6 +611,7 @@ static int
remoteDispatchDomainBlockStats (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_block_stats_args *args,
remote_domain_block_stats_ret *ret)
@@ -631,6 +647,7 @@ static int
remoteDispatchDomainInterfaceStats (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_interface_stats_args *args,
remote_domain_interface_stats_ret *ret)
@@ -669,6 +686,7 @@ static int
remoteDispatchDomainBlockPeek (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_block_peek_args *args,
remote_domain_block_peek_ret *ret)
@@ -721,6 +739,7 @@ static int
remoteDispatchDomainMemoryPeek (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_memory_peek_args *args,
remote_domain_memory_peek_ret *ret)
@@ -771,6 +790,7 @@ static int
remoteDispatchDomainAttachDevice (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_attach_device_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -796,6 +816,7 @@ static int
remoteDispatchDomainCreate (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_create_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -821,6 +842,7 @@ static int
remoteDispatchDomainCreateXml (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_create_xml_args *args,
remote_domain_create_xml_ret *ret)
@@ -843,6 +865,7 @@ static int
remoteDispatchDomainDefineXml (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_define_xml_args *args,
remote_domain_define_xml_ret *ret)
@@ -865,6 +888,7 @@ static int
remoteDispatchDomainDestroy (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_destroy_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -890,6 +914,7 @@ static int
remoteDispatchDomainDetachDevice (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_detach_device_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -916,6 +941,7 @@ static int
remoteDispatchDomainDumpXml (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_dump_xml_args *args,
remote_domain_dump_xml_ret *ret)
@@ -943,6 +969,7 @@ static int
remoteDispatchDomainXmlFromNative (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_xml_from_native_args *args,
remote_domain_xml_from_native_ret *ret)
@@ -963,6 +990,7 @@ static int
remoteDispatchDomainXmlToNative (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_xml_to_native_args *args,
remote_domain_xml_to_native_ret *ret)
@@ -984,6 +1012,7 @@ static int
remoteDispatchDomainGetAutostart (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_get_autostart_args *args,
remote_domain_get_autostart_ret *ret)
@@ -1009,6 +1038,7 @@ static int
remoteDispatchDomainGetInfo (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_get_info_args *args,
remote_domain_get_info_ret *ret)
@@ -1043,6 +1073,7 @@ static int
remoteDispatchDomainGetMaxMemory (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_get_max_memory_args *args,
remote_domain_get_max_memory_ret *ret)
@@ -1069,6 +1100,7 @@ static int
remoteDispatchDomainGetMaxVcpus (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_get_max_vcpus_args *args,
remote_domain_get_max_vcpus_ret *ret)
@@ -1095,6 +1127,7 @@ static int
remoteDispatchDomainGetSecurityLabel(struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_get_security_label_args *args,
remote_domain_get_security_label_ret *ret)
@@ -1132,6 +1165,7 @@ static int
remoteDispatchNodeGetSecurityModel(struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_node_get_security_model_ret *ret)
@@ -1165,6 +1199,7 @@ static int
remoteDispatchDomainGetOsType (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_get_os_type_args *args,
remote_domain_get_os_type_ret *ret)
@@ -1192,6 +1227,7 @@ static int
remoteDispatchDomainGetVcpus (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_get_vcpus_args *args,
remote_domain_get_vcpus_ret *ret)
@@ -1272,6 +1308,7 @@ static int
remoteDispatchDomainMigratePrepare (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_migrate_prepare_args *args,
remote_domain_migrate_prepare_ret *ret)
@@ -1320,6 +1357,7 @@ static int
remoteDispatchDomainMigratePerform (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_migrate_perform_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -1354,6 +1392,7 @@ static int
remoteDispatchDomainMigrateFinish (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_migrate_finish_args *args,
remote_domain_migrate_finish_ret *ret)
@@ -1380,6 +1419,7 @@ static int
remoteDispatchDomainMigratePrepare2 (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_migrate_prepare2_args *args,
remote_domain_migrate_prepare2_ret *ret)
@@ -1424,6 +1464,7 @@ static int
remoteDispatchDomainMigrateFinish2 (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_migrate_finish2_args *args,
remote_domain_migrate_finish2_ret *ret)
@@ -1451,6 +1492,7 @@ static int
remoteDispatchListDefinedDomains (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_list_defined_domains_args *args,
remote_list_defined_domains_ret *ret)
@@ -1484,6 +1526,7 @@ static int
remoteDispatchDomainLookupById (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_lookup_by_id_args *args,
remote_domain_lookup_by_id_ret *ret)
@@ -1505,6 +1548,7 @@ static int
remoteDispatchDomainLookupByName (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_lookup_by_name_args *args,
remote_domain_lookup_by_name_ret *ret)
@@ -1526,6 +1570,7 @@ static int
remoteDispatchDomainLookupByUuid (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_lookup_by_uuid_args *args,
remote_domain_lookup_by_uuid_ret *ret)
@@ -1547,6 +1592,7 @@ static int
remoteDispatchNumOfDefinedDomains (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_num_of_defined_domains_ret *ret)
@@ -1565,6 +1611,7 @@ static int
remoteDispatchDomainPinVcpu (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_pin_vcpu_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -1600,6 +1647,7 @@ static int
remoteDispatchDomainReboot (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_reboot_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -1625,6 +1673,7 @@ static int
remoteDispatchDomainRestore (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_restore_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -1642,6 +1691,7 @@ static int
remoteDispatchDomainResume (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_resume_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -1667,6 +1717,7 @@ static int
remoteDispatchDomainSave (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_save_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -1692,6 +1743,7 @@ static int
remoteDispatchDomainCoreDump (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_core_dump_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -1717,6 +1769,7 @@ static int
remoteDispatchDomainSetAutostart (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_set_autostart_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -1742,6 +1795,7 @@ static int
remoteDispatchDomainSetMaxMemory (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_set_max_memory_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -1767,6 +1821,7 @@ static int
remoteDispatchDomainSetMemory (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_set_memory_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -1792,6 +1847,7 @@ static int
remoteDispatchDomainSetVcpus (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_set_vcpus_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -1817,6 +1873,7 @@ static int
remoteDispatchDomainShutdown (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_shutdown_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -1842,6 +1899,7 @@ static int
remoteDispatchDomainSuspend (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_suspend_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -1867,6 +1925,7 @@ static int
remoteDispatchDomainUndefine (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_domain_undefine_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -1892,6 +1951,7 @@ static int
remoteDispatchListDefinedNetworks (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_list_defined_networks_args *args,
remote_list_defined_networks_ret *ret)
@@ -1925,6 +1985,7 @@ static int
remoteDispatchListDomains (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_list_domains_args *args,
remote_list_domains_ret *ret)
@@ -1957,6 +2018,7 @@ static int
remoteDispatchListNetworks (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_list_networks_args *args,
remote_list_networks_ret *ret)
@@ -1990,6 +2052,7 @@ static int
remoteDispatchNetworkCreate (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_network_create_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -2015,6 +2078,7 @@ static int
remoteDispatchNetworkCreateXml (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_network_create_xml_args *args,
remote_network_create_xml_ret *ret)
@@ -2036,6 +2100,7 @@ static int
remoteDispatchNetworkDefineXml (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_network_define_xml_args *args,
remote_network_define_xml_ret *ret)
@@ -2057,6 +2122,7 @@ static int
remoteDispatchNetworkDestroy (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_network_destroy_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -2082,6 +2148,7 @@ static int
remoteDispatchNetworkDumpXml (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_network_dump_xml_args *args,
remote_network_dump_xml_ret *ret)
@@ -2109,6 +2176,7 @@ static int
remoteDispatchNetworkGetAutostart (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_network_get_autostart_args *args,
remote_network_get_autostart_ret *ret)
@@ -2134,6 +2202,7 @@ static int
remoteDispatchNetworkGetBridgeName (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_network_get_bridge_name_args *args,
remote_network_get_bridge_name_ret *ret)
@@ -2161,6 +2230,7 @@ static int
remoteDispatchNetworkLookupByName (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_network_lookup_by_name_args *args,
remote_network_lookup_by_name_ret *ret)
@@ -2182,6 +2252,7 @@ static int
remoteDispatchNetworkLookupByUuid (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_network_lookup_by_uuid_args *args,
remote_network_lookup_by_uuid_ret *ret)
@@ -2203,6 +2274,7 @@ static int
remoteDispatchNetworkSetAutostart (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_network_set_autostart_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -2228,6 +2300,7 @@ static int
remoteDispatchNetworkUndefine (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_network_undefine_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -2253,6 +2326,7 @@ static int
remoteDispatchNumOfDefinedNetworks (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_num_of_defined_networks_ret *ret)
@@ -2271,6 +2345,7 @@ static int
remoteDispatchNumOfDomains (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_num_of_domains_ret *ret)
@@ -2289,6 +2364,7 @@ static int
remoteDispatchNumOfNetworks (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_num_of_networks_ret *ret)
@@ -2309,6 +2385,7 @@ static int
remoteDispatchNumOfInterfaces (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_num_of_interfaces_ret *ret)
@@ -2327,6 +2404,7 @@ static int
remoteDispatchListInterfaces (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_list_interfaces_args *args,
remote_list_interfaces_ret *ret)
@@ -2360,6 +2438,7 @@ static int
remoteDispatchNumOfDefinedInterfaces (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_num_of_defined_interfaces_ret *ret)
@@ -2378,6 +2457,7 @@ static int
remoteDispatchListDefinedInterfaces (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_list_defined_interfaces_args *args,
remote_list_defined_interfaces_ret *ret)
@@ -2411,6 +2491,7 @@ static int
remoteDispatchInterfaceLookupByName (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_interface_lookup_by_name_args *args,
remote_interface_lookup_by_name_ret *ret)
@@ -2432,6 +2513,7 @@ static int
remoteDispatchInterfaceLookupByMacString (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_interface_lookup_by_mac_string_args
*args,
remote_interface_lookup_by_mac_string_ret
*ret)
@@ -2453,6 +2535,7 @@ static int
remoteDispatchInterfaceGetXmlDesc (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_interface_get_xml_desc_args *args,
remote_interface_get_xml_desc_ret *ret)
@@ -2480,6 +2563,7 @@ static int
remoteDispatchInterfaceDefineXml (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_interface_define_xml_args *args,
remote_interface_define_xml_ret *ret)
@@ -2499,11 +2583,12 @@ remoteDispatchInterfaceDefineXml (struct qemud_server *server
ATTRIBUTE_UNUSED,
static int
remoteDispatchInterfaceUndefine (struct qemud_server *server ATTRIBUTE_UNUSED,
- struct qemud_client *client ATTRIBUTE_UNUSED,
- virConnectPtr conn,
- remote_error *rerr,
- remote_interface_undefine_args *args,
- void *ret ATTRIBUTE_UNUSED)
+ struct qemud_client *client ATTRIBUTE_UNUSED,
+ virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
+ remote_error *rerr,
+ remote_interface_undefine_args *args,
+ void *ret ATTRIBUTE_UNUSED)
{
virInterfacePtr iface;
@@ -2524,11 +2609,12 @@ remoteDispatchInterfaceUndefine (struct qemud_server *server
ATTRIBUTE_UNUSED,
static int
remoteDispatchInterfaceCreate (struct qemud_server *server ATTRIBUTE_UNUSED,
- struct qemud_client *client ATTRIBUTE_UNUSED,
- virConnectPtr conn,
- remote_error *rerr,
- remote_interface_create_args *args,
- void *ret ATTRIBUTE_UNUSED)
+ struct qemud_client *client ATTRIBUTE_UNUSED,
+ virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
+ remote_error *rerr,
+ remote_interface_create_args *args,
+ void *ret ATTRIBUTE_UNUSED)
{
virInterfacePtr iface;
@@ -2549,11 +2635,12 @@ remoteDispatchInterfaceCreate (struct qemud_server *server
ATTRIBUTE_UNUSED,
static int
remoteDispatchInterfaceDestroy (struct qemud_server *server ATTRIBUTE_UNUSED,
- struct qemud_client *client ATTRIBUTE_UNUSED,
- virConnectPtr conn,
- remote_error *rerr,
- remote_interface_destroy_args *args,
- void *ret ATTRIBUTE_UNUSED)
+ struct qemud_client *client ATTRIBUTE_UNUSED,
+ virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
+ remote_error *rerr,
+ remote_interface_destroy_args *args,
+ void *ret ATTRIBUTE_UNUSED)
{
virInterfacePtr iface;
@@ -2578,6 +2665,7 @@ static int
remoteDispatchAuthList (struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn ATTRIBUTE_UNUSED,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_auth_list_ret *ret)
@@ -2636,6 +2724,7 @@ static int
remoteDispatchAuthSaslInit (struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn ATTRIBUTE_UNUSED,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_auth_sasl_init_ret *ret)
@@ -2893,6 +2982,7 @@ static int
remoteDispatchAuthSaslStart (struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn ATTRIBUTE_UNUSED,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_auth_sasl_start_args *args,
remote_auth_sasl_start_ret *ret)
@@ -2980,6 +3070,7 @@ static int
remoteDispatchAuthSaslStep (struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn ATTRIBUTE_UNUSED,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_auth_sasl_step_args *args,
remote_auth_sasl_step_ret *ret)
@@ -3069,6 +3160,7 @@ static int
remoteDispatchAuthSaslInit (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn ATTRIBUTE_UNUSED,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_auth_sasl_init_ret *ret ATTRIBUTE_UNUSED)
@@ -3082,6 +3174,7 @@ static int
remoteDispatchAuthSaslStart (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn ATTRIBUTE_UNUSED,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_auth_sasl_start_args *args ATTRIBUTE_UNUSED,
remote_auth_sasl_start_ret *ret ATTRIBUTE_UNUSED)
@@ -3094,7 +3187,8 @@ remoteDispatchAuthSaslStart (struct qemud_server *server
ATTRIBUTE_UNUSED,
static int
remoteDispatchAuthSaslStep (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
- virConnectPtr conn ATTRIBUTE_UNUSED,
+ virConnectPtr conn ATTRIBUTE_UNUSED
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_auth_sasl_step_args *args ATTRIBUTE_UNUSED,
remote_auth_sasl_step_ret *ret ATTRIBUTE_UNUSED)
@@ -3111,6 +3205,7 @@ static int
remoteDispatchAuthPolkit (struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn ATTRIBUTE_UNUSED,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_auth_polkit_ret *ret)
@@ -3223,6 +3318,7 @@ static int
remoteDispatchAuthPolkit (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn ATTRIBUTE_UNUSED,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_auth_polkit_ret *ret ATTRIBUTE_UNUSED)
@@ -3243,6 +3339,7 @@ static int
remoteDispatchListDefinedStoragePools (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_list_defined_storage_pools_args *args,
remote_list_defined_storage_pools_ret *ret)
@@ -3276,6 +3373,7 @@ static int
remoteDispatchListStoragePools (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_list_storage_pools_args *args,
remote_list_storage_pools_ret *ret)
@@ -3309,6 +3407,7 @@ static int
remoteDispatchFindStoragePoolSources (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_find_storage_pool_sources_args *args,
remote_find_storage_pool_sources_ret *ret)
@@ -3331,6 +3430,7 @@ static int
remoteDispatchStoragePoolCreate (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_create_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -3356,6 +3456,7 @@ static int
remoteDispatchStoragePoolCreateXml (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_create_xml_args *args,
remote_storage_pool_create_xml_ret *ret)
@@ -3377,6 +3478,7 @@ static int
remoteDispatchStoragePoolDefineXml (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_define_xml_args *args,
remote_storage_pool_define_xml_ret *ret)
@@ -3398,6 +3500,7 @@ static int
remoteDispatchStoragePoolBuild (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_build_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -3424,6 +3527,7 @@ static int
remoteDispatchStoragePoolDestroy (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_destroy_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -3449,6 +3553,7 @@ static int
remoteDispatchStoragePoolDelete (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_delete_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -3474,6 +3579,7 @@ static int
remoteDispatchStoragePoolRefresh (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_refresh_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -3499,6 +3605,7 @@ static int
remoteDispatchStoragePoolGetInfo (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_get_info_args *args,
remote_storage_pool_get_info_ret *ret)
@@ -3532,6 +3639,7 @@ static int
remoteDispatchStoragePoolDumpXml (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_dump_xml_args *args,
remote_storage_pool_dump_xml_ret *ret)
@@ -3559,6 +3667,7 @@ static int
remoteDispatchStoragePoolGetAutostart (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_get_autostart_args *args,
remote_storage_pool_get_autostart_ret *ret)
@@ -3585,6 +3694,7 @@ static int
remoteDispatchStoragePoolLookupByName (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_lookup_by_name_args *args,
remote_storage_pool_lookup_by_name_ret *ret)
@@ -3606,6 +3716,7 @@ static int
remoteDispatchStoragePoolLookupByUuid (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_lookup_by_uuid_args *args,
remote_storage_pool_lookup_by_uuid_ret *ret)
@@ -3627,6 +3738,7 @@ static int
remoteDispatchStoragePoolLookupByVolume (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_lookup_by_volume_args
*args,
remote_storage_pool_lookup_by_volume_ret *ret)
@@ -3656,6 +3768,7 @@ static int
remoteDispatchStoragePoolSetAutostart (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_set_autostart_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -3681,6 +3794,7 @@ static int
remoteDispatchStoragePoolUndefine (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_undefine_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -3706,6 +3820,7 @@ static int
remoteDispatchNumOfStoragePools (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_num_of_storage_pools_ret *ret)
@@ -3724,6 +3839,7 @@ static int
remoteDispatchNumOfDefinedStoragePools (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
void *args ATTRIBUTE_UNUSED,
remote_num_of_defined_storage_pools_ret *ret)
@@ -3742,6 +3858,7 @@ static int
remoteDispatchStoragePoolListVolumes (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_list_volumes_args *args,
remote_storage_pool_list_volumes_ret *ret)
@@ -3785,6 +3902,7 @@ static int
remoteDispatchStoragePoolNumOfVolumes (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_pool_num_of_volumes_args *args,
remote_storage_pool_num_of_volumes_ret *ret)
@@ -3818,6 +3936,7 @@ static int
remoteDispatchStorageVolCreateXml (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_vol_create_xml_args *args,
remote_storage_vol_create_xml_ret *ret)
@@ -3847,6 +3966,7 @@ static int
remoteDispatchStorageVolCreateXmlFrom (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_vol_create_xml_from_args *args,
remote_storage_vol_create_xml_from_ret *ret)
@@ -3882,6 +4002,7 @@ static int
remoteDispatchStorageVolDelete (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_vol_delete_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -3907,6 +4028,7 @@ static int
remoteDispatchStorageVolGetInfo (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_vol_get_info_args *args,
remote_storage_vol_get_info_ret *ret)
@@ -3939,6 +4061,7 @@ static int
remoteDispatchStorageVolDumpXml (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_vol_dump_xml_args *args,
remote_storage_vol_dump_xml_ret *ret)
@@ -3967,6 +4090,7 @@ static int
remoteDispatchStorageVolGetPath (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_vol_get_path_args *args,
remote_storage_vol_get_path_ret *ret)
@@ -3995,6 +4119,7 @@ static int
remoteDispatchStorageVolLookupByName (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_vol_lookup_by_name_args *args,
remote_storage_vol_lookup_by_name_ret *ret)
@@ -4024,6 +4149,7 @@ static int
remoteDispatchStorageVolLookupByKey (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_vol_lookup_by_key_args *args,
remote_storage_vol_lookup_by_key_ret *ret)
@@ -4046,6 +4172,7 @@ static int
remoteDispatchStorageVolLookupByPath (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_storage_vol_lookup_by_path_args *args,
remote_storage_vol_lookup_by_path_ret *ret)
@@ -4072,6 +4199,7 @@ static int
remoteDispatchNodeNumOfDevices (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_node_num_of_devices_args *args,
remote_node_num_of_devices_ret *ret)
@@ -4094,6 +4222,7 @@ static int
remoteDispatchNodeListDevices (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_node_list_devices_args *args,
remote_node_list_devices_ret *ret)
@@ -4130,6 +4259,7 @@ static int
remoteDispatchNodeDeviceLookupByName (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_node_device_lookup_by_name_args *args,
remote_node_device_lookup_by_name_ret *ret)
@@ -4154,6 +4284,7 @@ static int
remoteDispatchNodeDeviceDumpXml (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_node_device_dump_xml_args *args,
remote_node_device_dump_xml_ret *ret)
@@ -4183,6 +4314,7 @@ static int
remoteDispatchNodeDeviceGetParent (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_node_device_get_parent_args *args,
remote_node_device_get_parent_ret *ret)
@@ -4225,6 +4357,7 @@ static int
remoteDispatchNodeDeviceNumOfCaps (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_node_device_num_of_caps_args *args,
remote_node_device_num_of_caps_ret *ret)
@@ -4253,6 +4386,7 @@ static int
remoteDispatchNodeDeviceListCaps (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_node_device_list_caps_args *args,
remote_node_device_list_caps_ret *ret)
@@ -4295,6 +4429,7 @@ static int
remoteDispatchNodeDeviceDettach (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_node_device_dettach_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -4321,6 +4456,7 @@ static int
remoteDispatchNodeDeviceReAttach (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_node_device_re_attach_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -4347,6 +4483,7 @@ static int
remoteDispatchNodeDeviceReset (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_node_device_reset_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -4373,6 +4510,7 @@ static int
remoteDispatchNodeDeviceCreateXml(struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_node_device_create_xml_args *args,
remote_node_device_create_xml_ret *ret)
@@ -4396,6 +4534,7 @@ static int
remoteDispatchNodeDeviceDestroy(struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr,
remote_node_device_destroy_args *args,
void *ret ATTRIBUTE_UNUSED)
@@ -4425,6 +4564,7 @@ static int
remoteDispatchDomainEventsRegister (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr ATTRIBUTE_UNUSED,
void *args ATTRIBUTE_UNUSED,
remote_domain_events_register_ret *ret
ATTRIBUTE_UNUSED)
@@ -4444,6 +4584,7 @@ static int
remoteDispatchDomainEventsDeregister (struct qemud_server *server ATTRIBUTE_UNUSED,
struct qemud_client *client ATTRIBUTE_UNUSED,
virConnectPtr conn,
+ remote_message_header *hdr ATTRIBUTE_UNUSED,
remote_error *rerr ATTRIBUTE_UNUSED,
void *args ATTRIBUTE_UNUSED,
remote_domain_events_deregister_ret *ret
ATTRIBUTE_UNUSED)
diff --git a/qemud/remote.h b/qemud/remote.h
index e3ee696..9baf045 100644
--- a/qemud/remote.h
+++ b/qemud/remote.h
@@ -54,6 +54,7 @@ typedef union {
typedef int (*dispatch_fn) (struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
dispatch_args *args,
dispatch_ret *ret);
diff --git a/qemud/remote_dispatch_prototypes.h b/qemud/remote_dispatch_prototypes.h
index d9f6aad..a25ea16 100644
--- a/qemud/remote_dispatch_prototypes.h
+++ b/qemud/remote_dispatch_prototypes.h
@@ -6,6 +6,7 @@ static int remoteDispatchAuthList(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_auth_list_ret *ret);
@@ -13,6 +14,7 @@ static int remoteDispatchAuthPolkit(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_auth_polkit_ret *ret);
@@ -20,6 +22,7 @@ static int remoteDispatchAuthSaslInit(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_auth_sasl_init_ret *ret);
@@ -27,6 +30,7 @@ static int remoteDispatchAuthSaslStart(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_auth_sasl_start_args *args,
remote_auth_sasl_start_ret *ret);
@@ -34,6 +38,7 @@ static int remoteDispatchAuthSaslStep(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_auth_sasl_step_args *args,
remote_auth_sasl_step_ret *ret);
@@ -41,6 +46,7 @@ static int remoteDispatchClose(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
void *ret);
@@ -48,6 +54,7 @@ static int remoteDispatchDomainAttachDevice(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_attach_device_args *args,
void *ret);
@@ -55,6 +62,7 @@ static int remoteDispatchDomainBlockPeek(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_block_peek_args *args,
remote_domain_block_peek_ret *ret);
@@ -62,6 +70,7 @@ static int remoteDispatchDomainBlockStats(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_block_stats_args *args,
remote_domain_block_stats_ret *ret);
@@ -69,6 +78,7 @@ static int remoteDispatchDomainCoreDump(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_core_dump_args *args,
void *ret);
@@ -76,6 +86,7 @@ static int remoteDispatchDomainCreate(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_create_args *args,
void *ret);
@@ -83,6 +94,7 @@ static int remoteDispatchDomainCreateXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_create_xml_args *args,
remote_domain_create_xml_ret *ret);
@@ -90,6 +102,7 @@ static int remoteDispatchDomainDefineXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_define_xml_args *args,
remote_domain_define_xml_ret *ret);
@@ -97,6 +110,7 @@ static int remoteDispatchDomainDestroy(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_destroy_args *args,
void *ret);
@@ -104,6 +118,7 @@ static int remoteDispatchDomainDetachDevice(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_detach_device_args *args,
void *ret);
@@ -111,6 +126,7 @@ static int remoteDispatchDomainDumpXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_dump_xml_args *args,
remote_domain_dump_xml_ret *ret);
@@ -118,6 +134,7 @@ static int remoteDispatchDomainEventsDeregister(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_domain_events_deregister_ret *ret);
@@ -125,6 +142,7 @@ static int remoteDispatchDomainEventsRegister(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_domain_events_register_ret *ret);
@@ -132,6 +150,7 @@ static int remoteDispatchDomainGetAutostart(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_get_autostart_args *args,
remote_domain_get_autostart_ret *ret);
@@ -139,6 +158,7 @@ static int remoteDispatchDomainGetInfo(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_get_info_args *args,
remote_domain_get_info_ret *ret);
@@ -146,6 +166,7 @@ static int remoteDispatchDomainGetMaxMemory(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_get_max_memory_args *args,
remote_domain_get_max_memory_ret *ret);
@@ -153,6 +174,7 @@ static int remoteDispatchDomainGetMaxVcpus(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_get_max_vcpus_args *args,
remote_domain_get_max_vcpus_ret *ret);
@@ -160,6 +182,7 @@ static int remoteDispatchDomainGetOsType(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_get_os_type_args *args,
remote_domain_get_os_type_ret *ret);
@@ -167,6 +190,7 @@ static int remoteDispatchDomainGetSchedulerParameters(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_get_scheduler_parameters_args *args,
remote_domain_get_scheduler_parameters_ret *ret);
@@ -174,6 +198,7 @@ static int remoteDispatchDomainGetSchedulerType(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_get_scheduler_type_args *args,
remote_domain_get_scheduler_type_ret *ret);
@@ -181,6 +206,7 @@ static int remoteDispatchDomainGetSecurityLabel(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_get_security_label_args *args,
remote_domain_get_security_label_ret *ret);
@@ -188,6 +214,7 @@ static int remoteDispatchDomainGetVcpus(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_get_vcpus_args *args,
remote_domain_get_vcpus_ret *ret);
@@ -195,6 +222,7 @@ static int remoteDispatchDomainInterfaceStats(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_interface_stats_args *args,
remote_domain_interface_stats_ret *ret);
@@ -202,6 +230,7 @@ static int remoteDispatchDomainLookupById(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_lookup_by_id_args *args,
remote_domain_lookup_by_id_ret *ret);
@@ -209,6 +238,7 @@ static int remoteDispatchDomainLookupByName(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_lookup_by_name_args *args,
remote_domain_lookup_by_name_ret *ret);
@@ -216,6 +246,7 @@ static int remoteDispatchDomainLookupByUuid(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_lookup_by_uuid_args *args,
remote_domain_lookup_by_uuid_ret *ret);
@@ -223,6 +254,7 @@ static int remoteDispatchDomainMemoryPeek(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_memory_peek_args *args,
remote_domain_memory_peek_ret *ret);
@@ -230,6 +262,7 @@ static int remoteDispatchDomainMigrateFinish(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_migrate_finish_args *args,
remote_domain_migrate_finish_ret *ret);
@@ -237,6 +270,7 @@ static int remoteDispatchDomainMigrateFinish2(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_migrate_finish2_args *args,
remote_domain_migrate_finish2_ret *ret);
@@ -244,6 +278,7 @@ static int remoteDispatchDomainMigratePerform(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_migrate_perform_args *args,
void *ret);
@@ -251,6 +286,7 @@ static int remoteDispatchDomainMigratePrepare(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_migrate_prepare_args *args,
remote_domain_migrate_prepare_ret *ret);
@@ -258,6 +294,7 @@ static int remoteDispatchDomainMigratePrepare2(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_migrate_prepare2_args *args,
remote_domain_migrate_prepare2_ret *ret);
@@ -265,6 +302,7 @@ static int remoteDispatchDomainPinVcpu(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_pin_vcpu_args *args,
void *ret);
@@ -272,6 +310,7 @@ static int remoteDispatchDomainReboot(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_reboot_args *args,
void *ret);
@@ -279,6 +318,7 @@ static int remoteDispatchDomainRestore(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_restore_args *args,
void *ret);
@@ -286,6 +326,7 @@ static int remoteDispatchDomainResume(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_resume_args *args,
void *ret);
@@ -293,6 +334,7 @@ static int remoteDispatchDomainSave(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_save_args *args,
void *ret);
@@ -300,6 +342,7 @@ static int remoteDispatchDomainSetAutostart(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_set_autostart_args *args,
void *ret);
@@ -307,6 +350,7 @@ static int remoteDispatchDomainSetMaxMemory(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_set_max_memory_args *args,
void *ret);
@@ -314,6 +358,7 @@ static int remoteDispatchDomainSetMemory(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_set_memory_args *args,
void *ret);
@@ -321,6 +366,7 @@ static int remoteDispatchDomainSetSchedulerParameters(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_set_scheduler_parameters_args *args,
void *ret);
@@ -328,6 +374,7 @@ static int remoteDispatchDomainSetVcpus(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_set_vcpus_args *args,
void *ret);
@@ -335,6 +382,7 @@ static int remoteDispatchDomainShutdown(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_shutdown_args *args,
void *ret);
@@ -342,6 +390,7 @@ static int remoteDispatchDomainSuspend(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_suspend_args *args,
void *ret);
@@ -349,6 +398,7 @@ static int remoteDispatchDomainUndefine(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_undefine_args *args,
void *ret);
@@ -356,6 +406,7 @@ static int remoteDispatchDomainXmlFromNative(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_xml_from_native_args *args,
remote_domain_xml_from_native_ret *ret);
@@ -363,6 +414,7 @@ static int remoteDispatchDomainXmlToNative(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_domain_xml_to_native_args *args,
remote_domain_xml_to_native_ret *ret);
@@ -370,6 +422,7 @@ static int remoteDispatchFindStoragePoolSources(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_find_storage_pool_sources_args *args,
remote_find_storage_pool_sources_ret *ret);
@@ -377,6 +430,7 @@ static int remoteDispatchGetCapabilities(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_get_capabilities_ret *ret);
@@ -384,6 +438,7 @@ static int remoteDispatchGetHostname(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_get_hostname_ret *ret);
@@ -391,6 +446,7 @@ static int remoteDispatchGetMaxVcpus(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_get_max_vcpus_args *args,
remote_get_max_vcpus_ret *ret);
@@ -398,6 +454,7 @@ static int remoteDispatchGetType(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_get_type_ret *ret);
@@ -405,6 +462,7 @@ static int remoteDispatchGetUri(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_get_uri_ret *ret);
@@ -412,6 +470,7 @@ static int remoteDispatchGetVersion(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_get_version_ret *ret);
@@ -419,6 +478,7 @@ static int remoteDispatchInterfaceCreate(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_interface_create_args *args,
void *ret);
@@ -426,6 +486,7 @@ static int remoteDispatchInterfaceDefineXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_interface_define_xml_args *args,
remote_interface_define_xml_ret *ret);
@@ -433,6 +494,7 @@ static int remoteDispatchInterfaceDestroy(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_interface_destroy_args *args,
void *ret);
@@ -440,6 +502,7 @@ static int remoteDispatchInterfaceGetXmlDesc(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_interface_get_xml_desc_args *args,
remote_interface_get_xml_desc_ret *ret);
@@ -447,6 +510,7 @@ static int remoteDispatchInterfaceLookupByMacString(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_interface_lookup_by_mac_string_args *args,
remote_interface_lookup_by_mac_string_ret *ret);
@@ -454,6 +518,7 @@ static int remoteDispatchInterfaceLookupByName(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_interface_lookup_by_name_args *args,
remote_interface_lookup_by_name_ret *ret);
@@ -461,6 +526,7 @@ static int remoteDispatchInterfaceUndefine(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_interface_undefine_args *args,
void *ret);
@@ -468,6 +534,7 @@ static int remoteDispatchListDefinedDomains(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_list_defined_domains_args *args,
remote_list_defined_domains_ret *ret);
@@ -475,6 +542,7 @@ static int remoteDispatchListDefinedInterfaces(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_list_defined_interfaces_args *args,
remote_list_defined_interfaces_ret *ret);
@@ -482,6 +550,7 @@ static int remoteDispatchListDefinedNetworks(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_list_defined_networks_args *args,
remote_list_defined_networks_ret *ret);
@@ -489,6 +558,7 @@ static int remoteDispatchListDefinedStoragePools(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_list_defined_storage_pools_args *args,
remote_list_defined_storage_pools_ret *ret);
@@ -496,6 +566,7 @@ static int remoteDispatchListDomains(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_list_domains_args *args,
remote_list_domains_ret *ret);
@@ -503,6 +574,7 @@ static int remoteDispatchListInterfaces(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_list_interfaces_args *args,
remote_list_interfaces_ret *ret);
@@ -510,6 +582,7 @@ static int remoteDispatchListNetworks(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_list_networks_args *args,
remote_list_networks_ret *ret);
@@ -517,6 +590,7 @@ static int remoteDispatchListStoragePools(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_list_storage_pools_args *args,
remote_list_storage_pools_ret *ret);
@@ -524,6 +598,7 @@ static int remoteDispatchNetworkCreate(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_network_create_args *args,
void *ret);
@@ -531,6 +606,7 @@ static int remoteDispatchNetworkCreateXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_network_create_xml_args *args,
remote_network_create_xml_ret *ret);
@@ -538,6 +614,7 @@ static int remoteDispatchNetworkDefineXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_network_define_xml_args *args,
remote_network_define_xml_ret *ret);
@@ -545,6 +622,7 @@ static int remoteDispatchNetworkDestroy(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_network_destroy_args *args,
void *ret);
@@ -552,6 +630,7 @@ static int remoteDispatchNetworkDumpXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_network_dump_xml_args *args,
remote_network_dump_xml_ret *ret);
@@ -559,6 +638,7 @@ static int remoteDispatchNetworkGetAutostart(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_network_get_autostart_args *args,
remote_network_get_autostart_ret *ret);
@@ -566,6 +646,7 @@ static int remoteDispatchNetworkGetBridgeName(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_network_get_bridge_name_args *args,
remote_network_get_bridge_name_ret *ret);
@@ -573,6 +654,7 @@ static int remoteDispatchNetworkLookupByName(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_network_lookup_by_name_args *args,
remote_network_lookup_by_name_ret *ret);
@@ -580,6 +662,7 @@ static int remoteDispatchNetworkLookupByUuid(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_network_lookup_by_uuid_args *args,
remote_network_lookup_by_uuid_ret *ret);
@@ -587,6 +670,7 @@ static int remoteDispatchNetworkSetAutostart(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_network_set_autostart_args *args,
void *ret);
@@ -594,6 +678,7 @@ static int remoteDispatchNetworkUndefine(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_network_undefine_args *args,
void *ret);
@@ -601,6 +686,7 @@ static int remoteDispatchNodeDeviceCreateXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_node_device_create_xml_args *args,
remote_node_device_create_xml_ret *ret);
@@ -608,6 +694,7 @@ static int remoteDispatchNodeDeviceDestroy(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_node_device_destroy_args *args,
void *ret);
@@ -615,6 +702,7 @@ static int remoteDispatchNodeDeviceDettach(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_node_device_dettach_args *args,
void *ret);
@@ -622,6 +710,7 @@ static int remoteDispatchNodeDeviceDumpXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_node_device_dump_xml_args *args,
remote_node_device_dump_xml_ret *ret);
@@ -629,6 +718,7 @@ static int remoteDispatchNodeDeviceGetParent(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_node_device_get_parent_args *args,
remote_node_device_get_parent_ret *ret);
@@ -636,6 +726,7 @@ static int remoteDispatchNodeDeviceListCaps(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_node_device_list_caps_args *args,
remote_node_device_list_caps_ret *ret);
@@ -643,6 +734,7 @@ static int remoteDispatchNodeDeviceLookupByName(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_node_device_lookup_by_name_args *args,
remote_node_device_lookup_by_name_ret *ret);
@@ -650,6 +742,7 @@ static int remoteDispatchNodeDeviceNumOfCaps(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_node_device_num_of_caps_args *args,
remote_node_device_num_of_caps_ret *ret);
@@ -657,6 +750,7 @@ static int remoteDispatchNodeDeviceReAttach(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_node_device_re_attach_args *args,
void *ret);
@@ -664,6 +758,7 @@ static int remoteDispatchNodeDeviceReset(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_node_device_reset_args *args,
void *ret);
@@ -671,6 +766,7 @@ static int remoteDispatchNodeGetCellsFreeMemory(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_node_get_cells_free_memory_args *args,
remote_node_get_cells_free_memory_ret *ret);
@@ -678,6 +774,7 @@ static int remoteDispatchNodeGetFreeMemory(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_node_get_free_memory_ret *ret);
@@ -685,6 +782,7 @@ static int remoteDispatchNodeGetInfo(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_node_get_info_ret *ret);
@@ -692,6 +790,7 @@ static int remoteDispatchNodeGetSecurityModel(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_node_get_security_model_ret *ret);
@@ -699,6 +798,7 @@ static int remoteDispatchNodeListDevices(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_node_list_devices_args *args,
remote_node_list_devices_ret *ret);
@@ -706,6 +806,7 @@ static int remoteDispatchNodeNumOfDevices(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_node_num_of_devices_args *args,
remote_node_num_of_devices_ret *ret);
@@ -713,6 +814,7 @@ static int remoteDispatchNumOfDefinedDomains(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_num_of_defined_domains_ret *ret);
@@ -720,6 +822,7 @@ static int remoteDispatchNumOfDefinedInterfaces(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_num_of_defined_interfaces_ret *ret);
@@ -727,6 +830,7 @@ static int remoteDispatchNumOfDefinedNetworks(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_num_of_defined_networks_ret *ret);
@@ -734,6 +838,7 @@ static int remoteDispatchNumOfDefinedStoragePools(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_num_of_defined_storage_pools_ret *ret);
@@ -741,6 +846,7 @@ static int remoteDispatchNumOfDomains(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_num_of_domains_ret *ret);
@@ -748,6 +854,7 @@ static int remoteDispatchNumOfInterfaces(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_num_of_interfaces_ret *ret);
@@ -755,6 +862,7 @@ static int remoteDispatchNumOfNetworks(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_num_of_networks_ret *ret);
@@ -762,6 +870,7 @@ static int remoteDispatchNumOfStoragePools(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
void *args,
remote_num_of_storage_pools_ret *ret);
@@ -769,6 +878,7 @@ static int remoteDispatchOpen(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_open_args *args,
void *ret);
@@ -776,6 +886,7 @@ static int remoteDispatchStoragePoolBuild(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_build_args *args,
void *ret);
@@ -783,6 +894,7 @@ static int remoteDispatchStoragePoolCreate(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_create_args *args,
void *ret);
@@ -790,6 +902,7 @@ static int remoteDispatchStoragePoolCreateXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_create_xml_args *args,
remote_storage_pool_create_xml_ret *ret);
@@ -797,6 +910,7 @@ static int remoteDispatchStoragePoolDefineXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_define_xml_args *args,
remote_storage_pool_define_xml_ret *ret);
@@ -804,6 +918,7 @@ static int remoteDispatchStoragePoolDelete(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_delete_args *args,
void *ret);
@@ -811,6 +926,7 @@ static int remoteDispatchStoragePoolDestroy(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_destroy_args *args,
void *ret);
@@ -818,6 +934,7 @@ static int remoteDispatchStoragePoolDumpXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_dump_xml_args *args,
remote_storage_pool_dump_xml_ret *ret);
@@ -825,6 +942,7 @@ static int remoteDispatchStoragePoolGetAutostart(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_get_autostart_args *args,
remote_storage_pool_get_autostart_ret *ret);
@@ -832,6 +950,7 @@ static int remoteDispatchStoragePoolGetInfo(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_get_info_args *args,
remote_storage_pool_get_info_ret *ret);
@@ -839,6 +958,7 @@ static int remoteDispatchStoragePoolListVolumes(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_list_volumes_args *args,
remote_storage_pool_list_volumes_ret *ret);
@@ -846,6 +966,7 @@ static int remoteDispatchStoragePoolLookupByName(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_lookup_by_name_args *args,
remote_storage_pool_lookup_by_name_ret *ret);
@@ -853,6 +974,7 @@ static int remoteDispatchStoragePoolLookupByUuid(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_lookup_by_uuid_args *args,
remote_storage_pool_lookup_by_uuid_ret *ret);
@@ -860,6 +982,7 @@ static int remoteDispatchStoragePoolLookupByVolume(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_lookup_by_volume_args *args,
remote_storage_pool_lookup_by_volume_ret *ret);
@@ -867,6 +990,7 @@ static int remoteDispatchStoragePoolNumOfVolumes(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_num_of_volumes_args *args,
remote_storage_pool_num_of_volumes_ret *ret);
@@ -874,6 +998,7 @@ static int remoteDispatchStoragePoolRefresh(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_refresh_args *args,
void *ret);
@@ -881,6 +1006,7 @@ static int remoteDispatchStoragePoolSetAutostart(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_set_autostart_args *args,
void *ret);
@@ -888,6 +1014,7 @@ static int remoteDispatchStoragePoolUndefine(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_pool_undefine_args *args,
void *ret);
@@ -895,6 +1022,7 @@ static int remoteDispatchStorageVolCreateXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_vol_create_xml_args *args,
remote_storage_vol_create_xml_ret *ret);
@@ -902,6 +1030,7 @@ static int remoteDispatchStorageVolCreateXmlFrom(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_vol_create_xml_from_args *args,
remote_storage_vol_create_xml_from_ret *ret);
@@ -909,6 +1038,7 @@ static int remoteDispatchStorageVolDelete(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_vol_delete_args *args,
void *ret);
@@ -916,6 +1046,7 @@ static int remoteDispatchStorageVolDumpXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_vol_dump_xml_args *args,
remote_storage_vol_dump_xml_ret *ret);
@@ -923,6 +1054,7 @@ static int remoteDispatchStorageVolGetInfo(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_vol_get_info_args *args,
remote_storage_vol_get_info_ret *ret);
@@ -930,6 +1062,7 @@ static int remoteDispatchStorageVolGetPath(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_vol_get_path_args *args,
remote_storage_vol_get_path_ret *ret);
@@ -937,6 +1070,7 @@ static int remoteDispatchStorageVolLookupByKey(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_vol_lookup_by_key_args *args,
remote_storage_vol_lookup_by_key_ret *ret);
@@ -944,6 +1078,7 @@ static int remoteDispatchStorageVolLookupByName(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_vol_lookup_by_name_args *args,
remote_storage_vol_lookup_by_name_ret *ret);
@@ -951,6 +1086,7 @@ static int remoteDispatchStorageVolLookupByPath(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_storage_vol_lookup_by_path_args *args,
remote_storage_vol_lookup_by_path_ret *ret);
@@ -958,6 +1094,7 @@ static int remoteDispatchSupportsFeature(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
+ remote_message_header *hdr,
remote_error *err,
remote_supports_feature_args *args,
remote_supports_feature_ret *ret);
diff --git a/qemud/remote_generate_stubs.pl b/qemud/remote_generate_stubs.pl
index 9bca0cc..8b26e3d 100755
--- a/qemud/remote_generate_stubs.pl
+++ b/qemud/remote_generate_stubs.pl
@@ -115,6 +115,7 @@ elsif ($opt_p) {
print " struct qemud_server *server,\n";
print " struct qemud_client *client,\n";
print " virConnectPtr conn,\n";
+ print " remote_message_header *hdr,\n";
print " remote_error *err,\n";
print " $calls{$_}->{args} *args,\n";
print " $calls{$_}->{ret} *ret);\n";
--
1.6.2.5