[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] e3ff9f: tests: Use real size for iov tests
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] e3ff9f: tests: Use real size for iov tests |
Date: |
Thu, 07 Sep 2017 02:44:32 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: e3ff9f0e57472e6411dc446b41789cbd9e2cf887
https://github.com/qemu/qemu/commit/e3ff9f0e57472e6411dc446b41789cbd9e2cf887
Author: Juan Quintela <address@hidden>
Date: 2017-09-05 (Tue, 05 Sep 2017)
Changed paths:
M include/qemu/iov.h
M tests/test-iov.c
Log Message:
-----------
tests: Use real size for iov tests
We were using -1 instead of the real size because the functions check
what is bigger, size in bytes or the size of the iov. Recent gcc's
barf at this.
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Tested-by: Cleber Rosa <address@hidden>
--
Remove comments about this feature.
Fix missing -1.
Commit: c18aaeb69072b74cb0a66e6638fcb14837c7cd3a
https://github.com/qemu/qemu/commit/c18aaeb69072b74cb0a66e6638fcb14837c7cd3a
Author: Juan Quintela <address@hidden>
Date: 2017-09-05 (Tue, 05 Sep 2017)
Changed paths:
M tests/vmgenid-test.c
Log Message:
-----------
tests: Make vmgenid test compile
Just make sure that nr_tables is size_t not int.
Once there, do the assert in the right place and be sure that we don't
have a division by zero.
Suggested-by: Cédric Le Goater <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
Tested-by: Cleber Rosa <address@hidden>
--
Drop the s/g_new0/g_malloc0/ change.
Avoid division by zero with assert (danp)
Commit: 8c6a76cd23979f08d8acf1de97945fb48a3a684b
https://github.com/qemu/qemu/commit/8c6a76cd23979f08d8acf1de97945fb48a3a684b
Author: Peter Maydell <address@hidden>
Date: 2017-09-07 (Thu, 07 Sep 2017)
Changed paths:
M include/qemu/iov.h
M tests/test-iov.c
M tests/vmgenid-test.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/juanquintela/tags/tests/20170906' into
staging
tests/next for 20170906
# gpg: Signature made Wed 06 Sep 2017 12:42:29 BST
# gpg: using RSA key 0xF487EF185872D723
# gpg: Good signature from "Juan Quintela <address@hidden>"
# gpg: aka "Juan Quintela <address@hidden>"
# Primary key fingerprint: 1899 FF8E DEBF 58CC EE03 4B82 F487 EF18 5872 D723
* remotes/juanquintela/tags/tests/20170906:
tests: Make vmgenid test compile
tests: Use real size for iov tests
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/20784087eb87...8c6a76cd2397
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] e3ff9f: tests: Use real size for iov tests,
GitHub <=