Skip to content

core: added ability to alter video device through API - #1024

Merged
dupondje merged 1 commit into
oVirt:masterfrom
teamdotblue:set-display-type-api
Sep 24, 2025
Merged

dupondje merged 1 commit into
oVirt:masterfrom
teamdotblue:set-display-type-api

Conversation

@JasperB-TeamBlue

Copy link
Copy Markdown
Collaborator

Changes introduced with this PR

  • When pulling info for a vm, template or instance type through the API return a video_type in the console info together with the graphic console as the type. Ability to alter the video device attached to a vm through the PUT api call. Saves this update as a configuration for the next run of the VM if it is in the up state.

  • Needs Updated Display class to contain a video type reference ovirt-engine-api-model#117 implemented in api model to properly function.

Are you the owner of the code you are sending in, or do you have permission of the owner?

[y]

Return an additional video_type field in the display info for a VM, Template or Instance.
This next to the already existing graphic info and display type.

This field was added to have a difference between the QXL/VNC and VGA/VNC for example.
This exposes the chosen Video Type in the UI to the API side.

This also opens up the possibility to alter the Video Type for existing VM's for example from VGA/VNC to QXL/VNC.

Signed-off-by: Jasper Berton <jasper.berton@team.blue>
@JasperB-TeamBlue

Copy link
Copy Markdown
Collaborator Author

/ost

@github-actions

Copy link
Copy Markdown

⏳ Running ost suite 'basic-suite-master' on distro 'el9stream'.

Follow the progress here.

@github-actions

Copy link
Copy Markdown

😎💪 ost suite 'basic-suite-master' on distro 'el9stream' finished successfully. (details)

@dupondje
dupondje merged commit 471da3f into oVirt:master Sep 24, 2025
@dupondje
dupondje deleted the set-display-type-api branch September 24, 2025 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants