diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2024-07-01 11:46:47 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2024-07-01 11:46:47 +0200 |
commit | 29bec47ca49f518363dbafad5d7d8206379688f8 (patch) | |
tree | 20ff7f712581ce3fbc17152bd6c5ceae84f6b917 | |
parent | e1579e7d5a491eff48f19641b4b9aaa8b9885c98 (diff) | |
download | ipxe-tests-29bec47ca49f518363dbafad5d7d8206379688f8.tar.gz |
add x86_64 configs
-rw-r--r-- | domain/test-ipxe-ipv4-aarch64.xml | 1 | ||||
-rw-r--r-- | domain/test-ipxe-ipv4-x86_64.xml | 32 | ||||
-rw-r--r-- | domain/test-ipxe-ipv6-x86_64.xml | 33 | ||||
-rw-r--r-- | network/test-ipxe-ipv4-x86_64.xml | 22 | ||||
-rw-r--r-- | network/test-ipxe-ipv6-x86_64.xml | 20 |
5 files changed, 107 insertions, 1 deletions
diff --git a/domain/test-ipxe-ipv4-aarch64.xml b/domain/test-ipxe-ipv4-aarch64.xml index 684533b..ec606bc 100644 --- a/domain/test-ipxe-ipv4-aarch64.xml +++ b/domain/test-ipxe-ipv4-aarch64.xml @@ -26,4 +26,3 @@ <qemu:arg value='name=opt/org.tianocore/IPv6PXESupport,string=no'/> </qemu:commandline> </domain> - diff --git a/domain/test-ipxe-ipv4-x86_64.xml b/domain/test-ipxe-ipv4-x86_64.xml new file mode 100644 index 0000000..7e4eaa3 --- /dev/null +++ b/domain/test-ipxe-ipv4-x86_64.xml @@ -0,0 +1,32 @@ +<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> + <name>test-ipxe-ipv4-x86_64</name> + <memory unit='GiB'>1</memory> + <vcpu placement='static'>1</vcpu> + <os firmware='efi'> + <type arch='x86_64' machine='q35'>hvm</type> + <firmware> + <feature enabled='no' name='enrolled-keys'/> + <feature enabled='no' name='secure-boot'/> + </firmware> + </os> + <features> + <acpi/> + <apic/> + </features> + <cpu mode='host-passthrough' check='none'/> + <devices> + <interface type='network'> + <source network='test-ipxe-ipv4-x86_64'/> + <model type='virtio'/> + <boot order='1'/> + </interface> + <console type='pty'/> + <rng model='virtio'> + <backend model='random'>/dev/urandom</backend> + </rng> + </devices> + <qemu:commandline> + <qemu:arg value='-fw_cfg'/> + <qemu:arg value='name=opt/org.tianocore/IPv6PXESupport,string=no'/> + </qemu:commandline> +</domain> diff --git a/domain/test-ipxe-ipv6-x86_64.xml b/domain/test-ipxe-ipv6-x86_64.xml new file mode 100644 index 0000000..51cfe18 --- /dev/null +++ b/domain/test-ipxe-ipv6-x86_64.xml @@ -0,0 +1,33 @@ +<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> + <name>test-ipxe-ipv6-x86_64</name> + <memory unit='GiB'>1</memory> + <vcpu placement='static'>1</vcpu> + <os firmware='efi'> + <type arch='x86_64' machine='q35'>hvm</type> + <firmware> + <feature enabled='no' name='enrolled-keys'/> + <feature enabled='no' name='secure-boot'/> + </firmware> + </os> + <features> + <acpi/> + <apic/> + </features> + <cpu mode='host-passthrough' check='none'/> + <devices> + <interface type='network'> + <source network='test-ipxe-ipv6-x86_64'/> + <model type='virtio'/> + <boot order='1'/> + </interface> + <console type='pty'/> + <rng model='virtio'> + <backend model='random'>/dev/urandom</backend> + </rng> + </devices> + <qemu:commandline> + <qemu:arg value='-fw_cfg'/> + <qemu:arg value='name=opt/org.tianocore/IPv4PXESupport,string=no'/> + </qemu:commandline> +</domain> + diff --git a/network/test-ipxe-ipv4-x86_64.xml b/network/test-ipxe-ipv4-x86_64.xml new file mode 100644 index 0000000..216148d --- /dev/null +++ b/network/test-ipxe-ipv4-x86_64.xml @@ -0,0 +1,22 @@ +<network xmlns:dnsmasq='http://libvirt.org/schemas/network/dnsmasq/1.0'> + <name>test-ipxe-ipv4-x86_64</name> + <bridge name='testipxe4' stp='on' delay='0'/> + <ip address='192.168.44.1' netmask='255.255.255.0'> + <dhcp> + <range start='192.168.44.10' end='192.168.44.99'/> + <bootp file='undionly.kpxe'/> + </dhcp> + </ip> + <dnsmasq:options> + <dnsmasq:option value='#'/> + <dnsmasq:option value='dhcp-match=set:aa64-pxe,option:client-arch,7'/> + <dnsmasq:option value='dhcp-boot=tag:aa64-pxe,ipxe-snponly-x86_64.efi,,192.168.44.1'/> + <dnsmasq:option value='#'/> + <dnsmasq:option value='dhcp-userclass=set:ipxe,iPXE'/> + <dnsmasq:option value='dhcp-boot=tag:ipxe,tests/helloworld.ipxe,,192.168.44.1'/> + <dnsmasq:option value='#'/> + <dnsmasq:option value='enable-tftp=testipxe4'/> + <dnsmasq:option value='tftp-root=/usr/share/ipxe'/> + </dnsmasq:options> +</network> + diff --git a/network/test-ipxe-ipv6-x86_64.xml b/network/test-ipxe-ipv6-x86_64.xml new file mode 100644 index 0000000..a090134 --- /dev/null +++ b/network/test-ipxe-ipv6-x86_64.xml @@ -0,0 +1,20 @@ +<network xmlns:dnsmasq='http://libvirt.org/schemas/network/dnsmasq/1.0'> + <name>test-ipxe-ipv6-x86_64</name> + <bridge name='testipxe6' stp='on' delay='0'/> + <ip family='ipv6' address='fd00:2342::1' prefix='64'> + <dhcp> + <range start='fd00:2342::10' end='fd00:2342::ff'/> + </dhcp> + </ip> + <dnsmasq:options> + <dnsmasq:option value='#'/> + <dnsmasq:option value='dhcp-option=option6:bootfile-url,tftp://[fd00:2342::1]/ipxe-snponly-x86_64.efi'/> + <dnsmasq:option value='#'/> + <dnsmasq:option value='dhcp-userclass=set:ipxe,iPXE'/> + <dnsmasq:option value='dhcp-option=tag:ipxe,option6:bootfile-url,tftp://[fd00:2342::1]/tests/helloworld.ipxe'/> + <dnsmasq:option value='#'/> + <dnsmasq:option value='enable-tftp=testipxe6'/> + <dnsmasq:option value='tftp-root=/usr/share/ipxe'/> + </dnsmasq:options> +</network> + |