# Re: \[PATCH 2/2\] virtio\_scsi: Implement fc\_host

- From: Paolo Bonzini \<pbonzini@redhat.com\>
- Date: 2017-01-16 16:46:03 
- List: virtualization
- Page: https://ratatoskr.run/virtualization/2017/01/4913356
- Thread: https://ratatoskr.run/linux-scsi/2017/01/4913330/t.md

```text


On 16/01/2017 17:04, Fam Zheng wrote:
> +		node_name = virtio_cread64(vdev,
> +			offsetof(struct virtio_scsi_config, primary_wwnn));
> +		port_name = virtio_cread64(vdev,
> +			offsetof(struct virtio_scsi_config, primary_wwpn));
> +	} else {
> +		node_name = virtio_cread64(vdev,
> +			offsetof(struct virtio_scsi_config, secondary_wwnn));
> +		port_name = virtio_cread64(vdev,
> +			offsetof(struct virtio_scsi_config, secondary_wwpn));

Is the endianness correct for big-endian host here?

Thanks,

Paolo
```
