All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: <xen-devel@lists.xenproject.org>,
	osstest service owner <osstest-admin@xenproject.org>
Subject: Re: [xen-unstable bisection] complete test-amd64-i386-xl-shadow
Date: Mon, 7 Sep 2020 11:20:45 +0200	[thread overview]
Message-ID: <20200907092045.GS753@Air-de-Roger> (raw)
In-Reply-To: <01e192ce-99ea-2fbd-317c-c9f4b99f6d2a@suse.com>

On Mon, Sep 07, 2020 at 10:21:36AM +0200, Jan Beulich wrote:
> On 07.09.2020 00:48, osstest service owner wrote:
> > branch xen-unstable
> > xenbranch xen-unstable
> > job test-amd64-i386-xl-shadow
> > testid guest-saverestore
> > 
> > Tree: linux git://xenbits.xen.org/linux-pvops.git
> > Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git
> > Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git
> > Tree: qemuu git://xenbits.xen.org/qemu-xen.git
> > Tree: xen git://xenbits.xen.org/xen.git
> > 
> > *** Found and reproduced problem changeset ***
> > 
> >   Bug is in tree:  xen git://xenbits.xen.org/xen.git
> >   Bug introduced:  696c273f3d9a169911308fb7e0a702a3eb6a150d
> >   Bug not present: a609b6577f7867db4be1470130b7b3c686398c4f
> >   Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/153833/
> > 
> > 
> >   commit 696c273f3d9a169911308fb7e0a702a3eb6a150d
> >   Author: Jan Beulich <jbeulich@suse.com>
> >   Date:   Fri Sep 4 11:13:01 2020 +0200
> >   
> >       x86: generalize padding field handling
> >       
> >       The original intention was to ignore padding fields, but the pattern
> >       matched only ones whose names started with an underscore. Also match
> >       fields whose names are in line with the C spec by not having a leading
> >       underscore. (Note that the leading ^ in the sed regexps was pointless
> >       and hence get dropped.)
> 
> I conclude this needs to be reverted, and there was a thinko of mine
> involved here: Avoiding translation of padding fields would be okay
> only when their values don't get checked in the native handler. We
> effectively have a not written down (afaict) rule here that _pad*
> fields get ignored (and hence don't need translation), while pad*
> fields may not be ignored and hence may need translation. I don't
> like this state, but I also can't think of a good way out of it, at
> least not just yet.

I think his stems from the fact that we don't have a rule whether
explicit padding fields in structs should be zeroed. IIRC there are
hypercalls that would check for padding fields to be 0, while others
don't.

At this point I assume we can only implement the least restrictive
one, which is to not force padding fields to be zeroed?

This would have the side effect that they cannot be later used to
introduce additional fields to the struct without signaling the
version in use.

Roger.


  reply	other threads:[~2020-09-07  9:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-06 22:48 [xen-unstable bisection] complete test-amd64-i386-xl-shadow osstest service owner
2020-09-07  7:19 ` Jan Beulich
2020-09-07  8:21 ` Jan Beulich
2020-09-07  9:20   ` Roger Pau Monné [this message]
2020-09-07  9:28     ` Jan Beulich
2021-02-23 11:12 osstest service owner
2023-01-27 20:28 osstest service owner

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=20200907092045.GS753@Air-de-Roger \
    --to=roger.pau@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=osstest-admin@xenproject.org \
    --cc=xen-devel@lists.xenproject.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 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.