Skip to contentSkip to conversation

xend: fix a regression in c/s 19791.

PATCH In review Kouya Shimura 4 participants 6 messages Jun 19, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xend: fix a regression in c/s 19791.

Using changeset 19791:c0d2838fc10f, I can't create an HVM. xend.log shows:

File "usr/lib64/python2.4/site-packages/xen/xend/image.py", line 759, in configure

    store_dmargs.remove('-sdl')

ValueError: list.remove(x): x not in list

tools/python/xen/xend/image.py +2 -3
diff -r dc0d1200e3f3 tools/python/xen/xend/image.py
@@ -755,9 +755,8 @@ class HVMImageHandler(ImageHandler):
         if not self.display :
             self.display = ''
 
-        store_dmargs = self.dmargs[:]
-        store_dmargs.remove('-sdl')
-        store_dmargs.remove('-disable-opengl')
+        store_dmargs = [ x for x in self.dmargs
+                         if x not in ['-sdl', '-disable-opengl'] ]
         try :
             midx = store_dmargs.index('-monitor')
             store_dmargs[midx + 1] = 'pty'

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 2 lines · Kouya Shimura

I'm using the staging tree.
http://xenbits.xensource.com/staging/xen-unstable.hg

I see.

But anyway, is it less confused to name it xen-stage.hg, rather than xen-unstable.hg?

Thanks,
J

Quoted 18 lines

-- Kouya

Quoted 13 lines · Jun Koi
Quoted 2 lines · Kouya Shimura

Using changeset 19791:c0d2838fc10f, I can't create an HVM. xend.log shows:

Which is your xen tree??

My current, and latest unstable CS is still 19745.

http://xenbits.xensource.com/xen-unstable.hg

Thanks,
J

#4 lore raw

Jun Koi writes ("Re: [Xen-devel] [PATCH] xend: fix a regression in c/s 19791."):

Quoted 8 lines · Kouya Shimura
Quoted 2 lines

I'm using the staging tree.
http://xenbits.xensource.com/staging/xen-unstable.hg

I see.

But anyway, is it less confused to name it xen-stage.hg, rather than xen-unstable.hg?

There are staging trees for each branch, so xen-3.4-testing.hg has one too, for example. The full name of this tree is `Xen unstable staging'.

Ian.