xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Introspection optimization helpers
@ 2015-09-15  9:19 Razvan Cojocaru
  2015-09-15  9:19 ` [PATCH 1/2] xen, libxc: Introduced XEN_DOMCTL_emulate_each_rep Razvan Cojocaru
  2015-09-15  9:19 ` [PATCH 2/2] xen: Introduce VM_EVENT_FLAG_SET_EIP Razvan Cojocaru
  0 siblings, 2 replies; 15+ messages in thread
From: Razvan Cojocaru @ 2015-09-15  9:19 UTC (permalink / raw)
  To: xen-devel
  Cc: tamas, keir, ian.campbell, stefano.stabellini, george.dunlap,
	andrew.cooper3, ian.jackson, jbeulich, wei.liu2

Hello,

This series adds two minor patches. The first one allows finer-grained
control over the emulation behaviour of REP instructions. Previously,
once vm_event-based emulation was enabled, no optimizations were allowed.
However, this has a performance impact on the monitored guest, so I've
added a new libxc function to enable / disable this at will at any point.

The second patch addresses an older issue: in my initial series a few
years back, there was a (longish) patch that computed the length of the
current instruction, and advanced the instruction pointer past it if
it was required by the vm_event reply. However, integrating that code
has not been trivial, and so the second patch in this series simply
allows a vm_event reply to say that the instruction pointer should be
set to whatever value it sends back to the hypervisor. This way, the
computation of the instruction length is left to the userspace
application.

[PATCH 1/2] xen, libxc: Introduced XEN_DOMCTL_emulate_each_rep
[PATCH 2/2] xen: Introduce VM_EVENT_FLAG_SET_EIP


Thanks,
Razvan

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-09-21  9:05 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-15  9:19 [PATCH 0/2] Introspection optimization helpers Razvan Cojocaru
2015-09-15  9:19 ` [PATCH 1/2] xen, libxc: Introduced XEN_DOMCTL_emulate_each_rep Razvan Cojocaru
2015-09-15  9:51   ` Ian Campbell
2015-09-15 15:36   ` Julien Grall
2015-09-15 15:46     ` Razvan Cojocaru
2015-09-17 12:59   ` Andrew Cooper
2015-09-17 13:20     ` Razvan Cojocaru
2015-09-17 13:37       ` Andrew Cooper
2015-09-17 13:45         ` Razvan Cojocaru
2015-09-15  9:19 ` [PATCH 2/2] xen: Introduce VM_EVENT_FLAG_SET_EIP Razvan Cojocaru
2015-09-16 15:57   ` Tamas K Lengyel
2015-09-16 16:12     ` Razvan Cojocaru
2015-09-18 19:19       ` Tamas K Lengyel
2015-09-21  8:53         ` Jan Beulich
2015-09-21  9:05           ` Razvan Cojocaru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).