All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xend: fix a regression in c/s 19791.
@ 2009-06-19  4:53 Kouya Shimura
  2009-06-19  5:03 ` Jun Koi
  2009-06-19 11:02 ` Stefano Stabellini
  0 siblings, 2 replies; 6+ messages in thread
From: Kouya Shimura @ 2009-06-19  4:53 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: message body text --]
[-- Type: text/plain, Size: 289 bytes --]

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

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>


[-- Attachment #2: image.patch --]
[-- Type: text/x-patch, Size: 660 bytes --]

diff -r dc0d1200e3f3 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py	Thu Jun 18 15:32:48 2009 +0100
+++ b/tools/python/xen/xend/image.py	Fri Jun 19 13:26:31 2009 +0900
@@ -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'

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-19 12:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-19  4:53 [PATCH] xend: fix a regression in c/s 19791 Kouya Shimura
2009-06-19  5:03 ` Jun Koi
2009-06-19  5:14   ` Kouya Shimura
2009-06-19  6:31     ` Jun Koi
2009-06-19 12:40       ` Ian Jackson
2009-06-19 11:02 ` Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.