[SLOF] [PATCH v1 01/27] virtio: use virtio-set-qaddr api
Nikunj A Dadhania
nikunj at linux.vnet.ibm.com
Wed Jan 13 22:16:48 AEDT 2016
Signed-off-by: Nikunj A Dadhania <nikunj at linux.vnet.ibm.com>
---
board-qemu/slof/pci-device_1af4_1001.fs | 8 ++++----
board-qemu/slof/pci-device_1af4_1009.fs | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/board-qemu/slof/pci-device_1af4_1001.fs b/board-qemu/slof/pci-device_1af4_1001.fs
index fb24634..4591ccb 100644
--- a/board-qemu/slof/pci-device_1af4_1001.fs
+++ b/board-qemu/slof/pci-device_1af4_1001.fs
@@ -22,13 +22,13 @@ pci-io-enable
s" virtio-block.fs" included
+0 VALUE queue-addr
+
\ Allocate memory for virtio queue:
virtiodev 0 virtio-get-qsize virtio-vring-size
-1000 CLAIM VALUE queue-addr
+alloc-mem to queue-addr
\ Write queue address into device:
-queue-addr c rshift
-virtiodev vd>base @ 8 +
-rl!-le
+virtiodev 0 queue-addr virtio-set-qaddr
pci-device-disable
diff --git a/board-qemu/slof/pci-device_1af4_1009.fs b/board-qemu/slof/pci-device_1af4_1009.fs
index 03964a6..01fbf53 100644
--- a/board-qemu/slof/pci-device_1af4_1009.fs
+++ b/board-qemu/slof/pci-device_1af4_1009.fs
@@ -22,13 +22,13 @@ pci-io-enable
s" virtio-fs.fs" included
+0 VALUE queue-addr
+
\ Allocate memory for virtio queue:
virtiodev 0 virtio-get-qsize virtio-vring-size
-1000 CLAIM VALUE queue-addr
+alloc-mem to queue-addr
\ Write queue address into device:
-queue-addr c rshift
-virtiodev vd>base @ 8 +
-rl!-le
+virtiodev 0 queue-addr virtio-set-qaddr
pci-device-disable
--
2.5.0
More information about the SLOF
mailing list