Re: [PATCH v5 2/3] hw/vfio: drop guest writes to ro regions

2020-04-30 Thread Yan Zhao
On Thu, Apr 30, 2020 at 03:02:36PM +0800, Philippe Mathieu-Daudé wrote: > On 4/30/20 7:23 AM, Yan Zhao wrote: > > for vfio regions that are without write permission, > > drop guest writes to those regions. > > > > Cc: Philippe Mathieu-Daudé > > Reviewed-by: Philippe Mathieu-Daudé > > The full d

Re: [PATCH v5 2/3] hw/vfio: drop guest writes to ro regions

2020-04-30 Thread Philippe Mathieu-Daudé
On 4/30/20 7:23 AM, Yan Zhao wrote: for vfio regions that are without write permission, drop guest writes to those regions. Cc: Philippe Mathieu-Daudé Reviewed-by: Philippe Mathieu-Daudé The full domain name is redhat.com. Signed-off-by: Yan Zhao Signed-off-by: Xin Zeng --- hw/vfio/com

[PATCH v5 2/3] hw/vfio: drop guest writes to ro regions

2020-04-29 Thread Yan Zhao
for vfio regions that are without write permission, drop guest writes to those regions. Cc: Philippe Mathieu-Daudé Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Yan Zhao Signed-off-by: Xin Zeng --- hw/vfio/common.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) dif