From Fedora Project Wiki
Description
This test case checks that NIC hotplug works correctly using virt-manager
How to test
- Remove all NICs from a guest - i.e. go to the Details section for the guest in virt-manager, select the NIC and click on the Remove button
- Start the guest
- Attach an interface to the guest by clicking on Add Harware, choosing Network as the hardware type, selecting a device model and clicking Forward then Finish
- Check that the guest saw the device e.g. NetworkManager in the guest should see the device and bring it up
- Check that networking works correctly using e.g. a browser or
ping
- Detach the interface by selecting the NIC and clicking on the Remove button
- Check the guest can no longer see the interface
- Repeat with different values for
model
- e.g. virtio, e1000, rtl8139, ...
Expected Results
- All operations should complete successfully
- The attached interface should appear in the guest
- The guest should have usable network connectivity using the attached interface