From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Amit Shah <amit.shah@redhat.com>,
Juan Quintela <quintela@redhat.com>,
"Daniel P. Berrange" <berrange@redhat.com>,
qemu list <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PULL 0/8] migration: fixes
Date: Fri, 10 Jun 2016 14:57:21 +0100 [thread overview]
Message-ID: <20160610135720.GB2258@work-vm> (raw)
In-Reply-To: <CAFEAcA9FHCGkYPTiar1AdBrogj9E-8enWNf-zuEnxzY+HawcmA@mail.gmail.com>
* Peter Maydell (peter.maydell@linaro.org) wrote:
> On 10 June 2016 at 12:48, Amit Shah <amit.shah@redhat.com> wrote:
> >
> > The following changes since commit 0c33682d5f29b0a4ae53bdec4c8e52e4fae37b34:
> >
> > target-i386: Move user-mode exception actions out of user-exec.c (2016-06-09 15:55:02 +0100)
> >
> > are available in the git repository at:
> >
> > https://git.kernel.org/pub/scm/virt/qemu/amit/migration.git tags/migration-for-2.7-3
> >
> > for you to fetch changes up to cfac638acf903f7618b285dc3f36de348554c8ad:
> >
> > Postcopy: Check for support when setting the capability (2016-06-10 17:13:32 +0530)
> >
> > ----------------------------------------------------------------
> > Migration:
> >
> > - Fixes for TLS series
> > - Postcopy: Add stats, fix, test case
> >
> > ----------------------------------------------------------------
>
> Fails to build on OSX:
>
> CC tests/postcopy-test.o
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:177:9: error:
> use of undeclared identifier 'got_stop'
> got_stop = true;
> ^
Gah, OK, I see what's happened; it was a fix I did somewhere about v3
I think, after the round where i'd gone allaround the different versions.
I'll retest on both old Linux and mingw.
Dave
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:235:13: error:
> use of undeclared identifier 'got_stop'; did you mean 'vm_stop'?
> if (got_stop || initial_pass) {
> ^~~~~~~~
> vm_stop
> /Users/pm215/src/qemu-for-merges/include/sysemu/sysemu.h:43:5: note:
> 'vm_stop' declared here
> int vm_stop(RunState state);
> ^
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:235:13:
> warning: address of function 'vm_stop' will always evaluate to 'true'
> [-Wpointer-bool-conversion]
> if (got_stop || initial_pass) {
> ^~~~~~~~ ~~
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:235:13: note:
> prefix with the address-of operator to silence this warning
> if (got_stop || initial_pass) {
> ^
> &
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:244:39: error:
> use of undeclared identifier 'got_stop'; did you mean 'vm_stop'?
> } while (pass == initial_pass && !got_stop);
> ^~~~~~~~
> vm_stop
> /Users/pm215/src/qemu-for-merges/include/sysemu/sysemu.h:43:5: note:
> 'vm_stop' declared here
> int vm_stop(RunState state);
> ^
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:244:39:
> warning: address of function 'vm_stop' will always evaluate to 'true'
> [-Wpointer-bool-conversion]
> } while (pass == initial_pass && !got_stop);
> ~^~~~~~~~
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:244:39: note:
> prefix with the address-of operator to silence this warning
> } while (pass == initial_pass && !got_stop);
> ^
> &
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:262:33: error:
> use of undeclared identifier 'start_address'
> qtest_memread(global_qtest, start_address, &first_byte, 1);
> ^
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:265:20: error:
> use of undeclared identifier 'start_address'
> for (address = start_address + 4096; address < end_address; address += 4096)
> ^
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:265:52: error:
> use of undeclared identifier 'end_address'
> for (address = start_address + 4096; address < end_address; address += 4096)
> ^
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:307:5: error:
> use of undeclared identifier 'got_stop'
> got_stop = false;
> ^
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:380:10: error:
> use of undeclared identifier 'got_stop'; did you mean 'vm_stop'?
> if (!got_stop) {
> ^~~~~~~~
> vm_stop
> /Users/pm215/src/qemu-for-merges/include/sysemu/sysemu.h:43:5: note:
> 'vm_stop' declared here
> int vm_stop(RunState state);
> ^
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:380:10:
> warning: address of function 'vm_stop' will always evaluate to 'true'
> [-Wpointer-bool-conversion]
> if (!got_stop) {
> ~^~~~~~~~
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:380:10: note:
> prefix with the address-of operator to silence this warning
> if (!got_stop) {
> ^
> &
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:395:23: error:
> use of undeclared identifier 'start_address'
> qtest_memread(to, start_address, &dest_byte_a, 1);
> ^
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:399:27: error:
> use of undeclared identifier 'start_address'
> qtest_memread(to, start_address, &dest_byte_b, 1);
> ^
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:405:23: error:
> use of undeclared identifier 'start_address'
> qtest_memread(to, start_address, &dest_byte_c, 1);
> ^
> /Users/pm215/src/qemu-for-merges/tests/postcopy-test.c:407:23: error:
> use of undeclared identifier 'start_address'
> qtest_memread(to, start_address, &dest_byte_d, 1);
> ^
> 3 warnings and 12 errors generated.
>
>
> thanks
> -- PMM
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2016-06-10 13:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-10 11:48 [Qemu-devel] [PULL 0/8] migration: fixes Amit Shah
2016-06-10 11:48 ` [Qemu-devel] [PULL 1/8] migration: fix typos in qapi-schema from latest migration additions Amit Shah
2016-06-10 11:48 ` [Qemu-devel] [PULL 2/8] migration: rename functions to starting migrations Amit Shah
2016-06-10 11:48 ` [Qemu-devel] [PULL 3/8] Postcopy: Avoid 0 length discards Amit Shah
2016-06-10 11:48 ` [Qemu-devel] [PULL 4/8] Migration: Split out ram part of qmp_query_migrate Amit Shah
2016-06-10 11:48 ` [Qemu-devel] [PULL 5/8] Postcopy: Add stats on page requests Amit Shah
2016-06-10 11:48 ` [Qemu-devel] [PULL 6/8] test: Postcopy Amit Shah
2016-06-10 11:48 ` [Qemu-devel] [PULL 7/8] tests: fix libqtest socket timeouts Amit Shah
2016-06-10 11:48 ` [Qemu-devel] [PULL 8/8] Postcopy: Check for support when setting the capability Amit Shah
2016-06-10 13:25 ` [Qemu-devel] [PULL 0/8] migration: fixes Peter Maydell
2016-06-10 13:51 ` Peter Maydell
2016-06-10 19:09 ` Dr. David Alan Gilbert
2016-06-10 13:57 ` Dr. David Alan Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-06-16 4:43 Amit Shah
2016-06-16 11:39 ` Peter Maydell
2016-06-10 7:00 Amit Shah
2016-06-10 9:55 ` Peter Maydell
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=20160610135720.GB2258@work-vm \
--to=dgilbert@redhat.com \
--cc=amit.shah@redhat.com \
--cc=berrange@redhat.com \
--cc=peter.maydell@linaro.org \
--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).