Skip to content

Commit

Permalink
switch to virtio video card
Browse files Browse the repository at this point in the history
The cirrus model caused kernel panics in guests on emulated arches.
Video cards are required to start debian stretch.
  • Loading branch information
WanzenBug committed Aug 5, 2021
1 parent 1fe221a commit d438ba5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/virter/libvirtxml.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,10 @@ func (v *Virter) vmXML(poolName string, vm VMConfig, mac string, meta *VMMeta) (
Consoles: []lx.DomainConsole{
libvirtConsole(vm),
},
// For some reason, debian stretch doesn't boot without a video card. The virtio model seems to stable
// enough, even for multi-arch scenarios.
Videos: []lx.DomainVideo{
{
Model: lx.DomainVideoModel{Type: "cirrus"},
},
{Model: lx.DomainVideoModel{Type: "virtio"}},
},
MemBalloon: &lx.DomainMemBalloon{
Model: "virtio",
Expand Down

0 comments on commit d438ba5

Please sign in to comment.