[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2/3] x86/HVM: support (emulate) UMIP



On 06/12/16 14:55, Jan Beulich wrote:
>>>> On 06.12.16 at 15:47, <andrew.cooper3@xxxxxxxxxx> wrote:
>> On 06/12/16 11:44, Jan Beulich wrote:
>>> This once again points out that handle_mmio() is rather badly named, as
>>> it's about more than just MMIO. Since we have hvm_emulate_one()
>>> already, I am, however, lacking an idea for a good alternative name.
>> As am I.  A number of its current uses are not for MMIO at all, and
>> would ideally go with some further restriction of emulated instruction.
> Actually meanwhile I think I have a plan here, which could go
> together with renaming the function: To efficiently make use of
> the new .validate() hook the emulator obtains with the PV priv-op
> patch, I'd like to have callers of handle_mmio() pass in their hook
> function (and I think we should not make this optional).

I haven't got that far in the PV series yet, but this plan sounds good
to me.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.