Skip to contentSkip to conversation

qemu-arm: Enable VirtIO distro target

PATCH Superseded Sumit Garg 3 participants 4 messages Nov 13, 2018 – Dec 13, 2018

lore
Share & tools
lore

Sumit Garg

author
#0 lore raw

PATCH v2 1/1 qemu-arm: Enable VirtIO distro target

With -device virtio-blk-device,drive=hd0, it could detect distro boot target.

---

Changes in v2:
Change boot order to SCSI; VIRTIO; DHCP as DHCP is quiet slow, so kept as last boot option.

Depends on https://patchwork.ozlabs.org/patch/995524/ which adds VirtIO distro boot command.

 include/configs/qemu-arm.h | 1 +
 1 file changed, 1 insertion(+)
include/configs/qemu-arm.h +1 -0
index fedc466..33dcce0 100644
@@ -25,6 +25,7 @@
 
 #define BOOT_TARGET_DEVICES(func) \
 	func(SCSI, scsi, 0) \
+	func(VIRTIO, virtio, 0) \
 	func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>
Signature · 1 line
2.7.4
#1 lore raw

PATCH v2 1/1 qemu-arm: Enable VirtIO distro target

Quoted 4 lines · Sumit Garg

With -device virtio-blk-device,drive=hd0, it could detect distro boot target.

Quoted 4 lines

---

Changes in v2:
Change boot order to SCSI; VIRTIO; DHCP as DHCP is quiet slow, so kept

quite :)

Alex

Quoted 21 lines

as last boot option.

Depends on https://patchwork.ozlabs.org/patch/995524/ which adds VirtIO distro boot command.

 include/configs/qemu-arm.h | 1 +
 1 file changed, 1 insertion(+)
include/configs/qemu-arm.h +1 -0
index fedc466..33dcce0 100644
@@ -25,6 +25,7 @@
 
 #define BOOT_TARGET_DEVICES(func) \
 	func(SCSI, scsi, 0) \
+	func(VIRTIO, virtio, 0) \
 	func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>
author
#2 lore raw

PATCH v2 1/1 qemu-arm: Enable VirtIO distro target

Hi Tom,

Quoted 13 lines · Alexander Graf
Quoted 4 lines · Sumit Garg

With -device virtio-blk-device,drive=hd0, it could detect distro boot target.

Quoted 2 lines

---

Quoted 13 lines
Quoted 2 lines

Changes in v2:
Change boot order to SCSI; VIRTIO; DHCP as DHCP is quiet slow, so kept

quite :)

Alex

Quoted 5 lines

as last boot option.

Depends on https://patchwork.ozlabs.org/patch/995524/ which adds VirtIO distro boot command.

With above dependency patch merged in upstream, I think it should be ok to merge this one too.

-Sumit

Quoted 16 lines
Quoted 16 lines
 include/configs/qemu-arm.h | 1 +
 1 file changed, 1 insertion(+)
include/configs/qemu-arm.h +1 -0
index fedc466..33dcce0 100644
@@ -25,6 +25,7 @@
 
 #define BOOT_TARGET_DEVICES(func) \
      func(SCSI, scsi, 0) \
+     func(VIRTIO, virtio, 0) \
      func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>
#3 lore raw

PATCH v2 1/1 qemu-arm: Enable VirtIO distro target

In reply to Sumit Garg
Quoted 5 lines · Sumit Garg

With -device virtio-blk-device,drive=hd0, it could detect distro boot target.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181212/4cfcff78/attachment.sig>