Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > ebe084c140192657f9094e135a84202c > files > 39

libvirt-0.8.2-29.el5.src.rpm

From 26318baea314d3b4f947ff1c4bb0e669c671c808 Mon Sep 17 00:00:00 2001
Message-Id: <26318baea314d3b4f947ff1c4bb0e669c671c808.1284409900.git.jdenemar@redhat.com>
From: Jiri Denemark <jdenemar@redhat.com>
Date: Mon, 13 Sep 2010 21:58:20 +0200
Subject: [PATCH] Fix patch to disable libvirt guests on xen

---
 daemon/libvirt-guests.init.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daemon/libvirt-guests.init.in b/daemon/libvirt-guests.init.in
index ca5a638..6f73987 100644
--- a/daemon/libvirt-guests.init.in
+++ b/daemon/libvirt-guests.init.in
@@ -233,7 +233,7 @@ stop() {
     for uri in $URIS; do
         echo -n $"Running guests on $uri URI: "
 
-        if [ "x$uri" = xdefault ] && run_virsh uri 2>/dev/null | grep -q xen; then
+        if [ "x$uri" = xdefault ] && run_virsh $uri uri 2>/dev/null | grep -q xen; then
             echo $"running on Xen hypervisor, use xendomains to handle its guests"
             continue
         fi
-- 
1.7.2.2