From: Juan Quintela <quintela@redhat.com>
To: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Cc: QEMU <qemu-devel@nongnu.org>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@gmail.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Stefan Berger" <stefanb@linux.ibm.com>,
"Richard Henderson" <rth@twiddle.net>
Subject: Re: [PATCH v2 3/3] savevm: check RAM is pagesize aligned
Date: Fri, 28 Feb 2020 10:09:23 +0100 [thread overview]
Message-ID: <87mu9384e4.fsf@secure.laptop> (raw)
In-Reply-To: <CAL1e-=h+SkEPy1VVvdNeo9T1mAT5-dA7orsj0TFtfDsTofwzFg@mail.gmail.com> (Aleksandar Markovic's message of "Thu, 27 Feb 2020 22:00:27 +0100")
Aleksandar Markovic <aleksandar.m.mail@gmail.com> wrote:
> On Thursday, February 27, 2020, Juan Quintela <quintela@redhat.com> wrote:
>
> Marc-André Lureau <marcandre.lureau@gmail.com> wrote:
> > Hi Juan
> >
> > On Wed, Jan 8, 2020 at 2:08 PM Juan Quintela <quintela@redhat.com> wrote:
> >>
> >> Marc-André Lureau <marcandre.lureau@redhat.com> wrote:
> >> n> Check the host pointer is correctly aligned, otherwise we may fail
> >> > during migration in ram_block_discard_range().
> >> >
> >> > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> >>
> >> Reviewed-by: Juan Quintela <quintela@redhat.com>
> >>
> >> queued
> >>
> >
> > Did it get lost? thanks
>
> I dropped it in the past, because it made "make check" for mips fail.
> (I put it on my ToDo list to investigate and forgot about it)
>
> Thank you for caring for mips.
>
> Do you perhaps remember what was tgevtest and environment for the failing test?
And here we are again.
I only compile on an x86 32bit host when I am going to do a pull
request.
qemu-system-mips64el: /mnt/code/qemu/full/migration/savevm.c:2923: vmstate_register_ram: Assertion `QEMU_PTR_IS_ALIGNED(qemu_ram
_get_host_addr(rb), qemu_ram_pagesize(rb))' failed.
Broken pipe
/mnt/code/qemu/full/tests/qtest/libqtest.c:175: kill_qemu() detected QEMU death from signal 6 (Aborted) (core dumped)
TEST check-qtest-aarch64: tests/qtest/qom-test
ERROR - too few tests run (expected 4, got 0)
make: *** [/mnt/code/qemu/full/tests/Makefile.include:632: check-qtest-mips64el] Error 1
make: *** Waiting for unfinished jobs....
As you can see, this is mips tcg running in a 32bit host.
$ export QTEST_QEMU_BINARY=./mips64el-softmmu/qemu-system-mips64el
$ ./tests/qtest/qom-test
/mips64el/qom/pica61: OK
/mips64el/qom/mipssim: OK
/mips64el/qom/mips: OK
/mips64el/qom/fulong2e: OK
/mips64el/qom/malta: OK
/mips64el/qom/boston: OK
/mips64el/qom/none: OK
/mips64el/qom/magnum: qemu-system-mips64el: /mnt/code/qemu/full/migration/savevm.c:2923: vmstate_register_ram: Assertion `QEMU_PTR_IS_ALIGNED(qemu_ram_get_host_addr(rb), qemu_ram_pagesize(rb))' failed.
Broken pipe
/mnt/code/qemu/full/tests/qtest/libqtest.c:175: kill_qemu() detected QEMU death from signal 6 (Aborted) (core dumped)
Aborted (core dumped)
$
Can you take a look at this?
mips64-softmmu also fails on the same place, mips[el]-softmmu passes,
but they don't use magnum.
Code is supposed to be right, I will expect that the problem is in the
magnum board, but this is qemu + mips + migration. Anything can happen.
Marc, I have to drop it again.
Later, Juan.
next prev parent reply other threads:[~2020-02-28 9:10 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-03 7:39 [PATCH v2 0/3] tpm: fix PPI RAM migration Marc-André Lureau
2020-01-03 7:39 ` [PATCH v2 1/3] misc: use QEMU_IS_ALIGNED Marc-André Lureau
2020-01-03 7:43 ` Philippe Mathieu-Daudé
2020-01-03 7:59 ` Marc-André Lureau
2020-01-03 10:21 ` Philippe Mathieu-Daudé
2020-01-03 16:36 ` Stefan Berger
2020-01-08 17:06 ` Paolo Bonzini
2020-01-08 18:55 ` Juan Quintela
2020-01-03 7:39 ` [PATCH v2 2/3] tpm-ppi: page-align PPI RAM Marc-André Lureau
2020-01-03 10:02 ` Dr. David Alan Gilbert
2020-01-03 16:38 ` Stefan Berger
2020-01-08 11:29 ` Dr. David Alan Gilbert
2020-01-08 12:49 ` Marc-André Lureau
2020-01-03 7:40 ` [PATCH v2 3/3] savevm: check RAM is pagesize aligned Marc-André Lureau
2020-01-03 7:43 ` Philippe Mathieu-Daudé
2020-01-08 12:47 ` Juan Quintela
2020-02-17 11:33 ` Marc-André Lureau
2020-02-27 18:41 ` Juan Quintela
2020-02-27 21:00 ` Aleksandar Markovic
2020-02-28 7:55 ` Juan Quintela
2020-02-28 9:09 ` Juan Quintela [this message]
2020-02-28 10:30 ` Aleksandar Markovic
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=87mu9384e4.fsf@secure.laptop \
--to=quintela@redhat.com \
--cc=aleksandar.m.mail@gmail.com \
--cc=dgilbert@redhat.com \
--cc=marcandre.lureau@gmail.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
--cc=stefanb@linux.ibm.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).