qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] some fix in tests/migration
@ 2019-10-04 17:32 Mao Zhongyi
  2019-10-04 17:32 ` [PATCH v4 1/3] tests/migration: mem leak fix Mao Zhongyi
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Mao Zhongyi @ 2019-10-04 17:32 UTC (permalink / raw)
  To: qemu-devel; +Cc: tony.nguyen, alex.bennee, armbru, Mao Zhongyi, laurent

This patchset mainly fixes memory leak, typo and return
value of stress function in stress test.

v4-v3:
p1:
- remove redundant g_malloc return value judgment.
                                 [Laurent Vivier]
p3:
- always use exit_failure() as the exit function of main().
                                 [Laurent Vivier] 
- update the commit message.

v3->v2:
p1: 
- replace malloc with g_malloc   [Laurent Vivier]
p3:
- change stressone type to void and stree return value
  to -1 to make the path of 'if (stress(ramsizeGB, ncpus) < 0)'
  can be reached.                [Laurent Vivier]
- update the commit message.

v2->v1:
- use g_autofree to release memory automatically instead
  of free().                     [Alex Bennée]
                      
Cc: armbru@redhat.com 
Cc: laurent@vivier.eu 
Cc: tony.nguyen@bt.com
Cc: alex.bennee@linaro.org

Mao Zhongyi (3):
  tests/migration: mem leak fix
  tests/migration: fix a typo in comment
  tests/migration:fix unreachable path in stress test

 tests/migration/stress.c | 36 ++++++++----------------------------
 1 file changed, 8 insertions(+), 28 deletions(-)

-- 
2.17.1





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-10-23  9:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-04 17:32 [PATCH v4 0/3] some fix in tests/migration Mao Zhongyi
2019-10-04 17:32 ` [PATCH v4 1/3] tests/migration: mem leak fix Mao Zhongyi
2019-10-23  9:45   ` Laurent Vivier
2019-10-04 17:32 ` [PATCH v4 2/3] tests/migration: fix a typo in comment Mao Zhongyi
2019-10-21 16:15   ` Laurent Vivier
2019-10-04 17:32 ` [PATCH v4 3/3] tests/migration:fix unreachable path in stress test Mao Zhongyi
2019-10-23  8:05   ` Laurent Vivier
2019-10-23  3:30 ` [PATCH v4 0/3] some fix in tests/migration maozy

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).