Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Extend use of OG_PARTITIONS_CFG_PATH for /setup and /refresh | Roberto Hueso Gómez | 2020-05-11 | 1 | -7/+4 |
| | | | | | This is a refactor to consolidate the use of this single variable across all virtual operations. | ||||
* | Poweroff when no VM and no jobs are running | Roberto Hueso Gómez | 2020-05-11 | 1 | -0/+26 |
| | | | | | | This patch calls poweroff in virtual mode when no VM is running and no jobs are being executed. This is useful when the guest OS shutdowns so that the host OS does not continue to run. | ||||
* | Add OgVM class to abstract VMs | Roberto Hueso Gómez | 2020-04-28 | 1 | -9/+36 |
| | | | | | This patch implements OgVM class. OgVM abstracts VM emulator from its operations. | ||||
* | Poweroff VM before some operations | Roberto Hueso Gómez | 2020-04-28 | 1 | -22/+20 |
| | | | | | | This patch includes changes to: - Poweroff VM before running operations that require access to virtual disks. - Poweroff VM before host system poweroff. | ||||
* | Send last stored setup if VM is running | Roberto Hueso Gómez | 2020-04-28 | 1 | -6/+21 |
| | | | | | When virtual mode is activated, send the last stored partitions setup because it is not possible to access a running virtual drive to get its information. | ||||
* | Add OgQMP recv method | Roberto Hueso Gómez | 2020-04-28 | 1 | -1/+23 |
| | | | | | | recv method is useful for receiving information that was not previously requested (such as "events"). This patch also implements automatic handshake on OgQMP by sending an "qmp_capabilities" request. | ||||
* | Fix disk used size calculation | Roberto Hueso Gómez | 2020-04-28 | 1 | -1/+1 |
| | | | | | This patch calculates correctly the percentage of disk used. This could cause an overflow on the ogAdmSever DB. | ||||
* | Control errors in OgQMP for virtual mode | Roberto Hueso Gómez | 2020-04-22 | 1 | -59/+78 |
| | | | | | This patch handles possible communication errors between ogclient and Qemu when making QMP requests. | ||||
* | Avoid writting /software output to a file | Roberto Hueso Gómez | 2020-04-17 | 1 | -5/+1 |
| | |||||
* | Use samba for create and restore virtual partitions | Roberto Hueso Gómez | 2020-04-17 | 1 | -2/+15 |
| | | | | This requires to configure user and password for samba repositories. | ||||
* | Use libguestfs for virtual setup | Roberto Hueso Gómez | 2020-04-17 | 1 | -11/+12 |
| | |||||
* | Use libguestfs for virtual refresh | Roberto Hueso Gómez | 2020-04-17 | 1 | -14/+30 |
| | |||||
* | Transform absolute paths into relative paths for virtual mode | Roberto Hueso Gómez | 2020-04-17 | 1 | -15/+26 |
| | |||||
* | Add placeholder for virtual execCMD | Roberto Hueso Gomez | 2020-04-13 | 1 | -0/+4 |
| | |||||
* | Use 75% of disk space in virtual mode | Roberto Hueso Gomez | 2020-04-08 | 1 | -0/+3 |
| | |||||
* | Encapsulate operations in classes | Roberto Hueso Gomez | 2020-04-08 | 1 | -317/+318 |
| | |||||
* | Add virtual operations | Roberto Hueso Gomez | 2020-04-07 | 2 | -0/+403 |