Skip to content

Commit

Permalink
Merge pull request #269 from cfergeau/console-4.14
Browse files Browse the repository at this point in the history
OCPBUGS-19926:[release-4.14] Don't force use of virtio console
  • Loading branch information
openshift-merge-robot committed Sep 29, 2023
2 parents c7180ae + 8d775d4 commit 34dfccb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/cloud/libvirt/client/domain.go
Expand Up @@ -69,8 +69,6 @@ func newDomainDef(virConn *libvirt.Connect) libvirtxml.Domain {
}

func newDevicesDef(virConn *libvirt.Connect) *libvirtxml.DomainDeviceList {
var serialPort uint

domainList := libvirtxml.DomainDeviceList{
Channels: []libvirtxml.DomainChannel{
{
Expand All @@ -94,10 +92,6 @@ func newDevicesDef(virConn *libvirt.Connect) *libvirtxml.DomainDeviceList {
Source: &libvirtxml.DomainChardevSource{
Pty: &libvirtxml.DomainChardevSourcePty{},
},
Target: &libvirtxml.DomainConsoleTarget{
Type: "virtio",
Port: &serialPort,
},
},
},
}
Expand Down

0 comments on commit 34dfccb

Please sign in to comment.