WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] changeset 17265

To: keir.fraser@xxxxxxxxxx
Subject: [Xen-devel] changeset 17265
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Mon, 24 Mar 2008 11:21:50 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 24 Mar 2008 08:22:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

Keir,

  I just saw the changeset 17265. Are you sure that this is correct?

--- a/tools/python/xen/xend/XendConfig.py                 Thu Mar 20 10:48:21 2008 +0000
+++ b/tools/python/xen/xend/XendConfig.py                 Thu Mar 20 17:45:00 2008 +0000
@@ -991,7 +991,7 @@ class XendConfig(dict):
                                    dev_type, dev_cfg = self['devices'][dev_uuid]
                                    is_bootable = dev_cfg.get('bootable', 0)
                                    config.append(['bootable', int(is_bootable)])
-                                    config.append(['VDI'], dev_cfg.get('VDI', ''))
+                                    config.append(['VDI', dev_cfg.get('VDI', '')])

                                sxpr.append(['device', config])


I get a line in the VM's config file that looks like this

        (VDI  )

It's missing the UUID now.
Even though the format was different than of the 'bootable' above, I did get the correct output with it,

   Stefan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>