From 70e73ed7105a666b7f0a8629315a5c5da3be04e8 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sun, 26 Jun 2011 22:17:40 +0200 Subject: [PATCH] dom0: qvm-prefs: display VM own root.img path only for non-template based VMs --- dom0/qvm-tools/qvm-prefs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qvm-tools/qvm-prefs b/dom0/qvm-tools/qvm-prefs index c190cbb0..6f22f9a4 100755 --- a/dom0/qvm-tools/qvm-prefs +++ b/dom0/qvm-tools/qvm-prefs @@ -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)