CA-116551: Prevent xenguest from creating extra log files.
Signed-off-by: Akshay <akshay.ramani@citrix.com>
CA-137044: XAPI shall handle the WLB disconfigure error according to CA-60147,CA-93312
Signed-off-by: Zheng Chai <zheng.chai@citrix.com>
Add configurable idle timeout to stunnel

Imported from xcp-inventory.git 13735def832bff388e6d01c34645a4cef3fc73eb

Signed-off-by: Akshay <akshay.ramani@citrix.com>
Imported-by: John Else <john.else@citrix.com>
Add a configurable idle timeout to stunnel

Imported from xen-api.git 53ef46d2491bad21366ffa63cadcc59adfbca34c

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Imported-by: John Else <john.else@citrix.com>

Conflicts:
	ocaml/xapi/xapi.ml
Merge pull request #1771 from akshayramani/CA-116551

CA-116551: Remove the extra log files created by xenguest
Merge pull request #1779 from johnelse/ca-129196-xs64bit

Add a configurable idle timeout to stunnel
Merge pull request #1776 from Zhengchai/xs64bit-ring3

CA-137044: XAPI shall handle the WLB disconfigure error according to CA-60147,CA-93312
Don't filter out quotes before parsing lspci output

Instead take them into account when doing the sscanf.

Signed-off-by: John Else <john.else@citrix.com>
Rename field pci.id to pci.pci_id

Signed-off-by: John Else <john.else@citrix.com>
Decompose Xapi_pci_helpers.pci into a collection of int64/string pairs

Signed-off-by: John Else <john.else@citrix.com>
Add subsystem IDs to PCI objects

PCI objects now have four new fields:

* subsystem_vendor_id
* subsystem_vendor_name
* subsystem_device_id
* subsystem_device_name

If a device doesn't implement these IDs then the fields will be left as
empty strings in the database.

If a device implements the IDs but the IDs are not present in pci.ids,
then the names will be set to "Unknown (xxxx)" where xxxx is the
corresponding ID.

Signed-off-by: John Else <john.else@citrix.com>
Log the new pci fields after test failures

Signed-off-by: John Else <john.else@citrix.com>
Add more tests of lspci subsystem ID parsing

Signed-off-by: John Else <john.else@citrix.com>