[libvirt] [PATCH] Add storage API support to test driver

Cole Robinson crobinso at redhat.com
Wed Oct 22 19:25:21 UTC 2008


The attached patch implements the storage driver routines
for the test driver. Most of the code is identical to
storage_driver.c with all the references to backends
removed. 

One caveat of this is that storage pools are hardcoded 
to a specific size when they are defined: I figure someone
could expand this to read sizes from xml at definition
time if they wanted, but for now hardcoded values is
sufficient.

I've done some decent testing with it all, so I'm pretty
confident it isn't too broken.

Thanks,
Cole
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libvirt-storage-test-driver.c
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081022/1963bc4e/attachment-0001.c>


More information about the libvir-list mailing list