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

Re: [Xen-devel] [PATCH v1] x86/hvm: Generic instruction re-execution mechanism for execute faults



>> About the emulator and events: if we could have a toggle for the
>> emulator to tell it "emulate the current instruction and send out a
>> vm_event only if it touches a protected page that's NOT part of the page
>> walk", that would also work - though I can't at this point tell how
>> feasible those modifications are.
> 
> For the emulation paths it is certainly possible to have controls for
> (almost) everything, if needed. So going that route continues to
> look more desirable to me than going the route you've chosen.

It does sound very reasonable, we'll look into that.

>> The bigger practical problem is having something that works with older
>> Xen versions - for example current XenServer releases are still on Xen
>> 4.7, and backporting the whole emulator machinery there is not
>> reasonable, with the large number of changes that have occured in the
>> meantime.
>
> Well - wouldn't this apply to extensive altp2m changes as well?

It does, however for one, for some reason the altp2m patches have so far
proven (for us at least) much easier to backport (and there's less of them).

However, you do make a good point, and assuming this works emulator
changes do seem to potentially solve the problem we're having in a way
that's acceptable to everyone and is architecturally correct.


Thanks,
Razvan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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