xenadmin/XenAdmin/Controls/Ballooning
Danilo Del Busso 6c584bb351
CA-375532, CA-336510, and CP-41825: Add warnings when user selects too many vCPUs (#3119)
* Tidy up `SelectMultipleVMDestinationPage.cs`
* CA-375532 & CA-336510: Add warning when importing VMs with too many vCPUs
* CA-375532 & CA-336510: Prevent users from starting appliance if a VM has too many vCPUs
* Tidy up `Page_CpuMem`: use expression-bodied properties
* Tidy up `Page_CpuMem`: use conventional naming scheme
* Tidy up `Page_CpuMem`: use explicit modifiers
* Tidy up `Page_CpuMem`: use `en-US` locale for names
* Tidy up `Page_CpuMem`: use `var` when possible
* Tidy up `Page_CpuMem`: rename `Vcpus` to `VCpus`
* Tidy up `Page_CpuMem`: reorder elements
* Tidy up `Page_CpuMem`: revert class renaming and fix `vCpus` typos
* CA-375532: Prevent users from starting VM if they select too many vCPUs
* Tidy up `Page_Finish`: use expression-bodied properties
* Tidy up `Page_Finish`: fix typo
* Tidy up `Page_CpuMem`: rename `CanStartVM` to `CanStartVm`
* Remove unnecessary using directives
* Anchor warning icon to the top-left corner of its parent
* CA-375532 & CA-336510: Warn users when selecting more vCPUs than pCPUs in the Properties page
* CP-41825: Add warning for imported VMs with > 32 vCPUs
* CP-41825: Add warning for new VMs with > 32 vCPUs
* CP-41825: Add warning for existing VMs when selecting > 32 vCPUs
* CP-41825: Update wording used to alert users running VMs with > 32vCPUs
* Remove unused local variable in `VappStartCommand.cs`
* Reword some vCPUs messages
* Simplify assignment of `CanStartImmediately` in `Page_Finish.cs`
* Simplify assignment of `CanStartVmsAutomatically` in `ImportFinishPage.cs`
* Remove useless `Count` check in `VappStartCommand`
* Rename `pictureBox1` to `warningPictureBox` and change its `SizeMode`
* Separate CPU and memory warnings in `Page_CpuMem`
* Shorten warning messages shown in `Page_CpuMem`
* Disable option to start VM when memory configuration isn't valid
* Report number of vCPUs and pCPUs when showing warning in New VM wizard
* Tidy up `CpuMemoryEditPage`: rename elements
* Tidy up `CpuMemoryEditPage`: use explicity modifiers
* Tidy up `CpuMemoryEditPage`: Rename `CPUMemoryEditPage` to `CpuMemoryEditPage`
* Tidy up `CpuMemoryEditPage`: Miscellaneous renames and improvements
* Tidy up `CpuMemoryEditPage`: Fix whitespace
* Tidy up `CpuMemoryEditPage`: Use ReSharper code formatter
* Tidy up `CpuMemoryEditPage`: Move events to own region
* Tidy up `CpuMemoryEditPage`: Move `IEditPage` members to own region
* Tidy up `CpuMemoryEditPage`: Order members outside of regions
* Replace topology and vCPU warning labels with structured warnings
* Ensure warnings ends with a dot
* Allow multiple CPU warnings to show at the same time
* Remove warning link for vCPUS > pCPUS Option is not achievable
* Enable option to force unit used in `MemorySpinner`
* Replace `NumericUpDown` with `MemorySpinner` and show warnings at bottom of control
* Check destination pCPUs count when destination is not a pool
* Do not disable option to start VMs after import if user selects a shared SR
* Add memory warning when importing appliance with too much memory
* Sort vCPUs and memory warning strings
* Remove target from `ImportWizard`'s summary
Target is not useful and can cause confusion as appliance VMs could start on non-target hosts
* The home server is needed in the summary when importing XVA. The target server is not needed in the summary when migrating a VM.
* Update warnings when the server selection changes. Corrected memory calculation.
* Show all warnings for vCPUs. Moved topology warning to the bottom. Separated methods for showing memory and vCPU warnings.
* Removed the memory setting from the VM Properties dialog. Split running VM info to a separate panel.
* Corrections to the logic for starting the VM automatically. Also, Fixed a bit the layout of the Finish page to make better use of the available space.
* Corrections as per code review.

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
Co-authored-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-06-08 11:24:39 +01:00
..
HostMemoryControls.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
HostMemoryControls.Designer.cs Fix the wrong layout 2018-12-11 14:52:20 +00:00
HostMemoryControls.ja.resx L10N: Translation and resx resync 2018-10-29 12:01:08 +00:00
HostMemoryControls.resx CA-235084, CA-235085: Layout corrections on the host and VM memory panels. 2018-10-26 13:39:13 +03:00
HostMemoryControls.zh-CN.resx L10N: Translation and resx resync 2018-10-29 12:01:08 +00:00
HostMemoryRow.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
HostMemoryRow.Designer.cs CP-16935: Configure Control domain memory for a host 2016-08-09 14:50:04 +01:00
HostMemoryRow.ja.resx L10N:Translations check-ins 2017-01-06 12:46:19 +00:00
HostMemoryRow.resx CP-16935: Configure Control domain memory for a host 2016-08-09 14:50:04 +01:00
HostMemoryRow.zh-CN.resx L10N:Translations check-ins 2017-01-06 12:46:19 +00:00
HostShinyBar.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
HostShinyBar.Designer.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
HostShinyBar.ja.resx L10N:Translations check-ins 2017-01-06 12:46:19 +00:00
HostShinyBar.resx CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
HostShinyBar.zh-CN.resx L10N:Translations check-ins 2017-01-06 12:46:19 +00:00
MemoryRowLabel.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
MemoryRowLabel.Designer.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
MemoryRowLabel.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
MemoryRowLabel.resx CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
MemoryRowLabel.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
MemorySpinner.cs CA-375532, CA-336510, and CP-41825: Add warnings when user selects too many vCPUs (#3119) 2023-06-08 11:24:39 +01:00
MemorySpinner.Designer.cs CA-210190 Memory spinner: removed the label so it's easier to align 2018-09-26 11:06:24 +01:00
MemorySpinner.ja.resx L10N: Translation updates along with Interface resync 2018-09-28 14:00:14 +01:00
MemorySpinner.resx CA-210190 Memory spinner: removed the label so it's easier to align 2018-09-26 11:06:24 +01:00
MemorySpinner.zh-CN.resx L10N: Translation updates along with Interface resync 2018-09-28 14:00:14 +01:00
ShinyBar.cs Prevent long overflow when VM has a very large amount of memory (#3154) 2023-06-07 13:15:34 +01:00
ShinyBar.Designer.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
ShinyBar.ja.resx L10N:Translations check-ins 2017-01-06 12:46:19 +00:00
ShinyBar.resx CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
ShinyBar.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
VMMemoryControlsAdvanced.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
VMMemoryControlsAdvanced.Designer.cs CA-210190 Memory spinner: removed the label so it's easier to align 2018-09-26 11:06:24 +01:00
VMMemoryControlsAdvanced.ja.resx L10N : Translation updates and resync 2018-12-03 14:48:42 +00:00
VMMemoryControlsAdvanced.resx CA-210190 Memory spinner: removed the label so it's easier to align 2018-09-26 11:06:24 +01:00
VMMemoryControlsAdvanced.zh-CN.resx L10N: Translation updates along with Interface resync 2018-09-28 14:00:14 +01:00
VMMemoryControlsBasic.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
VMMemoryControlsBasic.Designer.cs CA-210190 Memory spinner: removed the label so it's easier to align 2018-09-26 11:06:24 +01:00
VMMemoryControlsBasic.ja.resx L10N : Resx resync and Translation Updates 2022-01-05 11:38:40 +00:00
VMMemoryControlsBasic.resx CP-31105: Replaced the hardcoded name patterns in the resource files with format placeholders. 2021-03-31 11:50:32 +01:00
VMMemoryControlsBasic.zh-CN.resx L10N : Resx resync and Translation Updates 2022-01-05 11:38:40 +00:00
VMMemoryControlsEdit.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
VMMemoryControlsNoEdit.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
VMMemoryControlsNoEdit.Designer.cs CA-235084, CA-235085: Layout corrections on the host and VM memory panels. 2018-10-26 13:39:13 +03:00
VMMemoryControlsNoEdit.ja.resx L10N : Translation updates and resync 2018-12-03 14:48:42 +00:00
VMMemoryControlsNoEdit.resx CA-235084, CA-235085: Layout corrections on the host and VM memory panels. 2018-10-26 13:39:13 +03:00
VMMemoryControlsNoEdit.zh-CN.resx L10N: Translation and resx resync 2018-10-29 12:01:08 +00:00
VMMemoryRow.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
VMMemoryRow.Designer.cs Removed colour settings for unsupported windows versions. 2021-05-18 11:12:11 +01:00
VMMemoryRow.ja.resx L10N : Resx resync and Translation Updates 2022-01-05 11:38:40 +00:00
VMMemoryRow.resx Consolidation of ballooning colours. 2021-05-18 11:12:11 +01:00
VMMemoryRow.zh-CN.resx L10N : Resx resync and Translation Updates 2022-01-05 11:38:40 +00:00
VMShinyBar.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
VMShinyBar.Designer.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
VMShinyBar.ja.resx L10N:Translations check-ins 2017-01-06 12:46:19 +00:00
VMShinyBar.resx CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
VMShinyBar.zh-CN.resx L10N:Translations check-ins 2017-01-06 12:46:19 +00:00