~ubuntu-branches/ubuntu/quantal/virtinst/quantal-proposed

« back to all changes in this revision

Viewing changes to debian/patches/0004-Fix-path-to-qemu-dm.patch

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-24 15:51:30 UTC
  • Revision ID: package-import@ubuntu.com-20120224155130-wqwm16u5chv3anxe
Tags: 0.600.1-1ubuntu2
debian/patches/0004-Fix-path-to-qemu-dm.patch: fix the path to the
qemu-dm binary. (LP: #936048)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: fix path to the qemu-dm binary
 
2
Author: Marc Deslauriers <marc.deslauriers@canonical.com>
 
3
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/virtinst/+bug/936048
 
4
 
 
5
Index: virtinst-0.600.1/virtinst/Guest.py
 
6
===================================================================
 
7
--- virtinst-0.600.1.orig/virtinst/Guest.py     2012-01-24 19:00:05.000000000 -0500
 
8
+++ virtinst-0.600.1/virtinst/Guest.py  2012-02-24 15:50:59.958518345 -0500
 
9
@@ -886,10 +886,7 @@
 
10
         if (not self.emulator and
 
11
             self.installer.is_hvm() and
 
12
             self.type == "xen"):
 
13
-            if self._get_caps().host.arch in ("x86_64"):
 
14
-                emulator = "/usr/lib64/xen/bin/qemu-dm"
 
15
-            else:
 
16
-                emulator = "/usr/lib/xen/bin/qemu-dm"
 
17
+            emulator = "/usr/lib/xen-default/bin/qemu-dm"
 
18
 
 
19
         emu_xml = ""
 
20
         if emulator is not None: