hw/vfio: Access MemoryRegion with MemOp
authorTony Nguyen <tony.nguyen@bt.com>
Fri, 23 Aug 2019 18:36:45 +0000 (04:36 +1000)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 3 Sep 2019 15:30:38 +0000 (08:30 -0700)
commit475fbf0a3c006b4aa96f423666e285d295e51e38
tree11ef948ea62162ff828df089e73fd0407318e5a3
parent062c08d1fb52e7751f2afd8141de23d1a488d5fa
hw/vfio: Access MemoryRegion with MemOp

The memory_region_dispatch_{read|write} operand "unsigned size" is
being converted into a "MemOp op".

Convert interfaces by using no-op size_memop.

After all interfaces are converted, size_memop will be implemented
and the memory_region_dispatch_{read|write} operand "unsigned size"
will be converted into a "MemOp op".

As size_memop is a no-op, this patch does not change any behaviour.

Signed-off-by: Tony Nguyen <tony.nguyen@bt.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <e70ff5814ac3656974180db6375397c43b0bc8b8.1566466906.git.tony.nguyen@bt.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/vfio/pci-quirks.c