nova supports spice compression algorithm configuration

Registered by huang.huayong

nova supports spice console,the spice has some compression algorithm configuration,such as:
image compression:auto_glz|auto_lz|quic|glz|lz|off
jpeg compression:auto|never|always
zlib compression:auto|never|always
Now, the nova.conf can not config the spice compression algorithm. I think we could add these in the nova.conf to support compression algorithm for vm spice console.

Blueprint information

Status:
Not started
Approver:
Sylvain Bauza
Priority:
Undefined
Drafter:
huang.huayong
Direction:
Approved
Assignee:
Manuel Bentele
Definition:
Approved
Series goal:
Accepted for antelope
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Setting the SPICE compression algorithm is already implemented for the Libvirt hypervisor but was not approved due to a missing feature spec/blueprint: https://review.opendev.org/c/openstack/nova/+/828675

Gerrit topic: https://review.opendev.org/#/q/topic:bp/nova-support-spice-compression-algorithm

Addressed by: https://review.opendev.org/c/openstack/nova-specs/+/849488
    Add configuration options to set SPICE compression settings

[20230116 bauzas] Spec approved for 2023.1 cycle https://review.opendev.org/c/openstack/nova-specs/+/849488

(?)

Work Items

Work items:
Create OpenStack Nova spec for the SPICE compression support and await its approval : DONE
Implement the SPICE compression support for all hypervisors which support SPICE (libvirt) : TODO

This blueprint contains Public information 
Everyone can see this information.