[Libguestfs] [PATCH 14/61] P2V: swap hwloc-info with hwloc-ls

Maros Zatko mzatko at redhat.com
Wed Feb 12 14:30:26 UTC 2014


---
 p2v/client/lib/virt-p2v/converter.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/p2v/client/lib/virt-p2v/converter.rb b/p2v/client/lib/virt-p2v/converter.rb
index 7cb4e33..eccc436 100644
--- a/p2v/client/lib/virt-p2v/converter.rb
+++ b/p2v/client/lib/virt-p2v/converter.rb
@@ -113,7 +113,7 @@ class Converter
         end
 
         # Get the total number of cpu threads from hwloc-info
-        hwloc = Document.new `hwloc-info --of xml`
+        hwloc = Document.new `hwloc-ls --of xml`
         @cpus = XPath.match(hwloc, "//object[@type='PU']").length
 
         # Get cpu architecture and features from the first flags entry in
-- 
1.8.3.1




More information about the Libguestfs mailing list