All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] kvm: x86: hyperv: guest->host event signaling via eventfd
@ 2017-12-12 16:07 Roman Kagan
  2017-12-12 16:07 ` [PATCH v5 1/2] kvm: x86: factor out kvm.arch.hyperv (de)init Roman Kagan
  2017-12-12 16:07 ` [PATCH v5 2/2] kvm: x86: hyperv: guest->host event signaling via eventfd Roman Kagan
  0 siblings, 2 replies; 21+ messages in thread
From: Roman Kagan @ 2017-12-12 16:07 UTC (permalink / raw)
  To: kvm, Paolo Bonzini, Radim Krčmář
  Cc: Denis V. Lunev, Konrad Rzeszutek Wilk, Vitaly Kuznetsov,
	David Hildenbrand

Make it possible for guests using Hyper-V emulation to do guest->host
notification via EVENT_SIGNAL hypercall without a user exit.

v4 -> v5:
 - fix block comment formatting

v3 -> v4:
 - switch to kvm_vcpu_read_guest and take srcu_read_lock around it
 - rework and document the interpretation of the hypercall parameter
 - merge !fast version into kvm_hvcall_signal_event for brevity

v2 -> v3:
 - expand docs on allowed values and return codes
 - fix uninitialized return
 - style fixes

v1 -> v2:
 - make data types consistent
 - get by without the recently dropped struct hv_input_signal_event
 - fix subject prefixes

Roman Kagan (2):
  kvm: x86: factor out kvm.arch.hyperv (de)init
  kvm: x86: hyperv: guest->host event signaling via eventfd

 Documentation/virtual/kvm/api.txt |  31 ++++++++++
 arch/x86/include/asm/kvm_host.h   |   2 +
 arch/x86/kvm/hyperv.h             |   4 ++
 include/uapi/linux/kvm.h          |  13 +++++
 arch/x86/kvm/hyperv.c             | 119 +++++++++++++++++++++++++++++++++++++-
 arch/x86/kvm/x86.c                |  13 ++++-
 6 files changed, 180 insertions(+), 2 deletions(-)

-- 
2.14.3

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

end of thread, other threads:[~2017-12-13 12:59 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-12 16:07 [PATCH v5 0/2] kvm: x86: hyperv: guest->host event signaling via eventfd Roman Kagan
2017-12-12 16:07 ` [PATCH v5 1/2] kvm: x86: factor out kvm.arch.hyperv (de)init Roman Kagan
2017-12-12 16:07 ` [PATCH v5 2/2] kvm: x86: hyperv: guest->host event signaling via eventfd Roman Kagan
2017-12-12 16:22   ` Paolo Bonzini
2017-12-12 16:29     ` David Hildenbrand
2017-12-12 18:18       ` Roman Kagan
2017-12-12 18:20         ` David Hildenbrand
2017-12-13  8:41           ` Roman Kagan
2017-12-13  9:35             ` David Hildenbrand
2017-12-13 10:00               ` Roman Kagan
2017-12-12 17:03     ` Roman Kagan
2017-12-13  9:51   ` David Hildenbrand
2017-12-13 11:04     ` Roman Kagan
2017-12-13 11:14       ` David Hildenbrand
2017-12-13 12:16         ` Roman Kagan
2017-12-13  9:55   ` David Hildenbrand
2017-12-13 11:44     ` Roman Kagan
2017-12-13 11:46       ` David Hildenbrand
2017-12-13 11:51         ` David Hildenbrand
2017-12-13 11:57           ` David Hildenbrand
2017-12-13 12:58             ` Roman Kagan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.