tp-qemu
tp-qemu copied to clipboard
vfio_net_boot: Basic test case to test host NIC passthrough
provider: Add the hostdev module to set up host devices for testing.
- hostdev: PF/VF instance to manage host device
- hostdev.dev_setup: Wrapper to configure host devices, so test cases can use the decorator to set up the environment
- hostdev.utils: Utilities during the hostdev test life cycle
vfio_net_boot: Basic test case to test host NIC passthrough
- This set of test cases is to test host NIC passthrough in to the guest. Passthrough some NICs to vm, and then login via ssh, then ping external IP address from guest.
ID: 1403 Signed-off-by: Yihuang Yu [email protected]
Depends on:
- https://github.com/avocado-framework/avocado-vt/pull/3744
- https://github.com/avocado-framework/avocado-vt/pull/3761
(1/2) Host_RHEL.m9.u5.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.aarch64.page_4k.io-github-autotest-qemu.vfio_net_boot.ipv4.vf.one_nic.multi_vms.arm64-pci: STARTED
(1/2) Host_RHEL.m9.u5.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.aarch64.page_4k.io-github-autotest-qemu.vfio_net_boot.ipv4.vf.one_nic.multi_vms.arm64-pci: PASS (228.49 s)
(2/2) Host_RHEL.m9.u5.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.aarch64.page_64k.io-github-autotest-qemu.vfio_net_boot.ipv4.vf.one_nic.multi_vms.arm64-pci: STARTED
(2/2) Host_RHEL.m9.u5.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.aarch64.page_64k.io-github-autotest-qemu.vfio_net_boot.ipv4.vf.one_nic.multi_vms.arm64-pci: PASS (235.85 s)