Skip to content

Commit 72f530f

Browse files
author
Rafael Folco
committed
Set default properties for Power: virtual console and scsi driver
This patch enables the virtual console for Power systems /dev/hvc0 and sets scsi bus and virtio-scsi model as default. The virtual console hvc0 enables full console including dmesg. High performance virtio-scsi driver keeps the efficient design of virtio-blk with effective SCSI passthrough. Change-Id: I0b5cd4a15d30f06fc7993555d91d6907bd1acbd7
1 parent 905a37a commit 72f530f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

functions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ function upload_image {
301301
*) echo "Do not know what to do with $image_fname"; false;;
302302
esac
303303

304-
if is_arch "ppc64"; then
305-
img_property="--property hw_cdrom_bus=scsi"
304+
if is_arch "ppc64le" || is_arch "ppc64" || is_arch "ppc"; then
305+
img_property="--property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi --property hw_cdrom_bus=scsi --property os_command_line=console=hvc0"
306306
fi
307307

308308
if is_arch "aarch64"; then

0 commit comments

Comments
 (0)