...

Source file src/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_2.go

Documentation: github.com/Microsoft/hcsshim/internal/hcs/schema2

     1  /*
     2   * HCS API
     3   *
     4   * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
     5   *
     6   * API version: 2.1
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package hcsschema
    11  
    12  type Memory2 struct {
    13  	SizeInMB uint64 `json:"SizeInMB,omitempty"`
    14  
    15  	AllowOvercommit bool `json:"AllowOvercommit,omitempty"`
    16  
    17  	EnableHotHint bool `json:"EnableHotHint,omitempty"`
    18  
    19  	EnableColdHint bool `json:"EnableColdHint,omitempty"`
    20  
    21  	EnableEpf bool `json:"EnableEpf,omitempty"`
    22  
    23  	// EnableDeferredCommit is private in the schema. If regenerated need to add back.
    24  	EnableDeferredCommit bool `json:"EnableDeferredCommit,omitempty"`
    25  
    26  	// EnableColdDiscardHint if enabled, then the memory cold discard hint feature is exposed
    27  	// to the VM, allowing it to trim non-zeroed pages from the working set (if supported by
    28  	// the guest operating system).
    29  	EnableColdDiscardHint bool `json:"EnableColdDiscardHint,omitempty"`
    30  
    31  	// LowMmioGapInMB is the low MMIO region allocated below 4GB.
    32  	//
    33  	// TODO: This is pre-release support in schema 2.3. Need to add build number
    34  	// docs when a public build with this is out.
    35  	LowMMIOGapInMB uint64 `json:"LowMmioGapInMB,omitempty"`
    36  
    37  	// HighMmioBaseInMB is the high MMIO region allocated above 4GB (base and
    38  	// size).
    39  	//
    40  	// TODO: This is pre-release support in schema 2.3. Need to add build number
    41  	// docs when a public build with this is out.
    42  	HighMMIOBaseInMB uint64 `json:"HighMmioBaseInMB,omitempty"`
    43  
    44  	// HighMmioGapInMB is the high MMIO region.
    45  	//
    46  	// TODO: This is pre-release support in schema 2.3. Need to add build number
    47  	// docs when a public build with this is out.
    48  	HighMMIOGapInMB uint64 `json:"HighMmioGapInMB,omitempty"`
    49  }
    50  

View as plain text