shwstppr commented on pull request #5335:
URL: https://github.com/apache/cloudstack/pull/5335#issuecomment-902633741


   With current changes by setting boot type and mode from UI/API, I was able 
to get VM running with desired boot options,
   ```[17:00 xcp-ng1 ~]# xe vm-list params=all 
uuid=4efcfa1e-11db-becb-0d33-ff4b3faeee1c
   uuid ( RO)                                  : 
4efcfa1e-11db-becb-0d33-ff4b3faeee1c
                               name-label ( RW): i-2-38-VM
                         name-description ( RW): Template which allows VM 
installation from install media
                             user-version ( RW): 1
                            is-a-template ( RW): false
                      is-default-template ( RW): false
                            is-a-snapshot ( RO): false
                              snapshot-of ( RO): <not in database>
                                snapshots ( RO): 
                            snapshot-time ( RO): 19700101T00:00:00Z
                            snapshot-info ( RO): 
                                   parent ( RO): <not in database>
                                 children ( RO): 
                        is-control-domain ( RO): false
                              power-state ( RO): running
                            memory-actual ( RO): 538959872
                            memory-target ( RO): <expensive field>
                          memory-overhead ( RO): 7340032
                        memory-static-max ( RW): 536870912
                       memory-dynamic-max ( RW): 536870912
                       memory-dynamic-min ( RW): 536870912
                        memory-static-min ( RW): 536870912
                         suspend-VDI-uuid ( RW): <not in database>
                          suspend-SR-uuid ( RW): <not in database>
                             VCPUs-params (MRW): cap: 0; weight: 57
                                VCPUs-max ( RW): 1
                         VCPUs-at-startup ( RW): 1
                   actions-after-shutdown ( RW): Destroy
                     actions-after-reboot ( RW): Restart
                      actions-after-crash ( RW): Destroy
                            console-uuids (SRO): 
a3cbacd5-e8b5-b225-b314-f83d6d3de1fd
                                      hvm ( RO): true
                                 platform (MRW): timeoffset: 0; device-model: 
qemu-upstream-uefi; apic: true; viridian: true; pae: true; acpi: 1; hpet: true; 
secureboot: true; nx: true
                       allowed-operations (SRO): changing_dynamic_range; 
hard_reboot; hard_shutdown; pause; snapshot
                       current-operations (SRO): 
                       blocked-operations (MRW): 
                      allowed-VBD-devices (SRO): <expensive field>
                      allowed-VIF-devices (SRO): <expensive field>
                           possible-hosts ( RO): <expensive field>
                              domain-type ( RW): hvm
                      current-domain-type ( RO): hvm
                          HVM-boot-policy ( RW): BIOS order
                          HVM-boot-params (MRW): firmware: uefi; order: cd
                    HVM-shadow-multiplier ( RW): 1.000
                                PV-kernel ( RW): 
                               PV-ramdisk ( RW): 
                                  PV-args ( RW): 
                           PV-legacy-args ( RW): 
                            PV-bootloader ( RW): 
                       PV-bootloader-args ( RW): 
                      last-boot-CPU-flags ( RO): vendor: GenuineIntel; 
features: 
1f8bfbff-f7fa3223-2d93fbff-00000523-00000007-009c07ab-00000004-00000000-00001000-8c000400-00000000-00000000-00000000-00000000-00000000
                         last-boot-record ( RO): <expensive field>
                              resident-on ( RO): 
53b35bd2-4724-477c-921e-3d9f117d550c
                                 affinity ( RW): 
53b35bd2-4724-477c-921e-3d9f117d550c
                             other-config (MRW): mac_seed: 
0f75fc7f-274a-aef1-a14e-9698ba6d240f; import_task: 
OpaqueRef:cd1ae421-d3c5-4119-9d0a-d962df0eb38f; install-methods: cdrom; 
vm_uuid: f6f543aa-de6f-499a-9ca4-4755acea14b3
                                   dom-id ( RO): 12
                          recommendations ( RO): <restrictions><restriction 
field="memory-static-max" max="137438953472"/><restriction field="vcpus-max" 
max="32"/><restriction field="has-vendor-device" value="false"/><restriction 
field="supports-bios" value="yes"/><restriction field="supports-uefi" 
value="yes"/><restriction field="supports-secure-boot" 
value="yes"/><restriction max="255" property="number-of-vbds"/><restriction 
max="7" property="number-of-vifs"/></restrictions>
                            xenstore-data (MRW): vm-data: ; 
vm-data/mmio-hole-size: 268435456
               ha-always-run ( RW) [DEPRECATED]: false
                      ha-restart-priority ( RW): 
                                    blobs ( RO): 
                               start-time ( RO): 20210820T11:29:57Z
                             install-time ( RO): 19700101T00:00:00Z
                             VCPUs-number ( RO): 1
                        VCPUs-utilisation (MRO): <expensive field>
                               os-version (MRO): 
                       PV-drivers-version (MRO): 
       PV-drivers-up-to-date ( RO) [DEPRECATED]: true
                                   memory (MRO): 
                                    disks (MRO): 
                                     VBDs (SRO): 
4fe09462-e806-a545-be1a-6627de74da4a; 5c991a4f-25ac-fe1b-a95c-d2f56a91410e
                                 networks (MRO): 
                      PV-drivers-detected ( RO): true
                                    other (MRO): 
platform-feature-multiprocessor-suspend: 1; has-vendor-device: 1
                                     live ( RO): true
               guest-metrics-last-updated ( RO): 20210820T11:30:00Z
                      can-use-hotplug-vbd ( RO): unspecified
                      can-use-hotplug-vif ( RO): unspecified
                 cooperative ( RO) [DEPRECATED]: <expensive field>
                                     tags (SRW): 
                                appliance ( RW): <not in database>
                        snapshot-schedule ( RW): <not in database>
                         is-vmss-snapshot ( RO): false
                              start-delay ( RW): 0
                           shutdown-delay ( RW): 0
                                    order ( RW): 0
                                  version ( RO): 1
                            generation-id ( RO): 
                hardware-platform-version ( RO): 2
                        has-vendor-device ( RW): true
                          requires-reboot ( RO): false
                          reference-label ( RO): 
                             bios-strings (MRO): bios-vendor: Xen; 
bios-version: ; system-manufacturer: Xen; system-product-name: HVM domU; 
system-version: ; system-serial-number: ; baseboard-manufacturer: ; 
baseboard-product-name: ; baseboard-version: ; baseboard-serial-number: ; 
baseboard-asset-tag: ; baseboard-location-in-chassis: ; enclosure-asset-tag: ; 
hp-rombios: ; oem-1: Xen; oem-2: 
MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to