mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Remove VDI.set_SR -- this was always unimplemented, and pretty mad.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
4eb63aba01
commit
d0a005909a
4 files changed
+3
-63
No files matched your search
@@ -1754,13 +1754,13 @@ class XendAPI(object):
|
||||
|
||||
# Xen API: Class VDI
|
||||
# ----------------------------------------------------------------
|
||||
VDI_attr_ro = ['VBDs',
|
||||
VDI_attr_ro = ['SR',
|
||||
'VBDs',
|
||||
'physical_utilisation',
|
||||
'sector_size',
|
||||
'type']
|
||||
VDI_attr_rw = ['name_label',
|
||||
'name_description',
|
||||
'SR',
|
||||
'virtual_size',
|
||||
'sharable',
|
||||
'read_only']
|
||||
@@ -1812,9 +1812,6 @@ class XendAPI(object):
|
||||
self._get_VDI(vdi_ref).name_description = value
|
||||
return xen_api_success_void()
|
||||
|
||||
def VDI_set_SR(self, session, vdi_ref, value):
|
||||
return xen_api_error(XEND_ERROR_UNSUPPORTED)
|
||||
|
||||
def VDI_set_virtual_size(self, session, vdi_ref, value):
|
||||
return xen_api_error(XEND_ERROR_UNSUPPORTED)
|
||||
|
||||
|
||||