From: Markus Armbruster <armbru@redhat.com>
To: Dongwon Kim <dongwon.kim@intel.com>
Cc: qemu-devel@nongnu.org,
"Daniel P . Berrangé" <berrange@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Vivek Kasireddy" <vivek.kasireddy@intel.com>
Subject: Re: [PATCH v3 2/2] ui/gtk: a new array param monitor to specify the target displays
Date: Wed, 06 Jul 2022 06:21:48 +0200 [thread overview]
Message-ID: <87h73uq3ab.fsf@pond.sub.org> (raw)
In-Reply-To: <20220705210628.GB582@dongwonk-MOBL.amr.corp.intel.com> (Dongwon Kim's message of "Tue, 5 Jul 2022 14:06:29 -0700")
Dongwon Kim <dongwon.kim@intel.com> writes:
> On Thu, Jun 30, 2022 at 05:19:26PM +0200, Markus Armbruster wrote:
>> Dongwon Kim <dongwon.kim@intel.com> writes:
>>
>> > New integer array parameter, 'monitor' is for specifying the target
>> > monitors where individual GTK windows are placed upon launching.
>> >
>> > Monitor numbers in the array are associated with virtual consoles
>> > in the order of [VC0, VC1, VC2 ... VCn].
>> >
>> > Every GTK window containing each VC will be placed in the region
>> > of corresponding monitors.
>> >
>> > Usage: -display gtk,monitor.<id of VC>=<target monitor>,..
>> > ex)-display gtk,monitor.0=1,monitor.1=0
>> >
>> > v3: - Revised commit message
>> > - Rewrote desription of the new parameter (Markus Armbruster)
>> > - Replaced unnecessary 'for' loop with 'if' condition
>> > (Markus Armbruster)
>>
>> Again, patch history ...
>>
>> > Cc: Daniel P. Berrangé <berrange@redhat.com>
>> > Cc: Markus Armbruster <armbru@redhat.com>
>> > Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
>> > Cc: Paolo Bonzini <pbonzini@redhat.com>
>> > Cc: Gerd Hoffmann <kraxel@redhat.com>
>> > Cc: Vivek Kasireddy <vivek.kasireddy@intel.com>
>> > Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
>> > ---
>>
>> ... goes here.
>
> No problem moving down the version history but may I ask you if that
> is current rule? We don't want to include the history anymore in the
> git history?
Patch history is really valuable for reviewers, but once the patch is
done, it's rarely interesting anymore, so we keep it out of Git.
Sometimes, bits of history are still useful to understand why the patch
is done the way it is. Such bits should be worked into the commit
message.
Don't:
v2: A replaced by B [J. Reviewer]
Do:
I initially tried A, but it turned out to be a bad idea because X,
so I did B instead.
Makes sense?
> And FYI, the cover letter has the whole history already. I guess I can
> simply remove the history from individual patches then?
I like to keep detailed history in the cover letter.
Others like to keep it in each patch.
Still others like to keep an overview in the cover letter and details in
each patch.
All fine.
> Thanks!!
>
>>
>> > qapi/ui.json | 9 ++++++++-
>> > qemu-options.hx | 3 ++-
>> > ui/gtk.c | 31 +++++++++++++++++++++++++++++--
>> > 3 files changed, 39 insertions(+), 4 deletions(-)
>> >
>> > diff --git a/qapi/ui.json b/qapi/ui.json
>> > index 413371d5e8..7b4c098bb4 100644
>> > --- a/qapi/ui.json
>> > +++ b/qapi/ui.json
>> > @@ -1195,12 +1195,19 @@
>> > # assuming the guest will resize the display to match
>> > # the window size then. Otherwise it defaults to "off".
>> > # Since 3.1
>> > +# @monitor: Array of numbers, each of which represents physical
>> > +# monitor where GTK window containing a given VC will be
>> > +# placed. Each monitor number in the array will be
>> > +# associated with a virtual-console starting from VC0.
>>
>> Drop the hyphen in "virtual-console".
>>
>> Is the term "virtual console" obvious? Gerd?
>>
>
> I will do so.
Replace it by space, of course.
[...]
prev parent reply other threads:[~2022-07-06 4:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-30 0:51 [PATCH v3 0/2] handling guest multiple displays Dongwon Kim
2022-06-30 0:51 ` [PATCH v3 1/3] ui/gtk: detach VCs for additional guest displays Dongwon Kim
2022-06-30 15:04 ` Markus Armbruster
2022-06-30 0:51 ` [PATCH v3 2/2] ui/gtk: a new array param monitor to specify the target displays Dongwon Kim
2022-06-30 15:19 ` Markus Armbruster
2022-07-01 9:58 ` Gerd Hoffmann
2022-07-05 21:03 ` Dongwon Kim
2022-07-05 21:06 ` Dongwon Kim
2022-07-06 4:21 ` Markus Armbruster [this message]
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=87h73uq3ab.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=dongwon.kim@intel.com \
--cc=kraxel@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=vivek.kasireddy@intel.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 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.