|
From: | Zhou Jie |
Subject: | Re: [Qemu-devel] [PATCH 11/12] vfio: register aer resume notification handler for aer resume |
Date: | Wed, 25 May 2016 14:23:19 +0800 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
Hi, Alex
3. Stall any access to the device until resume is signaled.The code below doesn't actually do this, mmaps are disabled, but that just means any device access will use the slow path through QEMU. That path is still fully enabled and so is config space access.I will modify the code and find other way to stall any access to the device.
I find that to stall any access to the device, I need modify the following function. 1. vfio_region_read and vfio_region_write For stalling any access to the device bar region. 2. vfio_vga_read and vfio_vga_write For stalling any access to the vga device region. 3. vfio_pci_read_config and vfio_pci_write_config For stalling any access to the device config space. What will happen if I don't stall any access to the device? Sincerely, Zhou Jie
[Prev in Thread] | Current Thread | [Next in Thread] |