Virtio_pci in kernel ignore endian of PCI I/O space?

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

 



Hollis,

I noticed fuction virtio_blk_update_config() (qemu/hw/virtio-blk.c) in qemu
updated the virtio disk's capacity in little endian.
But virtblk_probe() (drivers/block/virtio_blk.c) in kernel read the capacity from I/O space without convertion.

Since E500 is big endian, this bring the misunderstanding between qemu and guest.

How did you make virtio_blk work on 44x?

Best Regards.
 
Yu
��.n��������+%������w��{.n�����o��^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�m


[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux