Eric Blake
03e0ec10b4
nodeinfo: deal with offline cpus in a node
...
Commit 80533ca forgot to think about offline cpus. When a node
cpu is offline, then its topology/ subdirectory is not present,
leading to spurious error messages leaked to the user such as:
libvir: error : cannot open /home/dummy/libvirt/tests/nodeinfodata/linux-nodeinfo-sysfs-test-6/node/node0/cpu7/topology/physical_package_id: No such file or directory
Fix that, as well as test it; the test data is gathered from a
machine with one NUMA node, hyperthreading, and with 2 of the
8 cpus offline.
* src/nodeinfo.c (virNodeParseNode): Don't parse topology of
offline cpus.
* tests/nodeinfotest.c (mymain): Run new test.
* tests/nodeinfodata/linux-nodeinfo-sysfs-test-6*: New data.
2012-07-18 17:11:42 -06:00
..
2011-07-07 17:49:21 -06:00
2012-06-04 13:06:07 -06:00
2012-03-27 09:54:49 -06:00
2012-03-09 14:36:31 +01:00
2012-05-24 11:35:02 +02:00
2011-09-05 07:03:04 -06:00
2012-03-15 12:24:56 +08:00
2010-01-19 21:13:03 +01:00
2012-05-08 16:57:37 -06:00
2012-02-01 17:02:45 -07:00
2012-01-11 13:10:21 -07:00
2012-01-11 13:10:21 -07:00
2009-12-14 14:58:23 +01:00
2012-07-18 17:11:42 -06:00
2012-05-21 06:26:34 -04:00
2012-05-21 06:26:34 -04:00
2012-06-05 15:44:40 +02:00
2012-07-11 11:19:05 +02:00
2012-05-15 17:07:34 +01:00
2012-03-07 18:24:43 -07:00
2012-05-08 16:57:37 -06:00
2012-07-18 20:08:27 +01:00
2012-07-18 20:08:27 +01:00
2012-07-18 20:08:27 +01:00
2012-07-18 20:08:27 +01:00
2012-05-08 16:57:37 -06:00
2011-11-30 10:12:30 +00:00
2012-05-08 16:57:37 -06:00
2012-04-02 09:33:54 -06:00
2012-03-07 18:24:43 -07:00
2011-05-03 08:03:39 -06:00
2010-01-15 16:28:05 +00:00
2012-06-04 13:06:07 -06:00
2012-06-04 13:06:07 -06:00
2011-04-30 19:59:52 +02:00
2012-05-08 16:57:37 -06:00
2012-04-23 10:59:51 +02:00
2012-05-08 16:57:37 -06:00
2012-03-27 15:52:25 +01:00
2010-05-20 13:50:03 -04:00
2012-03-26 14:45:22 -06:00
2011-12-01 13:49:20 -07:00
2011-04-29 10:21:20 -06:00
2011-07-29 17:17:21 +02:00
2010-01-15 16:28:05 +00:00
2012-03-26 14:45:22 -06:00
2011-06-30 18:04:02 +01:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2012-04-10 11:13:44 +01:00
2012-03-29 21:23:59 -06:00
2012-07-18 20:08:27 +01:00
2010-01-15 16:28:05 +00:00
2012-04-05 07:04:43 -04:00
2012-03-26 14:45:22 -06:00
2010-01-15 16:28:05 +00:00
2012-03-26 14:45:22 -06:00
2012-07-18 17:11:42 -06:00
2010-04-06 11:09:46 -04:00
2012-05-21 06:26:34 -04:00
2011-06-24 08:01:10 -06:00
2011-05-16 10:12:21 -06:00
2012-05-08 16:57:37 -06:00
2011-06-01 11:58:15 +02:00
2011-07-22 15:18:32 +01:00
2012-03-26 14:45:22 -06:00
2012-06-21 16:33:00 +02:00
2012-02-27 16:06:02 -07:00
2012-07-11 11:19:05 +02:00
2012-05-17 11:43:35 -06:00
2012-07-11 11:19:05 +02:00
2012-04-17 22:56:18 +08:00
2010-05-12 08:41:10 +02:00
2011-11-18 15:00:18 -07:00
2011-12-22 13:01:09 -07:00
2012-05-16 10:05:46 +01:00
2012-03-30 11:47:24 +01:00
2011-09-16 15:51:31 -06:00
2012-06-28 16:36:30 +02:00
2012-03-26 14:45:22 -06:00
2012-03-30 11:47:14 +01:00
2010-05-12 08:41:10 +02:00
2012-03-26 14:45:22 -06:00
2012-07-18 20:08:27 +01:00
2010-01-15 16:28:05 +00:00
2012-07-18 20:08:27 +01:00
2010-01-15 16:28:05 +00:00
2012-07-18 20:08:27 +01:00
2010-01-15 16:28:05 +00:00
2011-07-11 09:21:37 -06:00
2012-05-24 21:09:03 -06:00
2012-04-04 14:33:27 +01:00
2012-03-27 15:52:25 +01:00
2012-03-27 15:52:25 +01:00
2012-07-11 11:19:05 +02:00
2009-07-16 15:06:42 +02:00
2011-11-03 12:01:48 +00:00
2009-07-16 15:06:42 +02:00
2011-08-19 09:22:22 -06:00
2011-07-01 16:46:20 -06:00
2010-05-12 08:41:10 +02:00
2012-03-26 14:45:22 -06:00
2012-06-11 09:21:27 -06:00
2012-05-24 13:18:01 +01:00
2012-01-26 14:11:13 +00:00
2012-04-04 14:33:27 +01:00
2012-03-26 14:45:22 -06:00
2012-06-10 20:43:30 +02:00
2012-03-30 11:47:24 +01:00
2012-04-05 22:07:41 -06:00
2010-05-12 08:41:10 +02:00
2011-12-01 14:12:59 -07:00
2011-12-01 14:12:59 -07:00
2010-05-12 08:41:10 +02:00
2012-05-01 14:58:14 -06:00
2011-09-28 15:43:39 +08:00
2012-03-26 14:45:22 -06:00
2012-04-05 22:07:41 -06:00
2012-02-24 11:53:23 +01:00
2012-03-26 14:45:22 -06:00
2012-03-26 14:45:22 -06:00
2012-03-26 14:45:22 -06:00
2012-02-24 11:53:23 +01:00