summaryrefslogtreecommitdiff
path: root/nova/notifications
diff options
context:
space:
mode:
authorSean Mooney <work@seanmooney.info>2021-03-03 00:49:22 +0000
committerricolin <rlin@vexxhost.com>2022-08-24 21:47:32 +0800
commit572c2b18e27f6fcbbd4a1f416b0ec21098b3ba74 (patch)
tree93671184bf86011defb2fefe5964ade4d18965e3 /nova/notifications
parent85c954444493199c6edb01d9bdaa07fd9cf6d729 (diff)
downloadnova-572c2b18e27f6fcbbd4a1f416b0ec21098b3ba74.tar.gz
Add locked_memory extra spec and image property
This change adds a new hw:locked_memory extra spec and hw_locked_memory image property to contol preventing guest memory from swapping. This change adds docs and extend the flavor validators for the new extra spec. Also add new image property. Blueprint: libvirt-viommu-device Change-Id: Id3779594f0078a5045031aded2ed68ee4301abbd
Diffstat (limited to 'nova/notifications')
-rw-r--r--nova/notifications/objects/image.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/notifications/objects/image.py b/nova/notifications/objects/image.py
index 6f6e3b7c0f..a408b27eab 100644
--- a/nova/notifications/objects/image.py
+++ b/nova/notifications/objects/image.py
@@ -128,7 +128,8 @@ class ImageMetaPropsPayload(base.NotificationPayloadBase):
# Version 1.9: Added 'hw_emulation_architecture' field
# Version 1.10: Added 'hw_ephemeral_encryption' and
# 'hw_ephemeral_encryption_format' fields
- VERSION = '1.10'
+ # Version 1.11: Added 'hw_locked_memory' field
+ VERSION = '1.11'
SCHEMA = {
k: ('image_meta_props', k) for k in image_meta.ImageMetaProps.fields}