libvirt_xml: Change wrong parameter 'pathname' to 'path'.

The pathname is not defined here, then we will get an UnboundLocalError
when use it.

	# python virttest/libvirt_xml_unittest.p
	Eg:
	.........................E.....................
	======================================================================
	ERROR: test_no_module (__main__.testLibrarian)
	----------------------------------------------------------------------
	Traceback (most recent call last):
	  File "virttest/libvirt_xml_unittest.py", line 669, in test_no_module
	    badname)
	  File "/usr/lib64/python2.6/unittest.py", line 335, in failUnlessRaises
	    callableObj(*args, **kwargs)
	  File "/add_storage/yds/autotest/client/tests/virt/virttest/libvirt_xml/devices/librarian.py", line 24, in get
	    handler_cl = base.load_xml_module(mod_path, name, DEVICE_TYPES)
	  File "/add_storage/yds/autotest/client/tests/virt/virttest/libvirt_xml/base.py", line 228, in load_xml_module
	    % (name, pathname, str(detail)))
	UnboundLocalError: local variable 'pathname' referenced before assignment

	----------------------------------------------------------------------
	Ran 47 tests in 3.034s

	FAILED (errors=1)

This patch change the pathname to correct 'path';

After this patch applied:

	# python virttest/libvirt_xml_unittest.p
	...............................................
	----------------------------------------------------------------------
	Ran 47 tests in 0.409s

	OK

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
virt: Adapt the utils_misc_unittest to new utils_misc.

Commit f9ec296d (Update utils to support pin multiple threads to one node)
changed the utils_misc.NumaNode, then the unittest of it got a fail:

	# python virttest/utils_misc_unittest.py
	.F.F......WARNING:root:Git repo foo tag is not signed
	WARNING:root:This means we will not verify if the key was made by whomever claims to have made it (dangerous)
	...
	======================================================================
	FAIL: test_free_cpu (__main__.TestNumaNode)
	----------------------------------------------------------------------
	Traceback (most recent call last):
	  File "virttest/utils_misc_unittest.py", line 177, in test_free_cpu
	    self.assertEqual(self.numa_node.dict["0"], "1230")
	AssertionError: ['1230'] != '1230'

	======================================================================
	FAIL: test_pin_cpu (__main__.TestNumaNode)
	----------------------------------------------------------------------
	Traceback (most recent call last):
	  File "virttest/utils_misc_unittest.py", line 150, in test_pin_cpu
	    self.assertEqual(self.numa_node.dict["0"], "1230")
	AssertionError: ['1230'] != '1230'

	----------------------------------------------------------------------
	Ran 13 tests in 0.003s

	FAILED (failures=2)

This patch adapt the unittest to the new data type.

	# python virttest/utils_misc_unittest.py
	..........WARNING:root:Git repo foo tag is not signed
	WARNING:root:This means we will not verify if the key was made by whomever claims to have made it (dangerous)
	...
	----------------------------------------------------------------------
	Ran 13 tests in 0.002s

	OK

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Merge pull request #1514 from yangdongsheng/unittest

Unittest