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

vagrant-libvirt / vagrant-libvirt / 5324035221
79%

Build:
DEFAULT BRANCH: main
Ran 20 Jun 2023 02:50PM UTC
Jobs 6
Files 55
Run time 3s
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

pending completion
5324035221

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

70 of 81 new or added lines in 4 files covered. (86.42%)

3014 of 3857 relevant lines covered (78.14%)

989.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5324035221.1 20 Jun 2023 02:50PM UTC 0
77.95
GitHub Action Run
2 5324035221.2 20 Jun 2023 02:51PM UTC 0
77.95
GitHub Action Run
3 5324035221.3 20 Jun 2023 02:51PM UTC 0
77.95
GitHub Action Run
4 5324035221.4 20 Jun 2023 02:52PM UTC 0
77.68
GitHub Action Run
5 5324035221.5 20 Jun 2023 02:52PM UTC 0
77.95
GitHub Action Run
6 5324035221.6 20 Jun 2023 02:52PM UTC 0
77.69
GitHub Action Run
Source Files on build 5324035221
Detailed source file information is not available for this build.
  • Back to Repo
  • 889b13d6 on github
  • Prev Build on main (#4906297943)
  • Next Build on main (#5327888442)
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