[SLOF] [PATCH v1 01/27] virtio: use virtio-set-qaddr api

Alexey Kardashevskiy aik at ozlabs.ru
Thu Jan 14 16:56:20 AEDT 2016


On 01/13/2016 10:16 PM, Nikunj A Dadhania wrote:
> 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


You are removing the whole chunk in 05/27, remove it here? Or not change it 
here? Up to you.


>
>   \ 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
>


-- 
Alexey


More information about the SLOF mailing list