cockpit-machines icon indicating copy to clipboard operation
cockpit-machines copied to clipboard

[Request] Web Interface for Virtual GPU Selection

Open BrainwreckedTech opened this issue 2 years ago • 5 comments

Page: Virtual Machines -> [your_virtual_machines]

Allow changing the VM's GPU via the web interface instead of needing to edit the XML config file.

From https://libvirt.org/formatdomain.html#video-devices

The model element has a mandatory type attribute which takes the value "vga", "cirrus", "vmvga", "xen", "vbox", "qxl" (since 0.8.6), "virtio" (since 1.3.0), "gop" (since 3.2.0), "bochs" (since 5.6.0), "ramfb" (since 5.9.0), or "none" (since 4.6.0), depending on the hypervisor features available.

Mockup: mockup_virtual_gpus

BrainwreckedTech avatar Feb 03 '22 12:02 BrainwreckedTech

Closing in favor of your previous issue. I'll update it to match your changes

marusak avatar Feb 03 '22 13:02 marusak

Sorry, I though this was duplicate, but one is about VNP and this one about GPU

marusak avatar Feb 03 '22 13:02 marusak

Whoopsie! Yeah, I figured I'd seperate the two requests so one wasn't tied to the other.

BrainwreckedTech avatar Feb 03 '22 18:02 BrainwreckedTech

The option could also be placed in the overview section as such, only showing the full set of tptions when the user brings up the edit dialog.

mockup_virtual_gpus_overview

BrainwreckedTech avatar Feb 04 '22 06:02 BrainwreckedTech

Yeah, this makes more sense in the overview area, where we already have information about the CPU.

(The lists are more for things where someone can add N items, where N is somewhere between 0 and multiple. As far as vCPUs, it's just 1 setting, right?)

I'd suggest we should even combine all CPU information (CPU: host, 1 vCPU edit)

Also, why is CPU in overview and CPU is in Hypervisor details? It's a bit odd how this information is grouped, right? (We might want to rethink that.)

garrett avatar Mar 15 '22 16:03 garrett