The following patches implement a basic node device driver for the
test hypervisor driver. This is useful for unit tests in libvirt users
(particularly virtinst).
Cole Robinson (5):
nodedev: Add locking in nodeNumOfDevices
nodedev: Break out virNodeDeviceHasCap to node_conf
test: Implement node device driver.
node conf: Make parsing routines consistent with other drivers
test: Support loading node device info from file/XML
examples/xml/test/testdev.xml | 16 ++
examples/xml/test/testnode.xml | 1 +
examples/xml/test/testnodeinline.xml | 19 +++
src/conf/node_device_conf.c | 57 ++++++-
src/conf/node_device_conf.h | 11 ++
src/libvirt_private.syms | 1 +
src/node_device/node_device_driver.c | 22 +--
src/test/test_driver.c | 291 +++++++++++++++++++++++++++++++++-
8 files changed, 396 insertions(+), 22 deletions(-)
create mode 100644 examples/xml/test/testdev.xml