This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] xend: Continue domain building even if me

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xend: Continue domain building even if memshr extensions are not
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 08 Jul 2010 02:10:56 -0700
Delivery-date: Thu, 08 Jul 2010 02:16:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1278579370 -3600
# Node ID a7a680442b738928eb963b31e22a3e428ac111a0
# Parent  92ac9536ac5abc17f414f024f3df92658cf2ee96
xend: Continue domain building even if memshr extensions are not
present in the hypervisor.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
 tools/python/xen/xend/image.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -r 92ac9536ac5a -r a7a680442b73 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Thu Jul 08 09:52:51 2010 +0100
+++ b/tools/python/xen/xend/image.py    Thu Jul 08 09:56:10 2010 +0100
@@ -830,8 +830,10 @@ class HVMImageHandler(ImageHandler):
         self.acpi = int(vmConfig['platform'].get('acpi', 0))
         self.guest_os_type = vmConfig['platform'].get('guest_os_type')
         self.memory_sharing = int(vmConfig['memory_sharing'])
-        xc.dom_set_memshr(self.vm.getDomid(), self.memory_sharing)
+        try:
+            xc.dom_set_memshr(self.vm.getDomid(), self.memory_sharing)
+        except:
+            pass
     # Return a list of cmd line args to the device models based on the
     # xm config file

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xend: Continue domain building even if memshr extensions are not, Xen patchbot-unstable <=