2008-12-04 22:03:24 +00:00
|
|
|
/* Automatically generated by remote_generate_stubs.pl.
|
|
|
|
* Do not edit this file. Any changes you make will be lost.
|
|
|
|
*/
|
|
|
|
|
|
|
|
remote_open_args val_remote_open_args;
|
|
|
|
remote_get_max_vcpus_args val_remote_get_max_vcpus_args;
|
|
|
|
remote_domain_attach_device_args val_remote_domain_attach_device_args;
|
|
|
|
remote_domain_create_args val_remote_domain_create_args;
|
|
|
|
remote_domain_create_xml_args val_remote_domain_create_xml_args;
|
|
|
|
remote_domain_define_xml_args val_remote_domain_define_xml_args;
|
|
|
|
remote_domain_destroy_args val_remote_domain_destroy_args;
|
|
|
|
remote_domain_detach_device_args val_remote_domain_detach_device_args;
|
|
|
|
remote_domain_dump_xml_args val_remote_domain_dump_xml_args;
|
|
|
|
remote_domain_get_autostart_args val_remote_domain_get_autostart_args;
|
|
|
|
remote_domain_get_info_args val_remote_domain_get_info_args;
|
|
|
|
remote_domain_get_max_memory_args val_remote_domain_get_max_memory_args;
|
|
|
|
remote_domain_get_max_vcpus_args val_remote_domain_get_max_vcpus_args;
|
|
|
|
remote_domain_get_os_type_args val_remote_domain_get_os_type_args;
|
|
|
|
remote_domain_get_vcpus_args val_remote_domain_get_vcpus_args;
|
|
|
|
remote_list_defined_domains_args val_remote_list_defined_domains_args;
|
|
|
|
remote_domain_lookup_by_id_args val_remote_domain_lookup_by_id_args;
|
|
|
|
remote_domain_lookup_by_name_args val_remote_domain_lookup_by_name_args;
|
|
|
|
remote_domain_lookup_by_uuid_args val_remote_domain_lookup_by_uuid_args;
|
|
|
|
remote_domain_pin_vcpu_args val_remote_domain_pin_vcpu_args;
|
|
|
|
remote_domain_reboot_args val_remote_domain_reboot_args;
|
|
|
|
remote_domain_resume_args val_remote_domain_resume_args;
|
|
|
|
remote_domain_set_autostart_args val_remote_domain_set_autostart_args;
|
|
|
|
remote_domain_set_max_memory_args val_remote_domain_set_max_memory_args;
|
|
|
|
remote_domain_set_memory_args val_remote_domain_set_memory_args;
|
|
|
|
remote_domain_set_vcpus_args val_remote_domain_set_vcpus_args;
|
|
|
|
remote_domain_shutdown_args val_remote_domain_shutdown_args;
|
|
|
|
remote_domain_suspend_args val_remote_domain_suspend_args;
|
|
|
|
remote_domain_undefine_args val_remote_domain_undefine_args;
|
|
|
|
remote_list_defined_networks_args val_remote_list_defined_networks_args;
|
|
|
|
remote_list_domains_args val_remote_list_domains_args;
|
|
|
|
remote_list_networks_args val_remote_list_networks_args;
|
|
|
|
remote_network_create_args val_remote_network_create_args;
|
|
|
|
remote_network_create_xml_args val_remote_network_create_xml_args;
|
|
|
|
remote_network_define_xml_args val_remote_network_define_xml_args;
|
|
|
|
remote_network_destroy_args val_remote_network_destroy_args;
|
|
|
|
remote_network_dump_xml_args val_remote_network_dump_xml_args;
|
|
|
|
remote_network_get_autostart_args val_remote_network_get_autostart_args;
|
|
|
|
remote_network_get_bridge_name_args val_remote_network_get_bridge_name_args;
|
|
|
|
remote_network_lookup_by_name_args val_remote_network_lookup_by_name_args;
|
|
|
|
remote_network_lookup_by_uuid_args val_remote_network_lookup_by_uuid_args;
|
|
|
|
remote_network_set_autostart_args val_remote_network_set_autostart_args;
|
|
|
|
remote_network_undefine_args val_remote_network_undefine_args;
|
|
|
|
remote_domain_core_dump_args val_remote_domain_core_dump_args;
|
|
|
|
remote_domain_restore_args val_remote_domain_restore_args;
|
|
|
|
remote_domain_save_args val_remote_domain_save_args;
|
|
|
|
remote_domain_get_scheduler_type_args val_remote_domain_get_scheduler_type_args;
|
|
|
|
remote_domain_get_scheduler_parameters_args val_remote_domain_get_scheduler_parameters_args;
|
|
|
|
remote_domain_set_scheduler_parameters_args val_remote_domain_set_scheduler_parameters_args;
|
|
|
|
remote_supports_feature_args val_remote_supports_feature_args;
|
|
|
|
remote_domain_migrate_prepare_args val_remote_domain_migrate_prepare_args;
|
|
|
|
remote_domain_migrate_perform_args val_remote_domain_migrate_perform_args;
|
|
|
|
remote_domain_migrate_finish_args val_remote_domain_migrate_finish_args;
|
|
|
|
remote_domain_block_stats_args val_remote_domain_block_stats_args;
|
|
|
|
remote_domain_interface_stats_args val_remote_domain_interface_stats_args;
|
|
|
|
remote_auth_sasl_start_args val_remote_auth_sasl_start_args;
|
|
|
|
remote_auth_sasl_step_args val_remote_auth_sasl_step_args;
|
|
|
|
remote_list_storage_pools_args val_remote_list_storage_pools_args;
|
|
|
|
remote_list_defined_storage_pools_args val_remote_list_defined_storage_pools_args;
|
|
|
|
remote_find_storage_pool_sources_args val_remote_find_storage_pool_sources_args;
|
|
|
|
remote_storage_pool_create_xml_args val_remote_storage_pool_create_xml_args;
|
|
|
|
remote_storage_pool_define_xml_args val_remote_storage_pool_define_xml_args;
|
|
|
|
remote_storage_pool_create_args val_remote_storage_pool_create_args;
|
|
|
|
remote_storage_pool_build_args val_remote_storage_pool_build_args;
|
|
|
|
remote_storage_pool_destroy_args val_remote_storage_pool_destroy_args;
|
|
|
|
remote_storage_pool_delete_args val_remote_storage_pool_delete_args;
|
|
|
|
remote_storage_pool_undefine_args val_remote_storage_pool_undefine_args;
|
|
|
|
remote_storage_pool_refresh_args val_remote_storage_pool_refresh_args;
|
|
|
|
remote_storage_pool_lookup_by_name_args val_remote_storage_pool_lookup_by_name_args;
|
|
|
|
remote_storage_pool_lookup_by_uuid_args val_remote_storage_pool_lookup_by_uuid_args;
|
|
|
|
remote_storage_pool_lookup_by_volume_args val_remote_storage_pool_lookup_by_volume_args;
|
|
|
|
remote_storage_pool_get_info_args val_remote_storage_pool_get_info_args;
|
|
|
|
remote_storage_pool_dump_xml_args val_remote_storage_pool_dump_xml_args;
|
|
|
|
remote_storage_pool_get_autostart_args val_remote_storage_pool_get_autostart_args;
|
|
|
|
remote_storage_pool_set_autostart_args val_remote_storage_pool_set_autostart_args;
|
|
|
|
remote_storage_pool_num_of_volumes_args val_remote_storage_pool_num_of_volumes_args;
|
|
|
|
remote_storage_pool_list_volumes_args val_remote_storage_pool_list_volumes_args;
|
|
|
|
remote_storage_vol_create_xml_args val_remote_storage_vol_create_xml_args;
|
|
|
|
remote_storage_vol_delete_args val_remote_storage_vol_delete_args;
|
|
|
|
remote_storage_vol_lookup_by_name_args val_remote_storage_vol_lookup_by_name_args;
|
|
|
|
remote_storage_vol_lookup_by_key_args val_remote_storage_vol_lookup_by_key_args;
|
|
|
|
remote_storage_vol_lookup_by_path_args val_remote_storage_vol_lookup_by_path_args;
|
|
|
|
remote_storage_vol_get_info_args val_remote_storage_vol_get_info_args;
|
|
|
|
remote_storage_vol_dump_xml_args val_remote_storage_vol_dump_xml_args;
|
|
|
|
remote_storage_vol_get_path_args val_remote_storage_vol_get_path_args;
|
|
|
|
remote_node_get_cells_free_memory_args val_remote_node_get_cells_free_memory_args;
|
|
|
|
remote_domain_block_peek_args val_remote_domain_block_peek_args;
|
|
|
|
remote_domain_memory_peek_args val_remote_domain_memory_peek_args;
|
|
|
|
remote_domain_migrate_prepare2_args val_remote_domain_migrate_prepare2_args;
|
|
|
|
remote_domain_migrate_finish2_args val_remote_domain_migrate_finish2_args;
|
|
|
|
remote_node_num_of_devices_args val_remote_node_num_of_devices_args;
|
|
|
|
remote_node_list_devices_args val_remote_node_list_devices_args;
|
|
|
|
remote_node_device_lookup_by_name_args val_remote_node_device_lookup_by_name_args;
|
|
|
|
remote_node_device_dump_xml_args val_remote_node_device_dump_xml_args;
|
|
|
|
remote_node_device_get_parent_args val_remote_node_device_get_parent_args;
|
|
|
|
remote_node_device_num_of_caps_args val_remote_node_device_num_of_caps_args;
|
|
|
|
remote_node_device_list_caps_args val_remote_node_device_list_caps_args;
|
2009-03-02 16:30:59 +00:00
|
|
|
remote_node_device_dettach_args val_remote_node_device_dettach_args;
|
|
|
|
remote_node_device_re_attach_args val_remote_node_device_re_attach_args;
|
|
|
|
remote_node_device_reset_args val_remote_node_device_reset_args;
|
2009-03-03 09:27:02 +00:00
|
|
|
remote_domain_get_security_label_args val_remote_domain_get_security_label_args;
|
2009-04-24 13:11:23 +00:00
|
|
|
remote_node_device_create_xml_args val_remote_node_device_create_xml_args;
|
|
|
|
remote_node_device_destroy_args val_remote_node_device_destroy_args;
|
2009-05-12 20:13:52 +00:00
|
|
|
remote_storage_vol_create_xml_from_args val_remote_storage_vol_create_xml_from_args;
|
2009-05-20 14:26:49 +00:00
|
|
|
remote_list_interfaces_args val_remote_list_interfaces_args;
|
|
|
|
remote_interface_lookup_by_name_args val_remote_interface_lookup_by_name_args;
|
|
|
|
remote_interface_lookup_by_mac_string_args val_remote_interface_lookup_by_mac_string_args;
|
|
|
|
remote_interface_get_xml_desc_args val_remote_interface_get_xml_desc_args;
|
|
|
|
remote_interface_define_xml_args val_remote_interface_define_xml_args;
|
|
|
|
remote_interface_undefine_args val_remote_interface_undefine_args;
|
|
|
|
remote_interface_create_args val_remote_interface_create_args;
|
|
|
|
remote_interface_destroy_args val_remote_interface_destroy_args;
|
2009-05-21 13:50:56 +00:00
|
|
|
remote_domain_xml_from_native_args val_remote_domain_xml_from_native_args;
|
|
|
|
remote_domain_xml_to_native_args val_remote_domain_xml_to_native_args;
|
2009-07-16 15:58:15 +00:00
|
|
|
remote_list_defined_interfaces_args val_remote_list_defined_interfaces_args;
|
2009-07-28 02:01:00 +00:00
|
|
|
remote_list_secrets_args val_remote_list_secrets_args;
|
Fix UUID handling in secrets/storage encryption APIs
Convert all the secret/storage encryption APIs / wire format to
handle UUIDs in raw format instead of non-canonical printable
format. Guarentees data format correctness.
* docs/schemas/storageencryption.rng: Make UUID mandatory for a secret
and validate fully
* docs/schemas/secret.rng: Fully validate UUID
* include/libvirt/libvirt.h, include/libvirt/libvirt.h.in, Add
virSecretLookupByUUID and virSecretGetUUID. Make
virSecretGetUUIDString follow normal API design pattern
* python/generator.py: Skip generation of virSecretGetUUID,
virSecretGetUUIDString and virSecretLookupByUUID
* python/libvir.c, python/libvirt-python-api.xml: Manual impl
of virSecretGetUUID,virSecretGetUUIDString and virSecretLookupByUUID
* qemud/remote.c: s/virSecretLookupByUUIDString/virSecretLookupByUUID/
Fix get_nonnull_secret/make_nonnull_secret to use unsigned char
* qemud/remote_protocol.x: Fix remote_nonnull_secret to use a
remote_uuid instead of remote_nonnull_string for UUID field.
Rename REMOTE_PROC_SECRET_LOOKUP_BY_UUID_STRING to
REMOTE_PROC_SECRET_LOOKUP_BY_UUID_STRING and make it take an
remote_uuid value
* qemud/remote_dispatch_args.h, qemud/remote_dispatch_prototypes.h,
qemud/remote_dispatch_ret.h, qemud/remote_dispatch_table.h,
qemud/remote_protocol.c, qemud/remote_protocol.h: Re-generate
* src/datatypes.h, src/datatypes.c: Store UUID in raw format instead
of printable. Change virGetSecret to use raw format UUID
* src/driver.h: Rename virDrvSecretLookupByUUIDString to
virDrvSecretLookupByUUID and use raw format UUID
* src/libvirt.c: Add virSecretLookupByUUID and virSecretGetUUID
and re-implement virSecretLookupByUUIDString and
virSecretGetUUIDString in terms of those
* src/libvirt_public.syms: Add virSecretLookupByUUID and
virSecretGetUUID
* src/remote_internal.c: Rename remoteSecretLookupByUUIDString
to remoteSecretLookupByUUID. Fix typo in args for
remoteSecretDefineXML impl. Use raw UUID format for
get_nonnull_secret and make_nonnull_secret
* src/storage_encryption_conf.c, src/storage_encryption_conf.h:
Storage UUID in raw format, and require it to be present in
XML. Use UUID parser to validate.
* secret_conf.h, secret_conf.c: Generate a UUID if none is provided.
Storage UUID in raw format.
* src/secret_driver.c: Adjust to deal with raw UUIDs. Save secrets
in a filed with printable UUID, instead of base64 UUID.
* src/virsh.c: Adjust for changed public API contract of
virSecretGetUUIDString.
* src/storage_Backend.c: DOn't undefine secret we just generated
upon successful volume creation. Fix to handle raw UUIDs. Generate
a non-clashing UUID
* src/qemu_driver.c: Change to use lookupByUUID instead of
lookupByUUIDString
2009-09-10 16:44:12 +00:00
|
|
|
remote_secret_lookup_by_uuid_args val_remote_secret_lookup_by_uuid_args;
|
2009-07-28 02:01:00 +00:00
|
|
|
remote_secret_define_xml_args val_remote_secret_define_xml_args;
|
|
|
|
remote_secret_get_xml_desc_args val_remote_secret_get_xml_desc_args;
|
|
|
|
remote_secret_set_value_args val_remote_secret_set_value_args;
|
|
|
|
remote_secret_get_value_args val_remote_secret_get_value_args;
|
|
|
|
remote_secret_undefine_args val_remote_secret_undefine_args;
|
Add usage type/id as a public API property of virSecret
* include/libvirt/libvirt.h, include/libvirt/libvirt.h.in: Add
virSecretGetUsageType, virSecretGetUsageID and virLookupSecretByUsage
* python/generator.py: Mark virSecretGetUsageType, virSecretGetUsageID
as not throwing exceptions
* qemud/remote.c: Implement dispatch for virLookupSecretByUsage
* qemud/remote_protocol.x: Add usage type & ID as attributes of
remote_nonnull_secret. Add RPC calls for new public APIs
* qemud/remote_dispatch_args.h, qemud/remote_dispatch_prototypes.h,
qemud/remote_dispatch_ret.h, qemud/remote_dispatch_table.h,
qemud/remote_protocol.c, qemud/remote_protocol.h: Re-generate
* src/datatypes.c, src/datatypes.h: Add usageType and usageID as
properties of virSecretPtr
* src/driver.h: Add virLookupSecretByUsage driver entry point
* src/libvirt.c: Implement virSecretGetUsageType, virSecretGetUsageID
and virLookupSecretByUsage
* src/libvirt_public.syms: Export virSecretGetUsageType, virSecretGetUsageID
and virLookupSecretByUsage
* src/remote_internal.c: Implement virLookupSecretByUsage entry
* src/secret_conf.c, src/secret_conf.h: Remove the
virSecretUsageType enum, now in public API. Make volume
path mandatory when parsing XML
* src/secret_driver.c: Enforce usage uniqueness when defining secrets.
Implement virSecretLookupByUsage api method
* src/virsh.c: Include usage for secret-list command
2009-09-11 13:06:15 +00:00
|
|
|
remote_secret_lookup_by_usage_args val_remote_secret_lookup_by_usage_args;
|
2009-09-30 10:51:54 +00:00
|
|
|
remote_domain_migrate_prepare_tunnel_args val_remote_domain_migrate_prepare_tunnel_args;
|
Implmentation of new APIs to checking state/persistence of objects
This implements the virConnectIsSecure, virConnectIsEncrypted,
virDomainIsPersistent, virDomainIsActive, virNetworkIsActive,
virNetworkIsPersistent, virStoragePoolIsActive,
virStoragePoolIsPersistent, virInterfaceIsActive APIs in
(nearly) all drivers. Exceptions are:
phyp: missing domainIsActive/Persistent
esx: missing domainIsPersistent
opennebula: missing domainIsActive/Persistent
* src/remote/remote_protocol.x: Define remote wire ABI for newly
added APIs.
* daemon/remote_dispatch*.h: Re-generated from remote_protocol.x
* src/esx/esx_driver.c, src/lxc/lxc_driver.c, src/network/bridge_driver.c,
src/opennebula/one_driver.c, src/openvz/openvz_conf.c,
src/openvz/openvz_driver.c, src/phyp/phyp_driver.c,
src/remote/remote_driver.c, src/storage/storage_driver.c,
src/test/test_driver.c, src/uml/uml_driver.c, src/vbox/vbox_tmpl.c,
src/xen/xen_driver.c, src/xen/xen_driver.h, src/xen/xen_inotify.c,
src/xen/xen_inotify.h: Implement all the new APIs where possible
2009-10-20 14:12:03 +00:00
|
|
|
remote_domain_is_active_args val_remote_domain_is_active_args;
|
|
|
|
remote_domain_is_persistent_args val_remote_domain_is_persistent_args;
|
|
|
|
remote_network_is_active_args val_remote_network_is_active_args;
|
|
|
|
remote_network_is_persistent_args val_remote_network_is_persistent_args;
|
|
|
|
remote_storage_pool_is_active_args val_remote_storage_pool_is_active_args;
|
|
|
|
remote_storage_pool_is_persistent_args val_remote_storage_pool_is_persistent_args;
|
|
|
|
remote_interface_is_active_args val_remote_interface_is_active_args;
|
2009-12-18 14:49:34 +00:00
|
|
|
remote_cpu_compare_args val_remote_cpu_compare_args;
|
2009-12-20 12:43:19 +00:00
|
|
|
remote_domain_memory_stats_args val_remote_domain_memory_stats_args;
|
2010-02-09 12:09:05 +00:00
|
|
|
remote_domain_attach_device_flags_args val_remote_domain_attach_device_flags_args;
|
|
|
|
remote_domain_detach_device_flags_args val_remote_domain_detach_device_flags_args;
|
2010-02-02 13:39:05 +00:00
|
|
|
remote_cpu_baseline_args val_remote_cpu_baseline_args;
|
2010-02-03 14:10:13 +00:00
|
|
|
remote_domain_get_job_info_args val_remote_domain_get_job_info_args;
|
2010-02-04 16:18:57 +00:00
|
|
|
remote_domain_abort_job_args val_remote_domain_abort_job_args;
|
2010-03-01 20:32:35 +00:00
|
|
|
remote_storage_vol_wipe_args val_remote_storage_vol_wipe_args;
|
2010-03-12 15:21:10 +00:00
|
|
|
remote_domain_migrate_set_max_downtime_args val_remote_domain_migrate_set_max_downtime_args;
|