Files
kata-containers/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/docs/PmemConfig.md
Fabiano Fidêncio dc3b6f6592 versions: Update Cloud Hypervisor to v25.0
Cloud Hypervisor v25.0 has been released on July 7th, 2022, and brings
the following changes:

**ch-remote Improvements**
The ch-remote command has gained support for creating the VM from a JSON
config and support for booting and deleting the VM from the VMM.

**VM "Coredump" Support**
Under the guest_debug feature flag it is now possible to extract the memory
of the guest for use in debugging with e.g. the crash utility.
(https://github.com/cloud-hypervisor/cloud-hypervisor/issues/4012)

**Notable Bug Fixes**
* Always restore console mode on exit
  (https://github.com/cloud-hypervisor/cloud-hypervisor/issues/4249,
   https://github.com/cloud-hypervisor/cloud-hypervisor/issues/4248)
* Restore vCPUs in numerical order which fixes aarch64 snapshot/restore
  (https://github.com/cloud-hypervisor/cloud-hypervisor/issues/4244)
* Don't try and configure IFF_RUNNING on TAP devices
  (https://github.com/cloud-hypervisor/cloud-hypervisor/issues/4279)
* Propagate configured queue size through to vhost-user backend
  (https://github.com/cloud-hypervisor/cloud-hypervisor/issues/4286)
* Always Program vCPU CPUID before running the vCPU to fix running on Linux
  5.16
  (https://github.com/cloud-hypervisor/cloud-hypervisor/issues/4156)
* Enable ACPI MADT "Online Capable" flag for hotpluggable vCPUs to fix newer
  Linux guest

**Removals**
The following functionality has been removed:

* The mergeable option from the virtio-pmem support has been removed
  (https://github.com/cloud-hypervisor/cloud-hypervisor/issues/3968)
* The dax option from the virtio-fs support has been removed
  (https://github.com/cloud-hypervisor/cloud-hypervisor/issues/3889)

Fixes: #4641

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
2022-07-12 14:47:58 +00:00

4.4 KiB

PmemConfig

Properties

Name Type Description Notes
File string
Size Pointer to int64 [optional]
Iommu Pointer to bool [optional] [default to false]
DiscardWrites Pointer to bool [optional] [default to false]
PciSegment Pointer to int32 [optional]
Id Pointer to string [optional]

Methods

NewPmemConfig

func NewPmemConfig(file string, ) *PmemConfig

NewPmemConfig instantiates a new PmemConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewPmemConfigWithDefaults

func NewPmemConfigWithDefaults() *PmemConfig

NewPmemConfigWithDefaults instantiates a new PmemConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetFile

func (o *PmemConfig) GetFile() string

GetFile returns the File field if non-nil, zero value otherwise.

GetFileOk

func (o *PmemConfig) GetFileOk() (*string, bool)

GetFileOk returns a tuple with the File field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFile

func (o *PmemConfig) SetFile(v string)

SetFile sets File field to given value.

GetSize

func (o *PmemConfig) GetSize() int64

GetSize returns the Size field if non-nil, zero value otherwise.

GetSizeOk

func (o *PmemConfig) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSize

func (o *PmemConfig) SetSize(v int64)

SetSize sets Size field to given value.

HasSize

func (o *PmemConfig) HasSize() bool

HasSize returns a boolean if a field has been set.

GetIommu

func (o *PmemConfig) GetIommu() bool

GetIommu returns the Iommu field if non-nil, zero value otherwise.

GetIommuOk

func (o *PmemConfig) GetIommuOk() (*bool, bool)

GetIommuOk returns a tuple with the Iommu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIommu

func (o *PmemConfig) SetIommu(v bool)

SetIommu sets Iommu field to given value.

HasIommu

func (o *PmemConfig) HasIommu() bool

HasIommu returns a boolean if a field has been set.

GetDiscardWrites

func (o *PmemConfig) GetDiscardWrites() bool

GetDiscardWrites returns the DiscardWrites field if non-nil, zero value otherwise.

GetDiscardWritesOk

func (o *PmemConfig) GetDiscardWritesOk() (*bool, bool)

GetDiscardWritesOk returns a tuple with the DiscardWrites field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDiscardWrites

func (o *PmemConfig) SetDiscardWrites(v bool)

SetDiscardWrites sets DiscardWrites field to given value.

HasDiscardWrites

func (o *PmemConfig) HasDiscardWrites() bool

HasDiscardWrites returns a boolean if a field has been set.

GetPciSegment

func (o *PmemConfig) GetPciSegment() int32

GetPciSegment returns the PciSegment field if non-nil, zero value otherwise.

GetPciSegmentOk

func (o *PmemConfig) GetPciSegmentOk() (*int32, bool)

GetPciSegmentOk returns a tuple with the PciSegment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPciSegment

func (o *PmemConfig) SetPciSegment(v int32)

SetPciSegment sets PciSegment field to given value.

HasPciSegment

func (o *PmemConfig) HasPciSegment() bool

HasPciSegment returns a boolean if a field has been set.

GetId

func (o *PmemConfig) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *PmemConfig) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *PmemConfig) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *PmemConfig) HasId() bool

HasId returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]