]> xenbits.xensource.com Git - seabios.git/commit
virtio-mmio: read/write the hi 32 features for mmio
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>
Mon, 14 Nov 2022 03:58:17 +0000 (11:58 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 23 Nov 2022 08:28:54 +0000 (09:28 +0100)
commit5ea5c64c20e97e962c520af3f4e413d4b1b98dea
tree5c70febfc08f0fbf7b1b1f86d7b7290862f8bc70
parent61e901bbaadf63080ac6a3911bd29da1308a0751
virtio-mmio: read/write the hi 32 features for mmio

Under mmio, when we read the feature from the device, we should read the
high 32-bit part. Similarly, when writing the feature back, we should
also write back the high 32-bit feature.

Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20221114035818.109511-2-xuanzhuo@linux.alibaba.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
src/hw/virtio-pci.c