Taowei
6be94596a8
vbox: Rewrite vboxDomainUpdateDeviceFlags
...
Since vboxDomainAttachDeviceImple not used in vbox_tmpl.c, it has
been deleted.
2014-08-15 09:25:12 +02:00
Taowei
5877687765
vbox: Rewrite vboxDomainAttachDeviceFlags
2014-08-15 09:25:12 +02:00
Taowei
2b5e727413
vbox: Rewrite vboxDomainAttachDevice
2014-08-15 09:25:11 +02:00
Taowei
400bdccb2a
vbox: Rewrite vboxDomainUndefine
2014-08-15 09:25:11 +02:00
Taowei
4eaa78be7a
vbox: Rewrite vboxConnectNumOfDefinedDomains
2014-08-15 09:25:11 +02:00
Taowei
4ebae5e8b6
vbox: Rewrite vboxConnectListDefinedDomains
2014-08-15 09:25:11 +02:00
Taowei
3611c4000c
vbox: Rewrite vboxDomainGetXMLDesc
2014-08-15 09:25:11 +02:00
Taowei
80095678d8
vbox: Add API for vboxDomainGetXMLDesc
2014-08-15 09:25:11 +02:00
Taowei
696ad27977
vbox: Rewrite vboxDomainGetMaxVcpus
2014-08-15 09:25:11 +02:00
Taowei
e9f17c5330
vbox: Rewrite vboxDomainGetVcpusFlags
2014-08-15 09:25:11 +02:00
Taowei
35cb445a51
vbox: Rewrite vboxDomainSetVcpus
2014-08-15 09:25:11 +02:00
Taowei
da3b862aad
vbox: Rewrite vboxDomainSetVcpusFlags
2014-08-15 09:25:11 +02:00
Taowei
97d8a17bf5
vbox: Rewrite vboxDomainGetState
2014-08-15 09:25:11 +02:00
Taowei
b412975345
vbox: Rewrite vboxDomainGetInfo
2014-08-15 09:25:11 +02:00
Taowei
2cd7a218de
vbox: Rewrite vboxDomainSetMemory
2014-08-15 09:25:11 +02:00
Taowei
0ba1c21471
vbox: Rewrite vboxDomainGetOSType
2014-08-15 09:25:11 +02:00
Taowei
40b733e7e2
vbox: Rewrite vboxDomainDestroy
2014-08-15 09:25:11 +02:00
Taowei
25d807d42a
vbox: Rewrite vboxDomainDestroyFlags
2014-08-15 09:25:11 +02:00
Taowei
14babb4981
vbox: Rewrite vboxDomainReboot
2014-08-15 09:25:11 +02:00
Taowei
502c43ee44
vbox: Rewrite vboxDomainShutdown
2014-08-15 09:25:11 +02:00
Taowei
67533a8148
vbox: Rewrite vboxDomainShutdownFlags
2014-08-15 09:25:11 +02:00
Taowei
395ecc456e
vbox: Rewrite vboxDomainResume
2014-08-15 09:25:11 +02:00
Taowei
8b89505a20
vbox: Rewrite vboxDomainSuspend
2014-08-15 09:25:10 +02:00
Taowei
caba5247fd
vbox: Rewrite vboxDomainIsUpdated
2014-08-15 09:25:10 +02:00
Taowei
c9537d13b0
vbox: Rewrite vboxDomainIsPersistent
2014-08-15 09:25:10 +02:00
Taowei
fa2f9abcc1
vbox: Rewrite vboxDomainIsActive
2014-08-15 09:25:10 +02:00
Taowei
2ba3ccbb88
vbox: Rewrite vboxDomainLookupByName
2014-08-15 09:25:10 +02:00
Taowei
856ceb8cb3
vbox: Rewrite vboxDomainCreateXML
2014-08-15 09:25:10 +02:00
Taowei
e979ad3991
vbox: Rewrite vboxDomainCreate
2014-08-15 09:25:10 +02:00
Taowei
815d17398c
vbox: Rewrite vboxDomainCreateWithFlags
2014-08-15 09:25:10 +02:00
Taowei
34364df3c6
vbox: Rewrite vboxDomainDefineXML
2014-08-15 09:25:10 +02:00
Taowei
e60e8da4cb
vbox: Rewrite vboxDomainUndefineFlags
2014-08-15 09:25:10 +02:00
Taowei
e89a93c071
vbox: Rewrite vboxDomainLookupByUUID
2014-08-15 09:25:10 +02:00
Taowei
9dd4f8eded
vbox: Rewrite vboxDomainLookupById
2014-08-15 09:25:10 +02:00
Taowei
5f15b511e9
vbox: Rewrite vboxConnectNumOfDomains
2014-08-15 09:25:10 +02:00
Taowei
0958334ac0
vbox: Rewrite vboxConnectListDomains
2014-08-15 09:25:10 +02:00
Taowei
30a95f30ef
vbox: Rewrite vboxConnectGetCapabilities
2014-08-15 09:25:10 +02:00
Taowei
82513be8ba
vbox: Rewrite vboxConnectGetMaxVcpus
2014-08-15 09:25:10 +02:00
Taowei
427931ae0c
vbox: Rewrite vboxConnectIsAlive
2014-08-15 09:25:10 +02:00
Taowei
16dcbaf09b
vbox: Rewrite vboxConnectIsEncrypted
2014-08-15 09:25:10 +02:00
Taowei
3a959b36fd
vbox: Rewrite vboxConnectIsSecure
2014-08-15 09:25:10 +02:00
Taowei
86142d8e9a
vbox: Rewrite vboxConnectGetHostname
2014-08-15 09:25:09 +02:00
Taowei
6e906ffa91
vbox: Rewrite vboxConnectGetVersion
2014-08-15 09:25:09 +02:00
Taowei
7e052265c9
vbox: Rewrite vboxDomainSave
...
All vbox objects are child objects from the nsISupports in vbox's
C++ API version. Since the CAPI is generated from the C++ API, I
kept their relationship here, by the definitations below:
typedef struct nsISupports nsISupports;
typedef nsISupports IVirtualBox;
typedef nsISupports ISession;
and so on...
So, when calling the API from nsISupports, we don't need to do
typecasting, and things work still work well.
2014-08-15 09:25:09 +02:00
Taowei
c6084f19d0
vbox: Rewrite vboxConnectClose
2014-08-15 09:25:09 +02:00
Taowei
7f0f415b87
vbox: Begin to rewrite, vboxConnectOpen
...
Introduce vbox_uniformed_api to deal with version conflicts. Use
vbox_install_api to register the currect vboxUniformedAPI with
vbox version.
vboxConnectOpen has been rewritten.
2014-08-15 09:25:09 +02:00
Eric Blake
b50c8603a2
maint: improve syntax check for space around =
...
Laine Stump noted on IRC that syntax check wasn't flagging his
typo of 'i= 0'. This fixes it.
* build-aux/bracket-spacing.pl: Tighten 'space around =' rule.
* src/storage/storage_backend.c
(virStorageBackendCreateExecCommand): Fix offenders.
* src/util/virnuma.c (virNumaGetDistances): Likewise.
* src/vbox/vbox_tmpl.c (vboxDomainSnapshotDeleteMetadataOnly)
(vboxNetworkGetXMLDesc): Likewise.
* src/xenapi/xenapi_driver.c (xenapiDomainLookupByName):
Likewise.
Signed-off-by: Eric Blake <eblake@redhat.com>
2014-08-12 11:21:17 -06:00
Ján Tomko
3227e17d82
Introduce virTristateSwitch enum
...
For the values "default", "on", "off"
Replaces
virDeviceAddressPCIMulti
virDomainFeatureState
virDomainIoEventFd
virDomainVirtioEventIdx
virDomainDiskCopyOnRead
virDomainMemDump
virDomainPCIRombarMode
virDomainGraphicsSpicePlaybackCompression
2014-07-23 12:59:40 +02:00
Peter Krempa
5df813177c
util: Check return value from virStrToLong* functions
...
We do so in the vast majority of places, so there's no problem of adding
the attribute to enforce it by the complier and fix a few leftover
places.
This was originally pointed out by Coverity as a recent change triggered
it's warning that our code checked the vast majority of returns from
virStrToLong_ui.
2014-07-21 15:20:59 +02:00
Michal Privoznik
5028160523
Kill last strto{l,ll,d} scouts
...
There's no need to use it since we have this shiny functions
that even checks for conversion and overflow errors.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2014-07-18 16:31:47 +02:00