memory_2.go 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. package hcsschema
  10. type Memory2 struct {
  11. SizeInMB int32 `json:"SizeInMB,omitempty"`
  12. AllowOvercommit bool `json:"AllowOvercommit,omitempty"`
  13. EnableHotHint bool `json:"EnableHotHint,omitempty"`
  14. EnableColdHint bool `json:"EnableColdHint,omitempty"`
  15. EnableEpf bool `json:"EnableEpf,omitempty"`
  16. // EnableDeferredCommit is private in the schema. If regenerated need to add back.
  17. EnableDeferredCommit bool `json:"EnableDeferredCommit,omitempty"`
  18. // EnableColdDiscardHint if enabled, then the memory cold discard hint feature is exposed
  19. // to the VM, allowing it to trim non-zeroed pages from the working set (if supported by
  20. // the guest operating system).
  21. EnableColdDiscardHint bool `json:"EnableColdDiscardHint,omitempty"`
  22. // LowMmioGapInMB is the low MMIO region allocated below 4GB.
  23. //
  24. // TODO: This is pre-release support in schema 2.3. Need to add build number
  25. // docs when a public build with this is out.
  26. LowMMIOGapInMB uint64 `json:"LowMmioGapInMB,omitempty"`
  27. // HighMmioBaseInMB is the high MMIO region allocated above 4GB (base and
  28. // size).
  29. //
  30. // TODO: This is pre-release support in schema 2.3. Need to add build number
  31. // docs when a public build with this is out.
  32. HighMMIOBaseInMB uint64 `json:"HighMmioBaseInMB,omitempty"`
  33. // HighMmioGapInMB is the high MMIO region.
  34. //
  35. // TODO: This is pre-release support in schema 2.3. Need to add build number
  36. // docs when a public build with this is out.
  37. HighMMIOGapInMB uint64 `json:"HighMmioGapInMB,omitempty"`
  38. }