Skip to content

Commit

Permalink
config(qemu): default bus for PPC64 pseries machines
Browse files Browse the repository at this point in the history
Resolves #5737
  • Loading branch information
osy committed Oct 3, 2023
1 parent 26e56a1 commit 79ed8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configuration/UTMQemuConfigurationDrive.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ struct UTMQemuConfigurationDrive: UTMConfigurationDrive {
extension UTMQemuConfigurationDrive {
static func defaultInterface(forArchitecture architecture: QEMUArchitecture, target: any QEMUTarget, imageType: QEMUDriveImageType) -> QEMUDriveInterface {
let rawTarget = target.rawValue
if rawTarget.hasPrefix("virt-") || rawTarget == "virt" {
if rawTarget.hasPrefix("virt-") || rawTarget == "virt" || rawTarget.hasPrefix("pseries") {
if imageType == .cd {
return .usb
} else {
Expand Down

0 comments on commit 79ed8c4

Please sign in to comment.