nova/doc/notification_samples/common_payloads
Stephen Finucane 3f63c68195 libvirt: Add support for virtio-based input devices
The USB-based tablet is often the only USB device in an x86 instance,
while the USB-based keyboard is often the only such device in an AArch64
instance (x86 have PS2 keyboards and mice). Replacing these with
virtio-based devices can eliminate the need to have a USB host adapter
in the instance. Enable just that possibility by adding a new value
image metadata property, 'hw_input_bus'. This allows us to specify not
only virtio-based pointer and keyboard input devices but also USB
equivalents.

Note that this also fixes one instance of a particular class of bugs,
whereby we have checks for *guest* architecture-specific behavior that
are being toggled based on the *host* architecture. In this instance,
we were attempting to add a keyboard device on AArch64 guests since they
don't have one by default, but we were determining the architecture by
looking at the CPU architecture reported in the host capabilities. By
replacing this check of the host capabilities with a call to the
'nova.virt.libvirt.utils.get_arch' helper, we correctly handle requests
to create non-host architecture guests via the 'hw_architecture' image
metadata property. There are many other instances of this bug and those
can be resolved separately.

Change-Id: If9f3ede3e8449f9a6c8d1da927974c0a73923d51
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-03-05 11:00:02 +00:00
..
AggregatePayload.json Deduplicate aggregate notification samples 2018-01-16 15:59:16 +01:00
AuditPeriodPayload.json Transform instance.exists notification 2018-06-05 12:51:30 +00:00
BlockDevicePayload.json Factor out duplicated notification sample data (2) 2017-11-06 15:54:09 +01:00
ComputeTaskPayload.json Transform scheduler.select_destinations notification 2018-11-30 13:20:35 +01:00
ExceptionPayload.json Transform compute_task notifications 2018-11-21 16:23:28 +09:00
FlavorPayload.json Add FlavorPayload.description for versioned notifications 2017-11-14 09:14:12 -05:00
ImageMetaPayload.json Transform compute_task notifications 2018-11-21 16:23:28 +09:00
ImageMetaPropsPayload.json libvirt: Add support for virtio-based input devices 2021-03-05 11:00:02 +00:00
InstanceActionPayload.json Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
InstanceActionRebuildPayload.json Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
InstanceActionRescuePayload.json Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
InstanceActionResizePrepPayload.json Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
InstanceActionSnapshotPayload.json Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
InstanceActionVolumePayload.json Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
InstanceActionVolumeSwapPayload.json Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
InstanceCreatePayload.json Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
InstanceExistsPayload.json virt: Remove 'get_all_bw_counters' API 2020-11-24 15:29:21 +00:00
InstanceNUMACellPayload.json objects: Introduce the 'CPUAllocationPolicy.MIXED' enum 2020-07-15 00:39:46 +08:00
InstanceNUMATopologyPayload.json Transform compute_task notifications 2018-11-21 16:23:28 +09:00
InstancePCIRequestsPayload.json Transform compute_task notifications 2018-11-21 16:23:28 +09:00
InstancePayload.json Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
InstanceUpdatePayload.json Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
IpPayload.json trivial: Change name of network provided by NeutronFixture 2019-10-05 15:40:28 +01:00
KeypairPayload.json Deduplicate keypair notification samples 2017-11-20 16:30:21 +01:00
RequestSpecPayload.json Transform scheduler.select_destinations notification 2018-11-30 13:20:35 +01:00
ServerGroupPayload.json Microversion 2.64 - Use new format policy in server group 2018-07-13 10:43:42 +08:00
ServiceStatusPayload.json Deduplicate service status notification samples 2018-01-19 08:35:19 +00:00