dom0: qvm-prefs: display VM own root.img path only for non-template based VMs

This commit is contained in:
Marek Marczykowski 2011-06-26 22:17:40 +02:00
parent 71cfeba203
commit 70e73ed710

View File

@ -41,7 +41,7 @@ def do_list(vm):
print fmt.format ("dir", vm.dir_path)
print fmt.format ("config", vm.conf_file)
print fmt.format ("pcidevs", vm.pcidevs)
if not vm.is_appvm():
if vm.template_vm is None:
print fmt.format ("root img", vm.root_img)
if vm.is_template():
print fmt.format ("root COW img", vm.rootcow_img)