Re: [Xen-devel] [PATCH v9 3/5] x86/ioreq server: Handle read-modify-write cases for p2m_ioreq_server pages.

2017-03-22 Thread Jan Beulich
>>> On 21.03.17 at 03:52, wrote: > @@ -226,6 +249,17 @@ static int hvmemul_do_io( > vio->io_req.state = STATE_IOREQ_NONE; > break; > } > + > +/* > + * This is part of a

[Xen-devel] [PATCH v9 3/5] x86/ioreq server: Handle read-modify-write cases for p2m_ioreq_server pages.

2017-03-20 Thread Yu Zhang
In ept_handle_violation(), write violations are also treated as read violations. And when a VM is accessing a write-protected address with read-modify-write instructions, the read emulation process is triggered first. For p2m_ioreq_server pages, current ioreq server only forwards the write