mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Tue Aug 21 09:56:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* qemud/remote.c, qemud/remote_protocol.x, src/driver.h,
src/internal.h, src/libvirt.c, src/libvirt_sym.version,
src/qemu_driver.c, src/remote_internal.c, src/test.c:
Add a private interface so that libvirt.c coordination
functions can detect the availability of features in
underlying drivers, using the VIR_DRV_SUPPORTS_FEATURE
macro.
This commit is contained in:
@@ -170,6 +170,14 @@ struct remote_open_args {
|
||||
int flags;
|
||||
};
|
||||
|
||||
struct remote_supports_feature_args {
|
||||
int feature;
|
||||
};
|
||||
|
||||
struct remote_supports_feature_ret {
|
||||
int supported;
|
||||
};
|
||||
|
||||
struct remote_get_type_ret {
|
||||
remote_nonnull_string type;
|
||||
};
|
||||
@@ -610,7 +618,8 @@ enum remote_procedure {
|
||||
REMOTE_PROC_DOMAIN_GET_SCHEDULER_TYPE = 56,
|
||||
REMOTE_PROC_DOMAIN_GET_SCHEDULER_PARAMETERS = 57,
|
||||
REMOTE_PROC_DOMAIN_SET_SCHEDULER_PARAMETERS = 58,
|
||||
REMOTE_PROC_GET_HOSTNAME = 59
|
||||
REMOTE_PROC_GET_HOSTNAME = 59,
|
||||
REMOTE_PROC_SUPPORTS_FEATURE = 60
|
||||
};
|
||||
|
||||
/* Custom RPC structure. */
|
||||
|
||||
Reference in New Issue
Block a user