Mismatch between xen dom0 and xen PV host

Bug #586337 reported by Guillaume Rousse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: Unified Unix Agent
Fix Released
Medium
mortheres

Bug Description

Current code in Vmsystem.pm assumes that presence of /proc/xen directory, or of 'xen' pattern in /sys/devices/system/clocksource/clocksource0/available_clocksource file denotes a xen PV host. However, those two conditions also apply to xen dom0 host.

The attached patch fixes this issue, and also avoid ugly invocation of external 'cat' command to read file content.

Revision history for this message
Guillaume Rousse (guillaume-rousse) wrote :
mortheres (mortheres)
Changed in ocsinventory-unix-agent:
importance: Undecided → Medium
assignee: nobody → mortheres (mortheres)
Revision history for this message
mortheres (mortheres) wrote :

Hi,

Thanks a lot for this patch. It have been integrated in the revision 959 of the trunk branch : http://bazaar.launchpad.net/~ocsinventory-dev/ocsinventory-unix-agent/trunk/revision/959.

Kind regards,

--
Guillaume

Changed in ocsinventory-unix-agent:
status: New → Fix Committed
Frank (frank-bourdeau)
Changed in ocsinventory-unix-agent:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.