mirror of
https://src.fedoraproject.org/rpms/virt-manager.git
synced 2025-07-16 17:14:53 +00:00
Fix CDROM media change if device is bootable (bz #1229819) Fix adding iscsi pools (bz #1231558) spec: Add LXC to default connection list (bz #1235972) Fix backtrace when reporting OS error (bz #1241902) Raise upper limits for lxc ID namespaces (bz #1244490) Fix 'copy host CPU definition' Fix displaying VM machine type when connecting to old libvirt Fix qemu:///session handling in 'Add Connection' dialog Fix default storage path for qemu:///session, it should be .local/share/...
27 lines
959 B
Diff
27 lines
959 B
Diff
From: Cole Robinson <crobinso@redhat.com>
|
|
Date: Tue, 14 Jul 2015 11:48:12 -0400
|
|
Subject: [PATCH virt-manager] tests: Add test for CPU clearing
|
|
|
|
Currently broken, fixed by the next patch
|
|
|
|
(cherry picked from commit 612123563eab40b546aac977c5556371de8aed70)
|
|
---
|
|
tests/xmlparse.py | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/tests/xmlparse.py b/tests/xmlparse.py
|
|
index d737033..f134400 100644
|
|
--- a/tests/xmlparse.py
|
|
+++ b/tests/xmlparse.py
|
|
@@ -1282,8 +1282,9 @@ class XMLParseTest(unittest.TestCase):
|
|
basename = "clear-cpu-unknown-vals"
|
|
infile = "tests/xmlparse-xml/%s-in.xml" % basename
|
|
outfile = "tests/xmlparse-xml/%s-out.xml" % basename
|
|
- guest = virtinst.Guest(conn, parsexml=file(infile).read())
|
|
+ guest = virtinst.Guest(kvmconn, parsexml=file(infile).read())
|
|
|
|
+ guest.cpu.copy_host_cpu()
|
|
guest.cpu.clear()
|
|
utils.diff_compare(guest.get_xml_config(), outfile)
|
|
|