summaryrefslogtreecommitdiff
path: root/govirt/ovirt-vm-private.h
AgeCommit message (Collapse)AuthorFilesLines
2013-09-10Add common ovirt_utils_strip_api_base_dir()Christophe Fergeau1-2/+0
This code was duplicated in OvirtVm and OvirtProxy
2013-09-02Fix typo in header guard commentChristophe Fergeau1-1/+1
2013-07-05Move sub-collection parsing from OvirtVm to OvirtResourceChristophe Fergeau1-3/+0
Most resources can have associated sub-collections, so it makes sense to make this code generic.
2013-07-05Move action parsing from OvirtVm to OvirtResourceChristophe Fergeau1-1/+0
Most resources can have associated actions, so it makes sense to make this code generic.
2013-07-05Make OvirtVm inherit from OvirtResourceChristophe Fergeau1-0/+1
Now that the ground work has been done to make that possible, let's do it and kill some duplicated code.
2013-07-05Add missing include to ovirt-vm-private.hChristophe Fergeau1-0/+1
Header files should be as standalone as possible.
2013-06-25Parse sub-collection links in VM REST descriptionsChristophe Fergeau1-0/+3
The various sub-collections give access to the description of the various VM devices (CDROM, NICs, disks, ...) as well as to other resources (snapshots, permissions, stats, ...). This will be useful at first to access the CDROM device information to be able to change the currently mounted ISO in the VM.
2013-06-07Don't strip /api/ from actionsChristophe Fergeau1-1/+0
The generic ovirt_rest_invoke_async() is now doing that for us.
2013-06-07Add private ovirt_rest_strip_api_base_dir() helperChristophe Fergeau1-0/+1
2013-06-06Rename xml_to_vm to ovirt_vm_refresh_from_xml and export itChristophe Fergeau1-0/+5
This will be useful in subsequent commits. It's also moved to a separate file.
2013-03-11Remove FSF address from source file headersChristophe Fergeau1-2/+2
The FSF moved a while ago which made the address we use in every source file header invalid. Follow the recommendation from http://www.gnu.org/licenses/gpl-howto.html and don't put any address in these headers, just a link to the fsf website.
2012-08-13Improve action executionChristophe Fergeau1-0/+12
2012-07-04Make ovirt_vm_{get,add}_action privateChristophe Fergeau1-0/+32