All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arun Sharma <arun.sharma@intel.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: George Washington Dunlap III <dunlapg@umich.edu>,
	xen-devel List <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] Fix vnc-dryrun option interaction
Date: Thu, 23 Jun 2005 13:30:05 -0700	[thread overview]
Message-ID: <42BB1BCD.8070809@intel.com> (raw)
In-Reply-To: <42BB1734.80903@intel.com>

[-- Attachment #1: Type: text/plain, Size: 414 bytes --]

Arun Sharma wrote:
> Keir Fraser wrote:
> 
>>
>> On 23 Jun 2005, at 17:57, Arun Sharma wrote:
>>
>>> Please apply this patch. It fixes two problems:
>>
>>
>>
>> The patch is missing. :-)
> 
> 
> I meant the patch George posted :)

There's a problem with that patch.

I think this patch is better. With George's patch (and my original 
patch) xm create -n shows (vnc 0), even when vnc=1 in the config file.

	-Arun

[-- Attachment #2: novnc-dryrun2.patch --]
[-- Type: text/plain, Size: 513 bytes --]

diff -r 3b939e817833 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py	Thu Jun 23 16:38:32 2005
+++ b/tools/python/xen/xm/create.py	Thu Jun 23 13:30:06 2005
@@ -545,7 +545,7 @@
     """If vnc was specified, spawn a vncviewer in listen mode
     and pass its address to the domain on the kernel command line.
     """
-    if not vals.vnc: return
+    if not vals.vnc or vals.dryrun: return
     vnc_display = choose_vnc_display()
     if not vnc_display:
         opts.warn("No free vnc display")

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

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

      reply	other threads:[~2005-06-23 20:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42BB1BCD.8070809@intel.com \
    --to=arun.sharma@intel.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=dunlapg@umich.edu \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.