On 2/27/26 4:02 AM, Michal Privoznik via Devel wrote:
Inspired by the following patch:

https://lists.libvirt.org/archives/list/[email protected]/thread/YQHQGHVWTV3JPVI46SDBSUMAHHTBNTSG/

Michal Prívozník (4):
   virpcimock: Create sriov_totalvfs file and virtfnN symlinks
   virpcimock: Create net/ subdir for devices
   virnetdevmock: Mock virNetDevSaveNetConfig() and
     virNetDevSetNetConfig()
   qemuhotplugtest: Introduce interface-hostdev test case


Reviewed-by: Laine Stump <[email protected]>

  src/util/virnetdev.h                          |  5 +-
  tests/qemuhotplugtest.c                       |  7 +-
  .../qemuhotplug-interface-hostdev.xml         |  6 ++
  ...emuhotplug-base-live+interface-hostdev.xml | 63 +++++++++++++++
  tests/virnetdevmock.c                         | 22 ++++++
  tests/virpcimock.c                            | 78 +++++++++++++++++--
  6 files changed, 171 insertions(+), 10 deletions(-)
  create mode 100644 
tests/qemuhotplugtestdevices/qemuhotplug-interface-hostdev.xml
  create mode 100644 
tests/qemuhotplugtestdomains/qemuhotplug-base-live+interface-hostdev.xml


Reply via email to