Commit Graph

1 Commits

Author SHA1 Message Date
Ryan Harper 57be9d82b9 Fix show-disk-info from breaking on devices without a bus
When fixing show-disk-info on virtio devices, a thinko when
indexing the info structure caused issues when looking at
a secondary clause in a compound statement.  Fix this by
extracting the value via a .get and checking.
- Also include a probert dump of a virtio-based cloud image
for testing with virtio devices.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-11-02 13:39:09 -06:00