qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Dominik Csapak <d.csapak@proxmox.com>,
	Markus Armbruster <armbru@redhat.com>
Cc: kwolf@redhat.com, pbonzini@redhat.com, qemu-devel@nongnu.org,
	Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>,
	mreitz@redhat.com
Subject: Re: [Qemu-devel] [PATCH 2/3] qapi: split host-qmp into quit and system-reset
Date: Fri, 30 Nov 2018 07:55:19 -0600	[thread overview]
Message-ID: <429e5696-53e2-bc32-85bf-b70c4c62f0f6@redhat.com> (raw)
In-Reply-To: <c38bb4f9-54cf-9348-a607-b8f0e9506904@proxmox.com>

On 11/30/18 7:20 AM, Dominik Csapak wrote:
> On 11/30/18 10:41 AM, Markus Armbruster wrote:
>> Cc: Pavel to assess possible impact on replay.
>>
>> Cc: Eric to give him a chance to correct misunderstandings of
>> ShutdownCause.

I still need to look more closely at the series, but in answer to your 
question,


> 
> yeah switching 2 and 3 makes sense, i guess i did it this way so that
> i only have to touch the iotests one time
> 
> should i fix the iotests in both 2 and 3 when i switch them ?
> (with 2 the reason gets added there, and 3 changes the reason)
> or should i send an extra patch (4/4) that fixes only the iotests?
> or only change them in 3/3 ?

Ideally, iotests should pass after each commit (reduces chance of 
confusion down the road when a 'git bisect' is trying to pinpoint a 
cause of some other iotest failure).  iotests are a bit fuzzier than 
'make check' in terms of how long things are allowed to be checked in 
with known failures (in part because iotests has so many different ways 
to be run, and not all configurations are run all the times, so many 
corner-case configurations end up broken over long stretches of commits 
without realizing it), so that at least gives you some flexibility. But 
if you KNOW the test is broken, and reordering the patches or tweaking 
the tests to pass is easy, then you might as well do it.

Churn in the tests as output changes is not too bad - especially if it 
shows that the patch is accomplishing its stated purpose of making the 
expected output nicer.  So having the test fixed in 2 to show the reason 
and again in 3 to show a change in the reason makes sense for a patch 
series.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

  reply	other threads:[~2018-11-30 13:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-31 11:52 [Qemu-devel] [PATCH 0/3] qapi: return ShutdownCause for events Dominik Csapak
2018-10-31 11:52 ` [Qemu-devel] [PATCH 1/3] qapi: move ShutdownCause to qapi/run-state.json Dominik Csapak
2018-11-30  9:00   ` Markus Armbruster
2018-11-30  9:15     ` Markus Armbruster
2018-10-31 11:52 ` [Qemu-devel] [PATCH 2/3] qapi: split host-qmp into quit and system-reset Dominik Csapak
2018-11-30  9:41   ` Markus Armbruster
2018-11-30 13:20     ` Dominik Csapak
2018-11-30 13:55       ` Eric Blake [this message]
2018-10-31 11:52 ` [Qemu-devel] [PATCH 3/3] qapi: add reason to SHUTDOWN and RESET events Dominik Csapak
2018-11-30  9:43   ` Markus Armbruster
2018-11-19 13:45 ` [Qemu-devel] [PATCH 0/3] qapi: return ShutdownCause for events Dominik Csapak

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=429e5696-53e2-bc32-85bf-b70c4c62f0f6@redhat.com \
    --to=eblake@redhat.com \
    --cc=Pavel.Dovgaluk@ispras.ru \
    --cc=armbru@redhat.com \
    --cc=d.csapak@proxmox.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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).