QMP: always return the command result
According to the QEMU Machine Protocol Specification, the messages sentby QMP as a response to a command can be of two types: either an errormessage (identified by the "error" key), or a success message(identified by the "return" key)....
QMP: test supported_commands
Add test for supported_commands.
Signed-off-by: Apollon Oikonomopoulos <apoikos@gmail.com>Signed-off-by: Thomas Thrainer <thomasth@google.com>Reviewed-by: Thomas Thrainer <thomasth@google.com>
KVM: move tap control functions to a submodule
Move all tap-related functionality to the hv_kvm.netdev submodule. Werename _OpenTap to OpenTap, since it will now be used as a publicfunction.
Also, change the hv_kvm tests to import the new code.
Signed-off-by: Apollon Oikonomopoulos <apoikos@gmail.com>...
Verify readJSON . showJSON = Ok for ClientType
Verify that the JSON encoding of the ClientType can correctlybe decoded.
Signed-off-by: Klaus Aehlig <aehlig@google.com>Reviewed-by: Petr Pudlak <pudlak@google.com>
Verify soundness of listAllLocksOwners
Verify that every owner mentioned in the output of listAllLocksOwnersactually owns the locks claimed.
Verify that all locks are mentioned in listAllLocksOwners
Add a test verifying that whenever an owner owns a lock, itis also mentioned in the output of listAllLocksOwners.
Verify consistency between listAllLocks{,Owners}
As listAllLocks is supposed to list all locks currently in use, this shouldbe a superset listAllLocksOwners, i.e., of all locks actively owned by someuser.
Signed-off-by: Klaus Aehlig <aehlig@google.com>...
Verify that the list of all locks is complete
Verify that all locks owned by someone are included in thelist of all (active) locks.
Fix lint errors after moving Luxi code to UDSServer
Remove unused imports and update the 'buildCall' call in tests.
Signed-off-by: Petr Pudlak <pudlak@google.com>Reviewed-by: Klaus Aehlig <aehlig@google.com>
Update 'daemons/daemon-util' to stop 'ganeti-metad'
Note that 'ganeti-metad' is not automatically started together withall the other daemons. Instead, 'ganeti-metad' is only started when...
View revisions
Also available in: Atom