Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash if <redirdev> has no <address> #1373

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

martinpitt
Copy link
Member

Old existing domain definitions may have <redirdev> elements without any <address> child. It's impossible to actually create these with current libvirt, as virsh importing such a definition will automatically add an address -- so we can't create a test for this.

Fixes #1307

Old existing domain definitions may have `<redirdev>` elements without
any `<address>` child. It's impossible to actually create these with
current libvirt, as `virsh import`ing such a definition will
automatically add an address -- so we can't create a test for this.

Fixes cockpit-project#1307
@martinpitt
Copy link
Member Author

@carrowood : Please feel free to test this on your machine using the COPR build. Thanks!

@carrowood
Copy link

@carrowood : Please feel free to test this on your machine using the COPR build. Thanks!

That test build solved the issue. Thanks! Now I will go clean up the root problem (that VM definition).

@jelly jelly merged commit 331c757 into cockpit-project:main Jan 8, 2024
26 checks passed
@martinpitt martinpitt deleted the redirdev-no-address branch January 8, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Virtual Machine page is stuck "Loading resources"
3 participants