diff options
| author | Kei Masumoto <masumotok@nttdata.co.jp> | 2011-06-20 08:32:34 +0900 |
|---|---|---|
| committer | Kei Masumoto <masumotok@nttdata.co.jp> | 2011-06-20 08:32:34 +0900 |
| commit | b03b3145a18f8f4717fdc55ab50dc714516d2c54 (patch) | |
| tree | 9dd6039b4e7fdb073dd41b81e1e5fb246da86e81 | |
| parent | 48621804e7c0158c850b2b6cef09509aa4b57037 (diff) | |
fix comments at nova.virt.libvirt.connection
| -rw-r--r-- | nova/virt/libvirt/connection.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nova/virt/libvirt/connection.py b/nova/virt/libvirt/connection.py index 313b19194..8fe8148d5 100644 --- a/nova/virt/libvirt/connection.py +++ b/nova/virt/libvirt/connection.py @@ -1617,9 +1617,10 @@ class LibvirtConnection(driver.ComputeDriver): locals()) continue - # xml is generated by kvm, so format is slightly different - # from libvirt.xml that nova generated. - #disk_type = driver_nodes[cnt].get_properties().getContent() + # In case of libvirt.xml, disk type can be obtained + # by the below statement. + # -> disk_type = driver_nodes[cnt].get_properties().getContent() + # but this xml is generated by kvm, format is slightly different. disk_type = \ driver_nodes[cnt].get_properties().get_next().getContent() if disk_type == 'raw': |
