Files
libvirt/docs
Peter Krempa b6f7c2d3db conf: Add fields for recording actually-selected virtio video device
QEMU's commandline generator picks for virtio video between various
actual device models not only based on the XML definition but also
capabilities present. Since none of the devices is actually ABI
compatible we need to record the actually selected device in the XML.

Introduce 'device' attribute:

      <video>
        <model type='virtio' heads='1' primary='yes' device='virtio-gpu'/>

which will record the actually selected model so that we can preserve
ABI across restarts on deployment changes but more importantly across
migrations where the deployment differs.

The code specifically avoids an ABI stability check for the new field
because there are already possibly broken configurations that the users
may want to fix by picking the proper model which could be forbidden.

Users are instructed to not set the field in the XML.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2026-06-18 11:03:36 +02:00
..
2023-02-21 10:58:59 +01:00
2023-05-17 16:54:23 +02:00
2023-05-17 16:54:23 +02:00
2023-07-17 10:43:29 -05:00
2022-04-07 15:10:26 +02:00
2022-04-07 15:10:26 +02:00
2022-05-24 12:19:16 +02:00
2024-02-26 12:10:27 +01:00
2022-03-08 17:40:47 +01:00
2022-04-01 16:33:19 +02:00
2026-01-06 10:58:23 +00:00
2025-03-17 12:37:48 +01:00
2022-03-08 17:40:47 +01:00
2017-08-02 15:00:28 -04:00
2022-04-14 11:54:28 +02:00
2022-04-07 15:10:26 +02:00
2024-05-13 08:57:05 +02:00
2025-08-13 15:41:05 +02:00
2022-03-08 17:40:47 +01:00