tag 573808 +patch
thanks

Hi Viratlyyi,
On Sun, Mar 14, 2010 at 03:44:46AM +0200, Vitaliyi wrote:
> Package: libvirt0
> Version: 0.4.6-10
> 
> I tried to use virt-install in order to install windows xp:
> virt-install -d -n windows \
> -r 512 -f /home/xen/windows/disk.img \
> -s 10 --cdrom /root/windows.iso \
> --hvm --vnc --vncport=5900 --force
> 
> and it raised an exception saying that there's no such file
> '/usr/lib/xen/boot/hvmloader'
> 
> xen_internal.c, at line 2207 contains string '/usr/lib/xen/boot/hvmloader'
> if youreplace it with '/usr/lib/xen-3.2-1/boot/hvmloader' everything works 
> well.
This was fixed in 0.5.1-1. The attached patch should fix the issue.
Could you check? If so we can fix this in the next point release.
Cheers,
 -- Guido
>From ce08070c680dc3a3deea50cca36d598636ff7aac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <a...@sigxcpu.org>
Date: Sun, 14 Mar 2010 09:59:34 +0100
Subject: [PATCH] fix path to hvmloader

Closes: #573808
---
 ...12-fix-Debian-specific-path-to-hvm-loader.patch |   23 ++++++++++++++++++++
 debian/patches/series                              |    1 +
 2 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 debian/patches/0012-fix-Debian-specific-path-to-hvm-loader.patch

diff --git a/debian/patches/0012-fix-Debian-specific-path-to-hvm-loader.patch b/debian/patches/0012-fix-Debian-specific-path-to-hvm-loader.patch
new file mode 100644
index 0000000..1504c0b
--- /dev/null
+++ b/debian/patches/0012-fix-Debian-specific-path-to-hvm-loader.patch
@@ -0,0 +1,23 @@
+From: =?UTF-8?q?Guido=20G=C3=BCnther?= <a...@sigxcpu.org>
+Date: Thu, 26 Feb 2009 14:29:58 +0100
+Subject: [PATCH] fix Debian specific path to hvm loader
+
+Closes: #517059
+---
+ src/xen_internal.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/xen_internal.c b/src/xen_internal.c
+index d80ecfb..d04fb4f 100644
+--- a/src/xen_internal.c
++++ b/src/xen_internal.c
+@@ -2204,7 +2204,7 @@ xenHypervisorBuildCapabilities(virConnectPtr conn,
+                                               "/usr/lib64/xen/bin/qemu-dm" :
+                                               "/usr/lib/xen/bin/qemu-dm"),
+                                              (guest_archs[i].hvm ?
+-                                              "/usr/lib/xen/boot/hvmloader" :
++                                              "/usr/lib/xen-default/boot/hvmloader" :
+                                               NULL),
+                                              1,
+                                              machines)) == NULL)
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index 3c173f3..3f20dfa 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
 0009-Open-qemu-monitor-log-O_APPEND-instead-of-O_TRUNC.patch
 0010-raise-error-on-invalid-volume-format.patch
 0011-Fix-missing-read-only-access-checks-CVE-2008-5086.patch
+0012-fix-Debian-specific-path-to-hvm-loader.patch
-- 
1.7.0

Reply via email to