summaryrefslogtreecommitdiffstats
path: root/src/ovirt-foreign-menu.h
Commit message (Collapse)AuthorAgeFilesLines
* Create foreign menu from .vv file informationChristophe Fergeau2014-08-181-0/+2
| | | | | | | | | | | | | When the .vv file has an [ovirt] section, we should try to create a foreign menu out of it. This will allow remote-viewer to offer a menu to change the currenty inserted cdrom. Contrary to the ovirt:// case when we already have fetched an OvirtAPI and OvirtVm instance in order to get the SPICE/VNC connection details, when working from a .vv file, we'll need to get them from the REST API. Authentication should happen through the JSESSIONID cookie, if that fails we want to give up on using the foreign menu, so we don't need to set up authentication callbacks.
* ovirt: Add OvirtForeignMenu classChristophe Fergeau2014-08-181-0/+82
This class is used to implement the so-called oVirt 'foreign menu' which is a menu populated with ISO images available on the oVirt instance that the user can dynamically insert into the virtual machine he is currently viewing.