• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vagrant-libvirt / vagrant-libvirt / 5324035221 / 4
79%
main: 79%

Build:
DEFAULT BRANCH: main
Ran 20 Jun 2023 02:56PM UTC
Files 55
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Jun 2023 02:46PM UTC coverage: 77.679% (+0.4%) from 77.258%
5324035221.4

push

github

web-flow
Handle nic model type updating during start (#1747)

Start domain added some support to update the nic model type if it
changed to avoid needing to completely destroy and recreate the domain.
Additionally support for setting the management network nic model type
was added, however the default value did not correctly reflect expected.

This updates `management_network_model_type` to default to
`nic_model_type`, which in turn defaults to `virtio`. This has now been
moved from the create network interfaces action into the config object
to allow chained resolving. This should ensure that setting
`nic_model_type` will correctly cause all networks to use the model
unless explicitly specified to use a different model.

Additionally the start domain action for updating the interfaces has
been modified to loop over all interfaces and all configured adapters in
the order they should have been added. This allows for checking whether
the model type needs to be updated based on the
`management_network_model_type` config option for the first network,
assuming the management network has been attached, and otherwise to fall
back to the default from `nic_model_type` for all other interfaces.

Finally ensure the iommu attribute is removed from the nic driver if
the model type is switched to anything other virtio to avoid issues with
attempting to enable invalid settings.

Fixes: #1743

3073 of 3956 relevant lines covered (77.68%)

128.31 hits per line

Source Files on job 5324035221.4
  • Tree
  • List 0
  • Changed 55
  • Source Changed 55
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5324035221
  • 889b13d6 on github
  • Prev Job for on main (#4906297943.2)
  • Next Job for on main (#5327888442.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc