[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH RFC V4 1/5] xen: Emulate with no writes
>>> On 06.08.14 at 10:42, <rcojocaru@xxxxxxxxxxxxxxx> wrote: > On 08/05/2014 06:43 PM, Jan Beulich wrote: >> it. And quite different from your case - you want the instruction to >> behave normally _except_ for the memory write as I understood so far >> (albeit it still escapes me how in the end correct behavior can result). > > The scenario in such cases is quite special: the decision to emulate > without writing is usually made for things such as rootkits, and > allowing a rogue application to go ahead with a write generally means > allowing it to do bad things - so in that case the alternative is > preferable. In which case dropping the side effects of such instructions may well be the right thing too, in which case the trivial implementations you provided would be okay, but you'd have to go further and also disallow port and MMIO reads. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |