virt-manager/0004-create-Don-t-alter-caps-machine-list.patch
Cole Robinson 192ee79c50 Fix open connection->lxc
Fix issues creating ppc64 guests
Fix generating disk targets from customize->addhw
2014-02-18 17:48:30 -05:00

24 lines
812 B
Diff

From 5cfcaad802ec9ab0024297b1e94ce1058e5b629b Mon Sep 17 00:00:00 2001
From: Cole Robinson <crobinso@redhat.com>
Date: Mon, 17 Feb 2014 11:56:54 -0500
Subject: [PATCH] create: Don't alter caps machine list
(cherry picked from commit 7c516b382cbb94c2ecafb07baedae19b8d1a2b67)
---
virtManager/create.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virtManager/create.py b/virtManager/create.py
index 2af62c4..b4b1dfe 100644
--- a/virtManager/create.py
+++ b/virtManager/create.py
@@ -689,7 +689,7 @@ class vmmCreate(vmmGObjectUI):
model = lst.get_model()
model.clear()
- machines = self.capsdomain.machines
+ machines = self.capsdomain.machines[:]
if self.capsguest.arch in ["i686", "x86_64"]:
machines = []
machines.sort()