From 5a751d3384dfc8d61abbd7d7f1e09ab353dd612e Mon Sep 17 00:00:00 2001 From: Wayne Chen Date: Thu, 19 Dec 2024 12:53:30 +0800 Subject: [PATCH] Add guest profiles for SL Micro 6.2 Add guest profiles for SL Micro 6.2, including x86_64 and aarch64. Because there is possibility of older SL Micro respin, keeping the SL Micro 6.1 guest profiles and created new ones for SL Micro 6.2: 1.slm_6_2_64_kvm_hvm_aarch64_default_qcow_ignition+combustion.xml 2.slm_6_2_64_kvm_hvm_aarch64_default_raw_ignition+combustion.xml 3.slm_6_2_64_kvm_hvm_x86_64_default_encrypted_ignition+combustion.xml 4.slm_6_2_64_kvm_hvm_x86_64_default_qcow_ignition+combustion.xml 5.slm_6_2_64_kvm_hvm_x86_64_default_raw_ignition+combustion.xml --- ...rch64_default_qcow_ignition+combustion.xml | 97 +++++++++++++++++++ ...arch64_default_raw_ignition+combustion.xml | 96 ++++++++++++++++++ ..._default_encrypted_ignition+combustion.xml | 97 +++++++++++++++++++ ...86_64_default_qcow_ignition+combustion.xml | 97 +++++++++++++++++++ ...x86_64_default_raw_ignition+combustion.xml | 96 ++++++++++++++++++ lib/virt_autotest/utils.pm | 6 +- 6 files changed, 487 insertions(+), 2 deletions(-) create mode 100755 data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_aarch64_default_qcow_ignition+combustion.xml create mode 100755 data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_aarch64_default_raw_ignition+combustion.xml create mode 100755 data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_x86_64_default_encrypted_ignition+combustion.xml create mode 100755 data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_x86_64_default_qcow_ignition+combustion.xml create mode 100755 data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_x86_64_default_raw_ignition+combustion.xml diff --git a/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_aarch64_default_qcow_ignition+combustion.xml b/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_aarch64_default_qcow_ignition+combustion.xml new file mode 100755 index 000000000000..833415674de8 --- /dev/null +++ b/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_aarch64_default_qcow_ignition+combustion.xml @@ -0,0 +1,97 @@ + + + slm + 6.2 + 6 + 2 + 64 + + + kvm + hvm + virt + aarch64 + + + 2048,maxmemory=4096 + 2,maxvcpus=4 + host-passthrough + + hd + + ignition+combustion + qemu + ignition_config_non_encrypted_image.ign#combustion_script + import + + + + + http://openqa.suse.de/assets/hdd/SL-Micro.aarch64-6.2-Default-qcow-Build12345.qcow2 + + slem6.1 + + disk + qcow2 + gpt + 40 + + + driver.name=qemu,target.dev=vda,target.bus=virtio,bus=virtio,cache=none + bridge + bridge + + + + + false + + vnc + + + pty + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text + false + + graphical + + + + + + diff --git a/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_aarch64_default_raw_ignition+combustion.xml b/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_aarch64_default_raw_ignition+combustion.xml new file mode 100755 index 000000000000..61d52fb09672 --- /dev/null +++ b/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_aarch64_default_raw_ignition+combustion.xml @@ -0,0 +1,96 @@ + + + slm + 6.2 + 6 + 2 + 64 + + + kvm + hvm + virt + aarch64 + + + 2048,maxmemory=4096 + 2,maxvcpus=4 + host-passthrough + + hd + + ignition+combustion + metal + ignition_config_non_encrypted_image.ign#combustion_script + import + + + + http://openqa.suse.de/assets/hdd/SL-Micro.aarch64-6.2-Default-Build12345.raw.xz + + slem6.1 + + disk + qcow2 + gpt + 40 + + + driver.name=qemu,target.dev=vda,target.bus=virtio,bus=virtio,cache=none + bridge + bridge + + + + + false + + vnc + + + pty + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text + false + + graphical + + + + + + diff --git a/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_x86_64_default_encrypted_ignition+combustion.xml b/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_x86_64_default_encrypted_ignition+combustion.xml new file mode 100755 index 000000000000..b7deb089790e --- /dev/null +++ b/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_x86_64_default_encrypted_ignition+combustion.xml @@ -0,0 +1,97 @@ + + + slm + 6.2 + 6 + 2 + 64 + + + kvm + hvm + q35 + x86_64 + + + 2048,maxmemory=4096 + 2,maxvcpus=4 + mode=host-passthrough,check=none,migratable=on + + uefi,arch=x86_64,firmware.feature0.name=secure-boot,firmware.feature0.enabled=yes,firmware.feature0.name=enrolled-keys,firmware.feature0.enabled=yes + + ignition+combustion + metal + ignition_config_encrypted_image.ign#combustion_script + import + + + + + http://openqa.suse.de/assets/hdd/SL-Micro.x86_64-6.2-Default-encrypted-Build12345.raw.xz + + slem6.1 + + disk + qcow2 + gpt + 40 + + + driver.name=qemu,target.dev=vda,target.bus=virtio,bus=virtio,cache=none + bridge + bridge + + + + + false + + spice + + + pty,target.type=isa-serial + + type=unix#spicevmc + pty,target.type=serial + + + + + + + + virtio + model=tpm-tis,backend.type=emulator,backend.version=2.0 + virtio,backend.model=random + + + + + + + + + + + + vmport.state=off,smm=on + + + + + + + + + + + text + false + + graphical + false + + + + + diff --git a/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_x86_64_default_qcow_ignition+combustion.xml b/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_x86_64_default_qcow_ignition+combustion.xml new file mode 100755 index 000000000000..42160176bdbc --- /dev/null +++ b/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_x86_64_default_qcow_ignition+combustion.xml @@ -0,0 +1,97 @@ + + + slm + 6.2 + 6 + 2 + 64 + + + kvm + hvm + q35 + x86_64 + + + 2048,maxmemory=4096 + 2,maxvcpus=4 + host-model + + hd + + ignition+combustion + qemu + ignition_config_non_encrypted_image.ign#combustion_script + import + + + + + http://openqa.suse.de/assets/hdd/SL-Micro.x86_64-6.2-Default-qcow-Build12345.qcow2 + + slem6.1 + + disk + qcow2 + gpt + 40 + + + driver.name=qemu,target.dev=vda,target.bus=virtio,bus=virtio,cache=none + bridge + bridge + + + + + false + + vnc + + + pty + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text + false + + graphical + false + + + + + diff --git a/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_x86_64_default_raw_ignition+combustion.xml b/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_x86_64_default_raw_ignition+combustion.xml new file mode 100755 index 000000000000..2134e088ece1 --- /dev/null +++ b/data/virt_autotest/guest_params_xml_files/slm_6_2_64_kvm_hvm_x86_64_default_raw_ignition+combustion.xml @@ -0,0 +1,96 @@ + + + slm + 6.2 + 6 + 2 + 64 + + + kvm + hvm + q35 + x86_64 + + + 2048,maxmemory=4096 + 2,maxvcpus=4 + host-model + + hd + + ignition+combustion + metal + ignition_config_non_encrypted_image.ign#combustion_script + import + + + + http://openqa.suse.de/assets/hdd/SL-Micro.x86_64-6.2-Default-Build12345.raw.xz + + slem6.1 + + disk + qcow2 + gpt + 40 + + + driver.name=qemu,target.dev=vda,target.bus=virtio,bus=virtio,cache=none + bridge + bridge + + + + + false + + vnc + + + pty + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text + false + + graphical + false + + + + + diff --git a/lib/virt_autotest/utils.pm b/lib/virt_autotest/utils.pm index 5cae848be42a..9c393c8b20ac 100644 --- a/lib/virt_autotest/utils.pm +++ b/lib/virt_autotest/utils.pm @@ -115,7 +115,8 @@ sub check_modular_libvirt_daemons { my @daemons = @_; if (!@daemons) { - @daemons = qw(network nodedev nwfilter secret storage lock); + @daemons = qw(network nodedev secret storage lock); + #@daemons = qw(network nodedev nwfilter secret storage lock); # For details, please refer to poo#137096 (is_xen_host) ? push @daemons, 'xen' : push @daemons, ('qemu', 'log'); } @@ -140,7 +141,8 @@ sub restart_modular_libvirt_daemons { my @daemons = @_; if (!@daemons) { - @daemons = qw(network nodedev nwfilter secret storage lock); + @daemons = qw(network nodedev secret storage lock); + #@daemons = qw(network nodedev nwfilter secret storage lock); # For details, please refer to poo#137096 (is_xen_host) ? push @daemons, 'xen' : push @daemons, ('qemu', 'log'); }