Opposite to num_to_target. It will be used in future patch.
a9c791b Add target_to_num method
tests/xmlconfig.py | 13 +++++++++++++
virtinst/devicedisk.py | 16 +++++++++++++++-
2 files changed, 28 insertions(+), 1 deletion(-)
Upstream: git.fedorahosted.org