diff options
author | Ewan Mellor <ewan@xensource.com> | 2007-04-04 15:00:57 +0100 |
---|---|---|
committer | Ewan Mellor <ewan@xensource.com> | 2007-04-04 15:00:57 +0100 |
commit | 3a7400aa8668b4ec5b9590662d29510001b10bd7 (patch) | |
tree | b104c231c977d93e157b2b1de6e8dc0cae2aad60 /tools/libxen | |
parent | f521621420045a4b51a42d17a33183dd7d36933d (diff) | |
download | xen-3a7400aa8668b4ec5b9590662d29510001b10bd7.tar.gz xen-3a7400aa8668b4ec5b9590662d29510001b10bd7.tar.bz2 xen-3a7400aa8668b4ec5b9590662d29510001b10bd7.zip |
Remove docs and bindings for unimplemented VDI.resize and VDI.snapshot.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxen')
-rw-r--r-- | tools/libxen/include/xen_vdi.h | 15 | ||||
-rw-r--r-- | tools/libxen/src/xen_vdi.c | 33 |
2 files changed, 0 insertions, 48 deletions
diff --git a/tools/libxen/include/xen_vdi.h b/tools/libxen/include/xen_vdi.h index 9ebb8fd9ee..74b63542e6 100644 --- a/tools/libxen/include/xen_vdi.h +++ b/tools/libxen/include/xen_vdi.h @@ -338,21 +338,6 @@ xen_vdi_remove_from_other_config(xen_session *session, xen_vdi vdi, char *key); /** - * Take an exact copy of the VDI; the snapshot lives in the same - * Storage Repository as its parent. - */ -extern bool -xen_vdi_snapshot(xen_session *session, xen_vdi *result, xen_vdi vdi); - - -/** - * Resize the vdi to the size. - */ -extern bool -xen_vdi_resize(xen_session *session, xen_vdi vdi, int64_t size); - - -/** * Return a list of all the VDIs known to the system. */ extern bool diff --git a/tools/libxen/src/xen_vdi.c b/tools/libxen/src/xen_vdi.c index 91cc306021..66a524c9c3 100644 --- a/tools/libxen/src/xen_vdi.c +++ b/tools/libxen/src/xen_vdi.c @@ -508,39 +508,6 @@ xen_vdi_remove_from_other_config(xen_session *session, xen_vdi vdi, char *key) bool -xen_vdi_snapshot(xen_session *session, xen_vdi *result, xen_vdi vdi) -{ - abstract_value param_values[] = - { - { .type = &abstract_type_string, - .u.string_val = vdi } - }; - - abstract_type result_type = abstract_type_string; - - *result = NULL; - XEN_CALL_("VDI.snapshot"); - return session->ok; -} - - -bool -xen_vdi_resize(xen_session *session, xen_vdi vdi, int64_t size) -{ - abstract_value param_values[] = - { - { .type = &abstract_type_string, - .u.string_val = vdi }, - { .type = &abstract_type_int, - .u.int_val = size } - }; - - xen_call_(session, "VDI.resize", param_values, 2, NULL, NULL); - return session->ok; -} - - -bool xen_vdi_get_all(xen_session *session, struct xen_vdi_set **result) { |