mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-04 10:24:37 +00:00
qemu: runtime: build variable for disable_image_nvdimm=true
Allow users to build using DEFDISABLEIMAGENVDIMM=true if they want to set disable_image_nvdimm=true in configuration-qemu*.toml. disable_image_nvdimm=false is the default configuration value. Note that the value of disable_image_nvdimm gets ignored for platforms using "confidential_guest = true". Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
@@ -272,6 +272,8 @@ DEFSANDBOXCGROUPONLY ?= false
|
|||||||
DEFSTATICRESOURCEMGMT ?= false
|
DEFSTATICRESOURCEMGMT ?= false
|
||||||
DEFSTATICRESOURCEMGMT_TEE = true
|
DEFSTATICRESOURCEMGMT_TEE = true
|
||||||
|
|
||||||
|
DEFDISABLEIMAGENVDIMM ?= false
|
||||||
|
|
||||||
DEFBINDMOUNTS := []
|
DEFBINDMOUNTS := []
|
||||||
|
|
||||||
# Create Container Timeout in seconds
|
# Create Container Timeout in seconds
|
||||||
@@ -759,6 +761,7 @@ USER_VARS += DEFFORCEGUESTPULL
|
|||||||
USER_VARS += DEFVFIOMODE
|
USER_VARS += DEFVFIOMODE
|
||||||
USER_VARS += DEFVFIOMODE_SE
|
USER_VARS += DEFVFIOMODE_SE
|
||||||
USER_VARS += BUILDFLAGS
|
USER_VARS += BUILDFLAGS
|
||||||
|
USER_VARS += DEFDISABLEIMAGENVDIMM
|
||||||
|
|
||||||
|
|
||||||
V = @
|
V = @
|
||||||
|
@@ -358,9 +358,7 @@ pflashes = []
|
|||||||
# Otherwise virtio-block device is used.
|
# Otherwise virtio-block device is used.
|
||||||
#
|
#
|
||||||
# nvdimm is not supported when `confidential_guest = true`.
|
# nvdimm is not supported when `confidential_guest = true`.
|
||||||
#
|
disable_image_nvdimm = @DEFDISABLEIMAGENVDIMM@
|
||||||
# Default is false
|
|
||||||
#disable_image_nvdimm = true
|
|
||||||
|
|
||||||
# Enable hot-plugging of VFIO devices to a bridge-port,
|
# Enable hot-plugging of VFIO devices to a bridge-port,
|
||||||
# root-port or switch-port.
|
# root-port or switch-port.
|
||||||
|
@@ -352,9 +352,7 @@ pflashes = []
|
|||||||
# Otherwise virtio-block device is used.
|
# Otherwise virtio-block device is used.
|
||||||
#
|
#
|
||||||
# nvdimm is not supported when `confidential_guest = true`.
|
# nvdimm is not supported when `confidential_guest = true`.
|
||||||
#
|
disable_image_nvdimm = @DEFDISABLEIMAGENVDIMM@
|
||||||
# Default is false
|
|
||||||
#disable_image_nvdimm = true
|
|
||||||
|
|
||||||
# Before hot plugging a PCIe device, you need to add a pcie_root_port device.
|
# Before hot plugging a PCIe device, you need to add a pcie_root_port device.
|
||||||
# Use this parameter when using some large PCI bar devices, such as Nvidia GPU
|
# Use this parameter when using some large PCI bar devices, such as Nvidia GPU
|
||||||
|
@@ -336,9 +336,7 @@ pflashes = []
|
|||||||
# Otherwise virtio-block device is used.
|
# Otherwise virtio-block device is used.
|
||||||
#
|
#
|
||||||
# nvdimm is not supported when `confidential_guest = true`.
|
# nvdimm is not supported when `confidential_guest = true`.
|
||||||
#
|
disable_image_nvdimm = @DEFDISABLEIMAGENVDIMM@
|
||||||
# Default is false
|
|
||||||
#disable_image_nvdimm = true
|
|
||||||
|
|
||||||
# Before hot plugging a PCIe device, you need to add a pcie_root_port device.
|
# Before hot plugging a PCIe device, you need to add a pcie_root_port device.
|
||||||
# Use this parameter when using some large PCI bar devices, such as Nvidia GPU
|
# Use this parameter when using some large PCI bar devices, such as Nvidia GPU
|
||||||
|
@@ -356,9 +356,7 @@ pflashes = []
|
|||||||
# Otherwise virtio-block device is used.
|
# Otherwise virtio-block device is used.
|
||||||
#
|
#
|
||||||
# nvdimm is not supported when `confidential_guest = true`.
|
# nvdimm is not supported when `confidential_guest = true`.
|
||||||
#
|
disable_image_nvdimm = @DEFDISABLEIMAGENVDIMM@
|
||||||
# Default is false
|
|
||||||
#disable_image_nvdimm = true
|
|
||||||
|
|
||||||
# Enable hot-plugging of VFIO devices to a bridge-port,
|
# Enable hot-plugging of VFIO devices to a bridge-port,
|
||||||
# root-port or switch-port.
|
# root-port or switch-port.
|
||||||
|
@@ -322,9 +322,7 @@ pflashes = []
|
|||||||
# Otherwise virtio-block device is used.
|
# Otherwise virtio-block device is used.
|
||||||
#
|
#
|
||||||
# nvdimm is not supported when `confidential_guest = true`.
|
# nvdimm is not supported when `confidential_guest = true`.
|
||||||
#
|
disable_image_nvdimm = @DEFDISABLEIMAGENVDIMM@
|
||||||
# Default is false
|
|
||||||
#disable_image_nvdimm = true
|
|
||||||
|
|
||||||
# Enable hot-plugging of VFIO devices to a bridge-port,
|
# Enable hot-plugging of VFIO devices to a bridge-port,
|
||||||
# root-port or switch-port.
|
# root-port or switch-port.
|
||||||
|
@@ -306,9 +306,7 @@ pflashes = []
|
|||||||
# Otherwise virtio-block device is used.
|
# Otherwise virtio-block device is used.
|
||||||
#
|
#
|
||||||
# nvdimm is not supported when `confidential_guest = true`.
|
# nvdimm is not supported when `confidential_guest = true`.
|
||||||
#
|
disable_image_nvdimm = @DEFDISABLEIMAGENVDIMM@
|
||||||
# Default is false
|
|
||||||
#disable_image_nvdimm = true
|
|
||||||
|
|
||||||
# Before hot plugging a PCIe device, you need to add a pcie_root_port device.
|
# Before hot plugging a PCIe device, you need to add a pcie_root_port device.
|
||||||
# Use this parameter when using some large PCI bar devices, such as Nvidia GPU
|
# Use this parameter when using some large PCI bar devices, such as Nvidia GPU
|
||||||
|
@@ -352,9 +352,7 @@ disable_nesting_checks = true
|
|||||||
# Otherwise virtio-block device is used.
|
# Otherwise virtio-block device is used.
|
||||||
#
|
#
|
||||||
# nvdimm is not supported when `confidential_guest = true`.
|
# nvdimm is not supported when `confidential_guest = true`.
|
||||||
#
|
disable_image_nvdimm = @DEFDISABLEIMAGENVDIMM@
|
||||||
# Default is false
|
|
||||||
#disable_image_nvdimm = true
|
|
||||||
|
|
||||||
# Before hot plugging a PCIe device, you need to add a pcie_root_port device.
|
# Before hot plugging a PCIe device, you need to add a pcie_root_port device.
|
||||||
# Use this parameter when using some large PCI bar devices, such as Nvidia GPU
|
# Use this parameter when using some large PCI bar devices, such as Nvidia GPU
|
||||||
|
@@ -337,9 +337,7 @@ pflashes = []
|
|||||||
# Otherwise virtio-block device is used.
|
# Otherwise virtio-block device is used.
|
||||||
#
|
#
|
||||||
# nvdimm is not supported when `confidential_guest = true`.
|
# nvdimm is not supported when `confidential_guest = true`.
|
||||||
#
|
disable_image_nvdimm = @DEFDISABLEIMAGENVDIMM@
|
||||||
# Default is false
|
|
||||||
#disable_image_nvdimm = true
|
|
||||||
|
|
||||||
# Before hot plugging a PCIe device, you need to add a pcie_root_port device.
|
# Before hot plugging a PCIe device, you need to add a pcie_root_port device.
|
||||||
# Use this parameter when using some large PCI bar devices, such as Nvidia GPU
|
# Use this parameter when using some large PCI bar devices, such as Nvidia GPU
|
||||||
|
@@ -357,9 +357,7 @@ pflashes = []
|
|||||||
# Otherwise virtio-block device is used.
|
# Otherwise virtio-block device is used.
|
||||||
#
|
#
|
||||||
# nvdimm is not supported when `confidential_guest = true`.
|
# nvdimm is not supported when `confidential_guest = true`.
|
||||||
#
|
disable_image_nvdimm = @DEFDISABLEIMAGENVDIMM@
|
||||||
# Default is false
|
|
||||||
#disable_image_nvdimm = true
|
|
||||||
|
|
||||||
# Enable hot-plugging of VFIO devices to a bridge-port,
|
# Enable hot-plugging of VFIO devices to a bridge-port,
|
||||||
# root-port or switch-port.
|
# root-port or switch-port.
|
||||||
|
Reference in New Issue
Block a user