qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: Roman Kagan <rkagan@virtuozzo.com>
Cc: qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
	Eduardo Habkost <ehabkost@redhat.com>,
	"Denis V . Lunev" <den@openvz.org>,
	Evgeny Yakovlev <eyakovlev@virtuozzo.com>
Subject: Re: [Qemu-devel] [PATCH v2 00/23] hyperv fixes and enhancements
Date: Thu, 29 Jun 2017 17:20:30 +0200	[thread overview]
Message-ID: <20170629172030.224712ad@nial.brq.redhat.com> (raw)
In-Reply-To: <20170621162424.10462-1-rkagan@virtuozzo.com>

On Wed, 21 Jun 2017 19:24:01 +0300
Roman Kagan <rkagan@virtuozzo.com> wrote:

> This series applies miscellaneous fixes and enhancements to Hyper-V
> emulation code in QEMU, and lays out the ground for VMBus devices.

Series is a big random mix of cleanup/refactoring/new features
which is hard to review due to mixed content of above
within patches as well inter them.

I suggest to split series in at least in 2
 1: make cleanups/refactoring first
and on top of this
 2: add new features

* hyperv_find_vcpu() with expensive lookup and related renaming
  might be not needed at all if local_apics[12/23] is used.

*pls add in cover letter a link to public git repo where
 it would be possible to pull from for testing/review.

PS:
if renaming, do it consistently.
ex:
 vcpu_id -> vp_index touches only hyperv.c
 but leaves old naming in user of kvm_hv_sint_route_create(): hyperv_testdev.c

> v1 -> v2:
>  - drop the already merged patch
>  - split and rework SINTx and SVERSION msrs init
>  - factor out hyperv vcpu init to a function
>  - rework vp_index management
>  - distinguish kvm-only (== legacy) mode for SynIC
>  - use new capabilities recently submitted to KVM
>  - add compat logic for SynIC
>  - drop workaround for KVM zeroing SynIC pages
>  - minor fixes according to comments
> 
> Evgeny Yakovlev (1):
>   hyperv: set partition-wide MSRs only on first vcpu
> 
> Roman Kagan (22):
>   hyperv: add header with protocol definitions
>   update-linux-headers: prepare for hyperv.h removal
>   hyperv: ensure SINTx msrs are reset properly
>   hyperv: make SynIC version msr constant
>   [not to commit] add new hyperv-related caps
>   hyperv: ensure VP index equal to QEMU cpu_index
>   hyperv_testdev: refactor for readability
>   hyperv: cosmetic: g_malloc -> g_new
>   hyperv: synic: only setup ack notifier if there's a callback
>   hyperv: allow passing arbitrary data to sint ack callback
>   hyperv: address HvSintRoute by X86CPU pointer
>   hyperv: make HvSintRoute reference-counted
>   hyperv: qom-ify SynIC
>   hyperv: block SynIC use in QEMU in incompatible configurations
>   hyperv: make overlay pages for SynIC
>   hyperv: add synic message delivery
>   hyperv: add synic event flag signaling
>   hyperv: process SIGNAL_EVENT hypercall
>   hyperv: process POST_MESSAGE hypercall
>   hyperv_testdev: add SynIC message and event testmodes
>   MAINTAINERS: add myself and eyakovlev@ for hyperv*
>   hyperv: update copyright notices
> 
>  include/hw/i386/pc.h            |   5 +
>  linux-headers/linux/kvm.h       |   2 +
>  target/i386/cpu.h               |  16 +-
>  target/i386/hyperv.h            |  40 ++-
>  target/i386/hyperv_proto.h      | 257 ++++++++++++++++
>  hw/misc/hyperv_testdev.c        | 267 +++++++++++++----
>  target/i386/cpu.c               |   4 +-
>  target/i386/hyperv.c            | 634 ++++++++++++++++++++++++++++++++++++++--
>  target/i386/kvm.c               | 167 +++++++----
>  target/i386/machine.c           |  24 +-
>  MAINTAINERS                     |   7 +
>  scripts/update-linux-headers.sh |   4 +-
>  12 files changed, 1256 insertions(+), 171 deletions(-)
>  create mode 100644 target/i386/hyperv_proto.h
> 

  parent reply	other threads:[~2017-06-29 15:21 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-21 16:24 [Qemu-devel] [PATCH v2 00/23] hyperv fixes and enhancements Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 01/23] hyperv: add header with protocol definitions Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 02/23] update-linux-headers: prepare for hyperv.h removal Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 03/23] hyperv: set partition-wide MSRs only on first vcpu Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 04/23] hyperv: ensure SINTx msrs are reset properly Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 05/23] hyperv: make SynIC version msr constant Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 06/23] [not to commit] add new hyperv-related caps Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 07/23] hyperv: ensure VP index equal to QEMU cpu_index Roman Kagan
2017-06-28 14:47   ` Igor Mammedov
2017-06-29  9:53     ` Roman Kagan
2017-06-29 11:53       ` Igor Mammedov
2017-06-29 13:10         ` Roman Kagan
2017-06-29 14:39           ` Igor Mammedov
2017-06-29 17:31             ` Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 08/23] hyperv_testdev: refactor for readability Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 09/23] hyperv: cosmetic: g_malloc -> g_new Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 10/23] hyperv: synic: only setup ack notifier if there's a callback Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 11/23] hyperv: allow passing arbitrary data to sint ack callback Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 12/23] hyperv: address HvSintRoute by X86CPU pointer Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 13/23] hyperv: make HvSintRoute reference-counted Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 14/23] hyperv: qom-ify SynIC Roman Kagan
2017-06-29 15:05   ` Igor Mammedov
2017-06-29 17:51     ` Roman Kagan
2017-07-07 12:22       ` Igor Mammedov
2017-07-07 12:47         ` Roman Kagan
2017-07-07 13:27           ` Igor Mammedov
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 15/23] hyperv: block SynIC use in QEMU in incompatible configurations Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 16/23] hyperv: make overlay pages for SynIC Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 18/23] hyperv: add synic event flag signaling Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 19/23] hyperv: process SIGNAL_EVENT hypercall Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 20/23] hyperv: process POST_MESSAGE hypercall Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 21/23] hyperv_testdev: add SynIC message and event testmodes Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 22/23] MAINTAINERS: add myself and eyakovlev@ for hyperv* Roman Kagan
2017-06-21 16:24 ` [Qemu-devel] [PATCH v2 23/23] hyperv: update copyright notices Roman Kagan
2017-06-29 15:20 ` Igor Mammedov [this message]
2017-06-29 17:58   ` [Qemu-devel] [PATCH v2 00/23] hyperv fixes and enhancements Roman Kagan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170629172030.224712ad@nial.brq.redhat.com \
    --to=imammedo@redhat.com \
    --cc=den@openvz.org \
    --cc=ehabkost@redhat.com \
    --cc=eyakovlev@virtuozzo.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rkagan@virtuozzo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).