From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Halil Pasic <pasic@linux.vnet.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>,
"Jason J . Herne" <jjherne@linux.vnet.ibm.com>,
Juan Quintela <quintela@redhat.com>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [RFC PATCH 3/3] s390x/css: add hint for devno missmatch
Date: Wed, 7 Jun 2017 13:07:02 +0100 [thread overview]
Message-ID: <20170607120452.GE2384@work-vm> (raw)
In-Reply-To: <df65c8e1-8c89-c6db-7ec4-d124860d3939@linux.vnet.ibm.com>
* Halil Pasic (pasic@linux.vnet.ibm.com) wrote:
>
>
> On 06/07/2017 01:22 PM, Dr. David Alan Gilbert wrote:
> > * Halil Pasic (pasic@linux.vnet.ibm.com) wrote:
> >> This one has to be fixed up to 's390x: vmstatify config migration for
> >> virtio-ccw' provided we want to achieve the same as 's390x/css: catch
> >> section mismatch on load' does.
> >>
> >> Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
> >> ---
> >>
> >> This is on tom of 's390x: vmstatify config migration for virtio-ccw'
> > p
> >> which ain't on top of 's390x/css: catch section mismatch on load' but on
> >> top of master. I kind of have a circular dependency here. This is why
> >> the series is RFC.
> >>
> >> Wanted to provide an usage example. Faked 'Re: ' so patchew does not
> >> try to apply this on top of current master.
> >> ---
> >> hw/s390x/css.c | 6 +++++-
> >> 1 file changed, 5 insertions(+), 1 deletion(-)
> >>
> >> diff --git a/hw/s390x/css.c b/hw/s390x/css.c
> >> index 348129e1b2..de277d6a3d 100644
> >> --- a/hw/s390x/css.c
> >> +++ b/hw/s390x/css.c
> >> @@ -134,6 +134,10 @@ static const VMStateDescription vmstate_sense_id = {
> >> static int subch_dev_post_load(void *opaque, int version_id);
> >> static void subch_dev_pre_save(void *opaque);
> >>
> >> +const char err_hint_devno[] = "Devno mismatch, tried to load wrong section!"
> >> + " Likely reason: some sequences of plug and unplug can break"
> >> + " migration for machine versions prior to 2.7 (known design flaw).";
> >> +
> >
> > That's ok, but I suggest:
> > * 'bug' rather than 'design flaw' - it sounds a bit less scary to
> > endusers.
> >
>
> I do not think it can be changed now. Christian as already sent out a pull
> request for the patch this series is re-doing with vmstate. That patch has the
> same error message. I have considered bug but decided against because
> the 'bug' can't be fixed. I think it's pretty hard to hit this with normal
> usage (and that's probably the reason why it went undetected until recently),
> so hope not too may endusers are going to get scared by developer honesty :).
No problem; it's your device anyway :-)
> > Other than that,
> >
> >
> > Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
>
> Great thanks for the review!
Dave
> Halil
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2017-06-07 12:07 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-06 16:55 [Qemu-devel] [RFC PATCH 0/3] vmstate: error hint for failed equal checks Halil Pasic
2017-06-06 16:55 ` [Qemu-devel] [RFC PATCH 1/3] " Halil Pasic
2017-06-07 9:51 ` Dr. David Alan Gilbert
2017-06-08 11:05 ` Halil Pasic
2017-06-14 13:51 ` Halil Pasic
2017-06-22 8:22 ` Dr. David Alan Gilbert
2017-06-22 13:18 ` Halil Pasic
2017-06-22 17:06 ` Dr. David Alan Gilbert
2017-06-29 19:04 ` Eric Blake
2017-06-30 14:41 ` Halil Pasic
2017-06-30 14:54 ` Eric Blake
2017-06-30 16:10 ` Halil Pasic
2017-07-03 13:52 ` Markus Armbruster
2017-07-03 16:21 ` Halil Pasic
2017-07-04 6:42 ` Markus Armbruster
2017-07-04 11:25 ` Halil Pasic
2017-06-06 16:55 ` [Qemu-devel] [RFC PATCH 2/3] vmstate: error hint for failed equal checks part 2 Halil Pasic
2017-06-07 11:07 ` Dr. David Alan Gilbert
2017-06-07 11:30 ` Halil Pasic
2017-06-07 12:01 ` Dr. David Alan Gilbert
2017-06-07 12:19 ` Halil Pasic
2017-06-07 17:10 ` Dr. David Alan Gilbert
2017-06-07 17:18 ` Halil Pasic
2017-06-07 17:21 ` Dr. David Alan Gilbert
2017-06-07 16:35 ` Juan Quintela
2017-06-07 16:56 ` Halil Pasic
2017-06-06 16:55 ` [Qemu-devel] [RFC PATCH 3/3] s390x/css: add hint for devno missmatch Halil Pasic
2017-06-07 11:22 ` Dr. David Alan Gilbert
2017-06-07 11:47 ` Halil Pasic
2017-06-07 12:07 ` Dr. David Alan Gilbert [this message]
2017-06-07 16:37 ` Juan Quintela
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=20170607120452.GE2384@work-vm \
--to=dgilbert@redhat.com \
--cc=borntraeger@de.ibm.com \
--cc=jjherne@linux.vnet.ibm.com \
--cc=pasic@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.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).