On Tue, Jan 26, 2016 at 1:17 PM, vladislav.vovchenko@sk.com vladislav.vovchenko@sk.com wrote:
I wanna try to add NVMe support for SeaBIOS. But I have a problem: all addresses passed to NVMe ctrl (for example: queue addresses in ACQ and ASQ registers) are treated by controller as IO (not RAM).
Qemu 2.5.0: file exec.c: address_space_rw(): function memory_access_is_direct() returns false, but should be true. Am I missing smth, or it’s special behaviour of SeaBios?
I don't understand your question. QEMU emulates the NVMe controller so the hardware registers are not guest RAM. memory_region_is_ram() should be false.
Can you explain what you are trying to do or post code?
Stefan