diff options
author | Matthew Booth <mbooth@redhat.com> | 2011-10-17 15:28:47 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-10-19 16:26:42 +0100 |
commit | f1041e912b72116d66274d2f15e50ce34a9531fd (patch) | |
tree | 8b7d72acd49f65b37e9906dd3d602135d05fa8ee /python/examples/create_disk.py | |
parent | 472f02d08b077a5c1ee233d9dcef92ac9b09d4ae (diff) | |
download | libguestfs-f1041e912b72116d66274d2f15e50ce34a9531fd.tar.gz libguestfs-f1041e912b72116d66274d2f15e50ce34a9531fd.tar.xz libguestfs-f1041e912b72116d66274d2f15e50ce34a9531fd.zip |
launch: Store drive information in guestfs_h
This is a NFC on its own, but provides a place-holder for drive metadata which
can be used after launch.
Fixes by RWMJ:
- Fix the tests: this requires a new internal function 'debug-drives'
that dumps out the g->drives information so it can be checked in
two of the tests. Previously these tests used 'debug-cmdline'.
- Test file existence / use_cache_off in the add_drive_opts function,
not when launching qemu in the child process.
- Call free along error paths.
- Add comments.
Diffstat (limited to 'python/examples/create_disk.py')
0 files changed, 0 insertions, 0 deletions