Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uefi_boot_from_device: add support for network boot #4160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

XueqiangWei
Copy link
Contributor

include the following 4 cases:
uefi_boot_from_device.UEFI_PXEv4
uefi_boot_from_device.UEFI_PXEv6
uefi_boot_from_device.UEFI_HTTPv4
uefi_boot_from_device.UEFI_HTTPv6

Signed-off-by: Xueqiang Wei xuwei@redhat.com
ID: 2883

include the following 4 cases:
uefi_boot_from_device.UEFI_PXEv4
uefi_boot_from_device.UEFI_PXEv6
uefi_boot_from_device.UEFI_HTTPv4
uefi_boot_from_device.UEFI_HTTPv6

Signed-off-by: Xueqiang Wei <xuwei@redhat.com>
@XueqiangWei
Copy link
Contributor Author

Tested it with linux and window guest, all passed.

(01/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv4.with_bootindex.q35: STARTED
(01/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv4.with_bootindex.q35: PASS (64.88 s)
(02/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv4.with_specific_device.q35: STARTED
(02/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv4.with_specific_device.q35: PASS (59.40 s)
(03/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv6.with_bootindex.q35: STARTED
(03/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv6.with_bootindex.q35: PASS (44.16 s)
(04/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv6.with_specific_device.q35: STARTED
(04/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv6.with_specific_device.q35: PASS (39.06 s)
(05/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv4.with_bootindex.q35: STARTED
(05/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv4.with_bootindex.q35: PASS (108.64 s)
(06/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv4.with_specific_device.q35: STARTED
(06/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv4.with_specific_device.q35: PASS (39.30 s)
(07/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv6.with_bootindex.q35: STARTED
(07/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv6.with_bootindex.q35: PASS (193.08 s)
(08/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv6.with_specific_device.q35: STARTED
(08/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv6.with_specific_device.q35: PASS (40.54 s)
(09/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv4.with_bootindex.q35: STARTED
(09/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv4.with_bootindex.q35: PASS (54.77 s)
(10/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv4.with_specific_device.q35: STARTED
(10/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv4.with_specific_device.q35: PASS (39.13 s)
(11/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv6.with_bootindex.q35: STARTED
(11/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv6.with_bootindex.q35: PASS (62.36 s)
(12/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv6.with_specific_device.q35: STARTED
(12/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_PXEv6.with_specific_device.q35: PASS (39.35 s)
(13/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv4.with_bootindex.q35: STARTED
(13/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv4.with_bootindex.q35: PASS (98.62 s)
(14/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv4.with_specific_device.q35: STARTED
(14/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv4.with_specific_device.q35: PASS (39.65 s)
(15/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv6.with_bootindex.q35: STARTED
(15/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv6.with_bootindex.q35: PASS (183.02 s)
(16/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv6.with_specific_device.q35: STARTED
(16/16) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.uefi_boot_from_device.UEFI_HTTPv6.with_specific_device.q35: PASS (39.92 s)

@XueqiangWei
Copy link
Contributor Author

@zhencliu Could you please help review it? Many thanks.

@@ -58,6 +58,38 @@
bootindex_stg = 0
- with_specific_device:
boot_dev = "UEFI QEMU QEMU HARDDISK"
- UEFI_PXEv4:
dev_name = "UEFI PXEv4"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the dev name possibly changed?

- with_bootindex:
bootindex_nic1 = 1
- with_specific_device:
boot_dev = "UEFI PXEv4"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

boot_dev = ${dev_name} ? the same?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants