All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix vnc-dryrun option interaction
@ 2005-06-23 14:23 George Washington Dunlap III
  2005-06-23 15:59 ` Keir Fraser
  0 siblings, 1 reply; 6+ messages in thread
From: George Washington Dunlap III @ 2005-06-23 14:23 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 740 bytes --]

A patch that was applied yesterday tried to turn the vnc option off if 
dryrun was set.  Unfortunately, the way it was actually coded turned 
vnc ON if dryrun was not set!  I think this patch should fix it (someone 
who actually uses vnc & dryrun should test it, though).

  -George

+-------------------+----------------------------------------
| dunlapg@umich.edu | http://www-personal.umich.edu/~dunlapg 
+-------------------+----------------------------------------
|  Who could move a mountain, who could love their enemy?
|  Who could rejoice in pain, and turn the other cheek?
|	- Rich Mullins, "Surely God is With Us"
+------------------------------------------------------------
| Outlaw Junk Email! Support HR 1748 (www.cauce.org)

[-- Attachment #2: Type: TEXT/PLAIN, Size: 685 bytes --]

diff -urN --exclude=SCCS --exclude=BitKeeper xen-unstable.latest/tools/python/xen/xm/create.py xeno-ft/tools/python/xen/xm/create.py
--- xen-unstable.latest/tools/python/xen/xm/create.py	2005-06-23 08:47:36.000000000 -0400
+++ xeno-ft/tools/python/xen/xm/create.py	2005-06-23 10:14:14.000000000 -0400
@@ -618,7 +618,8 @@
         config = opts.vals.config
     else:
         opts.load_defconfig()
-        opts.vals.vnc = not opts.vals.dryrun
+	if opts.vals.dryrun:
+	    opts.vals.vnc = 0;
         preprocess(opts, opts.vals)
         if not opts.getopt('name') and opts.getopt('defconfig'):
             opts.setopt('name', os.path.basename(opts.getopt('defconfig')))

[-- 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:[~2005-06-23 20:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-23 14:23 [PATCH] Fix vnc-dryrun option interaction George Washington Dunlap III
2005-06-23 15:59 ` Keir Fraser
2005-06-23 16:57   ` Arun Sharma
2005-06-23 19:52     ` Keir Fraser
2005-06-23 20:10       ` Arun Sharma
2005-06-23 20:30         ` Arun Sharma

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.