Re: How to use blockcopy in libvirt-java

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Wed, 10 Dec 2014 18:16:57 +0800,
Star Guo wrote:
> 
> Hi, ALL,
> 
> I just look for the class and method to use blockcopy in libvirt-java on this page:
> 
> http://libvirt.org/sources/java/javadoc/
> 
> However, I can not find out. Libvirt-java Support blockcopy ? Thanks.

No, currently libvirt-java does not support blockcopy.

Here's a breakdown of functions still missing from the Java wrapper
grouped by the libvirt version it has been introduced up to version
1.2.9 showing the coverage of each version.

0.0.6: 8/9    [######### ] 88,9%
 * virResetError
0.6.1: 3/7    [####      ] 42,9%
 * virFreeError
 * virNodeGetSecurityModel
 * virDomainGetSecurityLabel
 * virSaveLastError
0.8.5: 1/4    [###       ] 25,0%
 * virDomainSetMemoryParameters
 * virDomainSetVcpusFlags
 * virDomainGetMemoryParameters
0.8.6: 1/2    [#####     ] 50,0%
 * virDomainOpenConsole
0.9.0: 2/8    [###       ] 25,0%
 * virDomainSetBlkioParameters
 * virStorageVolDownload
 * virStorageVolUpload
 * virDomainGetBlkioParameters
 * virDomainMigrateSetMaxSpeed
 * virDomainSetMemoryFlags
0.9.2: 4/10    [####      ] 40,0%
 * virInterfaceChangeBegin
 * virInterfaceChangeCommit
 * virDomainSetSchedulerParametersFlags
 * virInterfaceChangeRollback
 * virDomainInjectNMI
 * virDomainGetSchedulerParametersFlags
0.9.3: 3/12    [###       ] 25,0%
 * virDomainPinVcpuFlags
 * virDomainGetVcpuPinInfo
 * virEventUpdateTimeout
 * virNodeGetMemoryStats
 * virDomainGetControlInfo
 * virEventAddHandle
 * virEventRemoveHandle
 * virEventUpdateHandle
 * virNodeGetCPUStats
0.9.4: 1/10    [#         ] 10,0%
 * virDomainBlockJobSetSpeed
 * virDomainBlockJobAbort
 * virDomainSaveImageGetXMLDesc
 * virDomainGetBlockJobInfo
 * virDomainSaveFlags
 * virDomainRestoreFlags
 * virDomainDestroyFlags
 * virDomainSaveImageDefineXML
 * virDomainBlockPull
0.9.5: 0/3    [          ]  0,0%
 * virDomainBlockStatsFlags
 * virDomainSnapshotGetName
 * virDomainMigrateGetMaxSpeed
0.9.7: 1/5    [##        ] 20,0%
 * virDomainSnapshotNumChildren
 * virDomainOpenGraphics
 * virDomainSnapshotListChildrenNames
 * virDomainSnapshotGetParent
0.9.8: 3/6    [#####     ] 50,0%
 * virDomainSetBlockIoTune
 * virNodeSuspendForDuration
 * virDomainGetBlockIoTune
0.9.9: 0/4    [          ]  0,0%
 * virDomainSetNumaParameters
 * virDomainGetNumaParameters
 * virDomainGetInterfaceParameters
 * virDomainSetInterfaceParameters
0.9.10: 2/9    [##        ] 22,2%
 * virDomainGetDiskErrors
 * virDomainShutdownFlags
 * virDomainGetMetadata
 * virDomainBlockRebase
 * virStorageVolWipePattern
 * virDomainSetMetadata
 * virDomainGetCPUStats
0.9.13: 0/5    [          ]  0,0%
 * virConnectListAllDomains
 * virDomainListAllSnapshots
 * virDomainSnapshotListAllChildren
 * virDomainSnapshotIsCurrent
 * virDomainSnapshotHasMetadata
0.10.0: 2/6    [###       ] 33,3%
 * virDomainGetEmulatorPinInfo
 * virDomainGetHostname
 * virDomainGetSecurityLabelList
 * virDomainPinEmulator
0.10.2: 0/11    [          ]  0,0%
 * virNodeGetMemoryParameters
 * virConnectListAllNodeDevices
 * virConnectListAllSecrets
 * virStoragePoolListAllVolumes
 * virConnectListAllNetworks
 * virConnectListAllStoragePools
 * virConnectListAllInterfaces
 * virDomainBlockCommit
 * virConnectListAllNWFilters
 * virNetworkUpdate
 * virNodeSetMemoryParameters
1.0.0: 0/1    [          ]  0,0%
 * virNodeGetCPUMap
1.0.1: 0/2    [          ]  0,0%
 * virDomainSendProcessSignal
 * virDomainFSTrim
1.0.2: 0/19    [          ]  0,0%
 * virTypedParamsClear
 * virTypedParamsAddString
 * virTypedParamsGetInt
 * virTypedParamsAddUInt
 * virTypedParamsAddInt
 * virTypedParamsGetULLong
 * virTypedParamsAddULLong
 * virTypedParamsGet
 * virTypedParamsFree
 * virTypedParamsGetBoolean
 * virTypedParamsAddLLong
 * virTypedParamsGetLLong
 * virTypedParamsAddDouble
 * virTypedParamsAddFromString
 * virTypedParamsGetUInt
 * virTypedParamsGetString
 * virTypedParamsAddBoolean
 * virTypedParamsGetDouble
 * virDomainOpenChannel
1.0.3: 0/4    [          ]  0,0%
 * virDomainMigrateGetCompressionCache
 * virDomainMigrateSetCompressionCache
 * virNodeDeviceLookupSCSIHostByWWN
 * virDomainGetJobStats
1.0.5: 0/1    [          ]  0,0%
 * virNodeDeviceDetachFlags
1.0.6: 0/1    [          ]  0,0%
 * virGetLastErrorMessage
1.1.0: 0/2    [          ]  0,0%
 * virDomainMigrate3
 * virDomainMigrateToURI3
1.1.1: 0/3    [          ]  0,0%
 * virDomainSetMemoryStatsPeriod
 * virDomainCreateXMLWithFiles
 * virDomainCreateWithFiles
1.1.3: 0/1    [          ]  0,0%
 * virConnectGetCPUModelNames
1.2.1: 0/2    [          ]  0,0%
 * virConnectNetworkEventRegisterAny
 * virConnectNetworkEventDeregisterAny
1.2.3: 0/1    [          ]  0,0%
 * virDomainCoreDumpWithFormat
1.2.5: 0/4    [          ]  0,0%
 * virDomainFSFreeze
 * virDomainFSThaw
 * virDomainSetTime
 * virDomainGetTime
1.2.6: 0/3    [          ]  0,0%
 * virNetworkGetDHCPLeases
 * virNodeGetFreePages
 * virNetworkDHCPLeaseFree
1.2.7: 0/1    [          ]  0,0%
 * virConnectGetDomainCapabilities
1.2.8: 0/5    [          ]  0,0%
 * virDomainOpenGraphicsFD
 * virDomainStatsRecordListFree
 * virDomainBlockCopy
 * virDomainListGetStats
 * virConnectGetAllDomainStats
1.2.9: 0/1    [          ]  0,0%
 * virNodeAllocPages

Apparently, the virDomainBlockCopy function you're looking for was
introduced in libvirt 1.2.8 which is rather new. So, it's not very
surprising that it hasn't been wrapped up yet.

But, patches are welcome!

-- 
Claudio

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]