Nehal J Wani
0ab0f7e3b7
qemuhotplugtest: Fix mem-leaking testcases
...
While running qemuhotplugtest, it was found that valgrind pointed out
the following memory leak:
==7906== 5 bytes in 1 blocks are definitely lost in loss record 7 of 121
==7906== at 0x4A069EE: malloc (vg_replace_malloc.c:270)
==7906== by 0x3E782A754D: xmlStrndup (in /usr/lib64/libxml2.so.2.7.6)
==7906== by 0x4CDAE03: virDomainDeviceInfoParseXML.isra.32 (domain_conf.c:3685)
==7906== by 0x4CE3BB9: virDomainNetDefParseXML (domain_conf.c:6707)
==7906== by 0x4CFBA08: virDomainDefParseXML (domain_conf.c:12235)
==7906== by 0x4CFBC1E: virDomainDefParseNode (domain_conf.c:13039)
==7906== by 0x4CFBD95: virDomainDefParse (domain_conf.c:12981)
==7906== by 0x41FEB4: testQemuHotplug (qemuhotplugtest.c:66)
==7906== by 0x420F41: virtTestRun (testutils.c:201)
==7906== by 0x41F287: mymain (qemuhotplugtest.c:422)
==7906== by 0x4216BD: virtTestMain (testutils.c:784)
==7906== by 0x3E6CE1ED1C: (below main) (libc-start.c:226)
...and 10 more.
Problem is, since 20745748 we do both, parse <alias/> elements from
XML files and call qemuAssignDeviceAliases(). While generating runtime
info for domain at runtime is just fine in the test, we can parse just
inactive XML and remove all <alias/>-es from the XML files.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2014-03-19 14:48:58 +01:00
..
2013-10-29 07:06:04 -06:00
2014-01-28 21:27:37 +01:00
2014-02-20 15:50:46 +00:00
2014-01-29 12:56:35 +01:00
2014-01-29 12:56:35 +01:00
2014-02-12 17:52:47 +00:00
2014-01-10 10:54:14 -07:00
2013-11-07 18:43:15 +01:00
2014-02-04 12:00:26 +02:00
2013-09-17 17:47:33 -06:00
2014-02-04 12:00:26 +02:00
2013-08-28 08:05:46 +02:00
2014-02-04 12:00:26 +02:00
2013-06-26 14:10:56 -04:00
2014-01-27 11:04:02 +01:00
2014-02-19 09:16:31 +01:00
2013-09-02 14:45:38 +02:00
2014-03-19 14:48:58 +01:00
2013-11-08 09:44:36 +01:00
2014-03-19 14:48:58 +01:00
2014-02-19 09:16:31 +01:00
2013-09-02 16:53:39 -04:00
2014-02-14 16:47:14 +01:00
2014-03-07 14:02:10 +01:00
2013-08-20 10:46:58 -06:00
2014-02-19 09:16:31 +01:00
2013-05-17 08:33:22 +02:00
2013-11-25 11:03:19 -07:00
2013-11-25 11:03:19 -07:00
2013-05-17 08:35:08 +02:00
2013-08-27 12:45:58 +02:00
2013-11-25 12:46:19 -07:00
2013-11-25 12:46:19 -07:00
2014-01-01 16:34:13 +00:00
2013-11-28 11:49:01 +00:00
2014-01-25 12:53:11 +01:00
2014-01-30 16:34:43 +01:00
2014-03-03 14:35:22 +01:00
2013-09-30 16:58:37 -05:00
2014-02-19 09:16:31 +01:00
2014-02-19 09:16:31 +01:00
2013-10-15 11:39:02 +01:00
2013-08-01 17:04:28 -04:00
2013-07-11 14:18:11 -04:00
2014-03-18 11:29:44 +01:00
2013-08-22 11:38:36 +02:00
2014-01-28 21:27:37 +01:00
2014-03-18 14:29:22 +00:00
2013-10-09 17:44:45 +02:00
2014-03-18 11:29:44 +01:00
2013-10-08 12:39:30 +01:00
2014-03-18 14:29:22 +00:00
2013-10-08 12:39:30 +01:00
2014-03-18 14:29:22 +00:00
2014-03-18 11:29:44 +01:00
2013-11-20 12:35:44 +01:00
2014-03-18 14:29:22 +00:00
2014-02-12 17:52:47 +00:00
2014-03-18 11:29:44 +01:00
2014-03-19 14:43:08 +01:00
2013-10-08 12:39:30 +01:00
2014-03-18 11:29:44 +01:00
2014-03-18 11:29:44 +01:00
2013-10-08 12:39:30 +01:00
2014-03-18 11:29:44 +01:00
2014-03-18 11:29:44 +01:00
2014-03-18 11:29:44 +01:00
2014-01-14 14:49:07 +01:00
2014-03-18 10:20:49 +01:00
2013-10-08 12:39:30 +01:00
2014-02-27 18:10:13 -07:00
2014-03-18 11:29:44 +01:00
2013-12-18 07:05:29 -07:00
2014-02-19 09:16:31 +01:00
2014-03-19 14:48:58 +01:00
2014-01-20 14:35:08 +01:00
2013-10-08 12:39:30 +01:00
2014-03-18 14:29:22 +00:00
2013-10-01 10:48:47 +02:00
2014-02-06 15:15:10 +01:00
2014-03-18 11:29:44 +01:00
2014-03-18 11:29:44 +01:00
2014-03-18 11:29:44 +01:00
2014-03-03 12:40:32 -07:00
2013-08-23 15:23:44 -06:00
2014-02-14 16:47:14 +01:00
2014-02-14 16:47:14 +01:00
2014-03-10 10:20:30 +01:00
2014-03-18 14:29:22 +00:00
2014-03-18 14:29:22 +00:00
2014-03-18 11:29:44 +01:00
2013-05-21 09:22:21 -04:00
2013-07-29 13:09:39 -06:00
2014-03-18 14:29:22 +00:00
2013-07-29 13:09:39 -06:00
2014-03-18 11:29:44 +01:00
2013-05-17 08:33:22 +02:00
2014-03-18 11:29:44 +01:00
2013-05-17 08:35:08 +02:00
2014-03-18 11:29:44 +01:00
2014-03-18 11:29:44 +01:00
2014-01-01 16:34:13 +00:00
2013-07-10 11:07:31 +02:00
2013-09-13 10:25:56 +02:00
2014-03-18 14:29:22 +00:00
2014-03-10 14:26:04 +01:00
2014-03-18 12:17:12 +01:00
2014-01-30 15:48:28 +08:00
2013-05-31 11:35:34 -06:00
2014-03-18 12:17:12 +01:00
2013-10-08 12:39:30 +01:00
2013-11-20 09:14:55 -07:00
2014-03-18 14:29:22 +00:00
2013-10-08 12:39:30 +01:00
2014-03-18 11:29:44 +01:00
2014-02-12 14:41:47 +01:00
2014-02-20 16:20:10 +01:00
2014-03-18 14:29:22 +00:00
2014-03-10 16:39:18 +00:00
2014-03-18 14:29:22 +00:00
2014-03-18 14:29:22 +00:00
2013-10-08 12:39:30 +01:00
2013-11-28 11:49:01 +00:00
2014-03-18 14:29:22 +00:00
2014-03-18 14:29:22 +00:00
2014-03-18 14:29:22 +00:00
2014-03-18 14:29:22 +00:00
2014-03-18 14:29:22 +00:00
2014-03-19 10:47:58 +00:00
2014-03-18 14:29:22 +00:00
2013-10-14 10:31:01 +01:00
2014-03-19 10:47:58 +00:00
2014-03-18 14:29:22 +00:00
2013-09-24 09:37:26 +01:00
2013-10-08 12:39:30 +01:00
2014-03-18 14:29:22 +00:00
2014-03-18 14:29:22 +00:00
2014-03-18 14:29:22 +00:00
2013-08-09 11:54:41 +01:00
2014-03-18 14:29:22 +00:00
2014-01-25 12:53:11 +01:00
2014-03-18 11:29:44 +01:00
2014-03-18 14:29:22 +00:00
2014-03-04 12:24:13 +00:00
2013-08-12 18:47:56 +02:00
2014-03-18 08:27:29 +01:00
2013-09-13 10:25:56 +02:00
2014-03-18 11:29:44 +01:00
2014-03-18 14:29:22 +00:00
2014-03-18 14:29:22 +00:00
2014-03-04 09:14:52 +01:00
2014-03-18 14:29:22 +00:00
2014-03-18 14:29:22 +00:00
2014-03-18 14:29:22 +00:00
2014-03-03 14:35:22 +01:00
2014-03-03 14:35:22 +01:00
2013-10-08 12:39:30 +01:00
2014-01-20 09:47:43 -07:00
2014-03-18 11:29:44 +01:00
2014-03-18 11:29:44 +01:00
2014-03-18 12:17:12 +01:00
2014-01-10 20:32:48 +00:00