qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v1 11/14] virtio-crypto: add control queue handl


From: Michael S. Tsirkin
Subject: Re: [Qemu-devel] [PATCH v1 11/14] virtio-crypto: add control queue handler
Date: Thu, 8 Sep 2016 07:30:00 +0300

On Thu, Sep 08, 2016 at 11:42:33AM +0800, Gonglei wrote:
> +    info->cipher_alg = virtio_ldl_p(vdev, &cipher_para->algo);
> +    info->key_len = virtio_ldl_p(vdev, &cipher_para->keylen);
> +    info->direction = virtio_ldl_p(vdev, &cipher_para->op);

There is no reason to use the virtio mixed endian-ness for
modern devices. Just use little-endian everywhere.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]