Browse code

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
(cherry picked from commit 72f530fd7aa9b2029ad141ecfe9c2d62f87f72f3)

Rafael Folco authored on 2016/02/09 22:08:38
Showing 1 changed files
... ...
@@ -300,8 +300,8 @@ function upload_image {
300 300
         *) echo "Do not know what to do with $image_fname"; false;;
301 301
     esac
302 302
 
303
-    if is_arch "ppc64"; then
304
-        img_property="--property hw_cdrom_bus=scsi"
303
+    if is_arch "ppc64le" || is_arch "ppc64" || is_arch "ppc"; then
304
+        img_property="--property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi --property hw_cdrom_bus=scsi --property os_command_line=console=hvc0"
305 305
     fi
306 306
 
307 307
     if is_arch "aarch64"; then