[virt-tools-list] [virt-manager PATCH RFC 4/4] virt-manager: delete nvram file on VM deletion

Giuseppe Scrivano gscrivan at redhat.com
Thu Sep 11 16:56:29 UTC 2014


Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
---
 virtManager/delete.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/virtManager/delete.py b/virtManager/delete.py
index 1aa8180..0a7da67 100644
--- a/virtManager/delete.py
+++ b/virtManager/delete.py
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2009, 2012-2013 Red Hat, Inc.
+# Copyright (C) 2009, 2012-2014 Red Hat, Inc.
 # Copyright (C) 2009 Cole Robinson <crobinso at redhat.com>
 #
 # This program is free software; you can redistribute it and/or modify
@@ -238,6 +238,7 @@ def populate_storage_list(storage_list, vm, conn):
     diskdata.append(("kernel", vm.get_xmlobj().os.kernel, True, False))
     diskdata.append(("initrd", vm.get_xmlobj().os.initrd, True, False))
     diskdata.append(("dtb", vm.get_xmlobj().os.dtb, True, False))
+    diskdata.append(("nvram", vm.get_xmlobj().os.nvram, True, False))
 
     for target, path, ro, shared in diskdata:
         if not path:
-- 
1.9.3




More information about the virt-tools-list mailing list