/*
 * HCS API
 *
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * API version: 2.1
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */

package hcsschema

type Memory2 struct {
	SizeInMB uint64 `json:"SizeInMB,omitempty"`

	AllowOvercommit bool `json:"AllowOvercommit,omitempty"`

	EnableHotHint bool `json:"EnableHotHint,omitempty"`

	EnableColdHint bool `json:"EnableColdHint,omitempty"`

	EnableEpf bool `json:"EnableEpf,omitempty"`

	// EnableDeferredCommit is private in the schema. If regenerated need to add back.
	EnableDeferredCommit bool `json:"EnableDeferredCommit,omitempty"`

	// EnableColdDiscardHint if enabled, then the memory cold discard hint feature is exposed
	// to the VM, allowing it to trim non-zeroed pages from the working set (if supported by
	// the guest operating system).
	EnableColdDiscardHint bool `json:"EnableColdDiscardHint,omitempty"`

	// LowMmioGapInMB is the low MMIO region allocated below 4GB.
	//
	// TODO: This is pre-release support in schema 2.3. Need to add build number
	// docs when a public build with this is out.
	LowMMIOGapInMB uint64 `json:"LowMmioGapInMB,omitempty"`

	// HighMmioBaseInMB is the high MMIO region allocated above 4GB (base and
	// size).
	//
	// TODO: This is pre-release support in schema 2.3. Need to add build number
	// docs when a public build with this is out.
	HighMMIOBaseInMB uint64 `json:"HighMmioBaseInMB,omitempty"`

	// HighMmioGapInMB is the high MMIO region.
	//
	// TODO: This is pre-release support in schema 2.3. Need to add build number
	// docs when a public build with this is out.
	HighMMIOGapInMB uint64 `json:"HighMmioGapInMB,omitempty"`
}
