From: Markus Armbruster <armbru@redhat.com>
To: Atsushi SAKAI <sakaia@jp.fujitsu.com>
Cc: xen-devel@lists.xensource.com, Keir Fraser <keir@xensource.com>
Subject: Re: [PATCH][PVFB][LINUX] Fix possible sleep while holding spinlock
Date: Wed, 10 Jan 2007 09:50:52 +0100 [thread overview]
Message-ID: <87irffp8nn.fsf@pike.pond.sub.org> (raw)
In-Reply-To: <200612190819.kBJ8J4T9002144@fjmscan503.ms.jp.fujitsu.com> (Atsushi SAKAI's message of "Tue, 19 Dec 2006 17:17:58 +0900")
Atsushi SAKAI <sakaia@jp.fujitsu.com> writes:
> Hi, Markus
>
> I have a request of config.
> Please add vfb config example to files (xmexample1/2/3)
> which is located in tools/example/
>
> Thanks
> Atsushi SAKAI
Quick shot from the hip, hope this helps.
diff -r 9865145e53eb tools/examples/xmexample1
--- a/tools/examples/xmexample1 Fri Jan 05 18:17:36 2007 +0000
+++ b/tools/examples/xmexample1 Wed Jan 10 09:43:30 2007 +0100
@@ -64,6 +64,40 @@ vif = [ '' ]
# and MODE is r for read-only, w for read-write.
disk = [ 'phy:hda1,hda1,w' ]
+
+#----------------------------------------------------------------------------
+# Define frame buffer device.
+#
+# By default, no frame buffer device is configured.
+#
+# To create one using the SDL backend and sensible defaults:
+#
+# vfb = [ 'type=sdl' ]
+#
+# This uses environment variables XAUTHORITY and DISPLAY. You
+# can override that:
+#
+# vfb = [ 'type=sdl,xauthority=/home/bozo/.Xauthority,display=:1' ]
+#
+# To create one using the VNC backend and sensible defaults:
+#
+# vfb = [ 'type=vnc' ]
+#
+# The backend listens on 127.0.0.1 port 5900+N by default, where N is
+# the domain ID. You can override both address and N:
+#
+# vfb = [ 'type=vnc,vnclisten=127.0.0.1,vncdisplay=1' ]
+#
+# Or you can bind the first unused port above 5900:
+#
+# vfb = [ 'type=vnc,vnclisten=0.0.0.0,vnunused=1' ]
+#
+# You can override the password:
+#
+# vfb = [ 'type=vnc,vncpasswd=MYPASSWD' ]
+#
+# Empty password disables authentication. Defaults to the vncpasswd
+# configured in xend-config.sxp.
#----------------------------------------------------------------------------
# Define to which TPM instance the user domain should communicate.
diff -r 9865145e53eb tools/examples/xmexample2
--- a/tools/examples/xmexample2 Fri Jan 05 18:17:36 2007 +0000
+++ b/tools/examples/xmexample2 Wed Jan 10 09:48:44 2007 +0100
@@ -100,6 +100,40 @@ vif = [ '' ]
# All domains get sda6 read-only (to use for /usr, see below).
disk = [ 'phy:sda%d,sda1,w' % (7+vmid),
'phy:sda6,sda6,r' ]
+
+#----------------------------------------------------------------------------
+# Define frame buffer device.
+#
+# By default, no frame buffer device is configured.
+#
+# To create one using the SDL backend and sensible defaults:
+#
+# vfb = [ 'type=sdl' ]
+#
+# This uses environment variables XAUTHORITY and DISPLAY. You
+# can override that:
+#
+# vfb = [ 'type=sdl,xauthority=/home/bozo/.Xauthority,display=:1' ]
+#
+# To create one using the VNC backend and sensible defaults:
+#
+# vfb = [ 'type=vnc' ]
+#
+# The backend listens on 127.0.0.1 port 5900+N by default, where N is
+# the domain ID. You can override both address and N:
+#
+# vfb = [ 'type=vnc,vnclisten=127.0.0.1,vncdisplay=%d' % vmid ]
+#
+# Or you can bind the first unused port above 5900:
+#
+# vfb = [ 'type=vnc,vnclisten=0.0.0.0,vnunused=1' ]
+#
+# You can override the password:
+#
+# vfb = [ 'type=vnc,vncpasswd=MYPASSWD' ]
+#
+# Empty password disables authentication. Defaults to the vncpasswd
+# configured in xend-config.sxp.
#----------------------------------------------------------------------------
# Define to which TPM instance the user domain should communicate.
diff -r 9865145e53eb tools/examples/xmexample3
--- a/tools/examples/xmexample3 Fri Jan 05 18:17:36 2007 +0000
+++ b/tools/examples/xmexample3 Wed Jan 10 09:49:04 2007 +0100
@@ -85,6 +85,40 @@ vif = [ 'ip=192.168.%d.1/24' % (vmid)]
# to all domains as sda1.
# All domains get sda6 read-only (to use for /usr, see below).
disk = [ 'phy:hda%d,hda1,w' % (vmid)]
+
+#----------------------------------------------------------------------------
+# Define frame buffer device.
+#
+# By default, no frame buffer device is configured.
+#
+# To create one using the SDL backend and sensible defaults:
+#
+# vfb = [ 'type=sdl' ]
+#
+# This uses environment variables XAUTHORITY and DISPLAY. You
+# can override that:
+#
+# vfb = [ 'type=sdl,xauthority=/home/bozo/.Xauthority,display=:1' ]
+#
+# To create one using the VNC backend and sensible defaults:
+#
+# vfb = [ 'type=vnc' ]
+#
+# The backend listens on 127.0.0.1 port 5900+N by default, where N is
+# the domain ID. You can override both address and N:
+#
+# vfb = [ 'type=vnc,vnclisten=127.0.0.1,vncdisplay=%d' % vmid ]
+#
+# Or you can bind the first unused port above 5900:
+#
+# vfb = [ 'type=vnc,vnclisten=0.0.0.0,vnunused=1' ]
+#
+# You can override the password:
+#
+# vfb = [ 'type=vnc,vncpasswd=MYPASSWD' ]
+#
+# Empty password disables authentication. Defaults to the vncpasswd
+# configured in xend-config.sxp.
#----------------------------------------------------------------------------
# Define to which TPM instance the user domain should communicate.
diff -r 9865145e53eb tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py Fri Jan 05 18:17:36 2007 +0000
+++ b/tools/python/xen/xm/create.py Wed Jan 10 09:46:02 2007 +0100
@@ -291,7 +291,8 @@ gopts.var('vfb', val="type={vnc,sdl},vnc
For type=vnc, connect an external vncviewer. The server will listen
on ADDR (default 127.0.0.1) on port N+5900. N defaults to the
domain id. If vncunused=1, the server will try to find an arbitrary
- unused port above 5900.
+ unused port above 5900. vncpasswd overrides the XenD configured
+ default password.
For type=sdl, a viewer will be started automatically using the
given DISPLAY and XAUTHORITY, which default to the current user's
ones.""")
next prev parent reply other threads:[~2007-01-10 8:50 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-10 8:54 [PATCH 2/2] PV framebuffer Markus Armbruster
2006-11-12 14:20 ` Steven Smith
2006-11-14 14:01 ` Markus Armbruster
2006-11-15 12:18 ` Steven Smith
2006-11-15 17:46 ` Markus Armbruster
2006-11-16 16:13 ` Markus Armbruster
2006-11-17 13:23 ` Markus Armbruster
2006-11-17 13:26 ` Markus Armbruster
2006-11-22 11:49 ` [PATCH] Re: [Xen-devel] " Atsushi SAKAI
2006-11-22 13:46 ` [PATCH] " Markus Armbruster
2006-11-24 5:00 ` [PATCH] Re: [Xen-devel] " Atsushi SAKAI
2006-11-24 8:10 ` [PATCH] " Markus Armbruster
2006-11-24 8:48 ` [PATCH] Re: [Xen-devel] " Atsushi SAKAI
2006-11-28 13:04 ` Atsushi SAKAI
2006-11-28 13:55 ` [PATCH] " Markus Armbruster
2006-11-29 13:08 ` [PATCH] Re: [Xen-devel] " Atsushi SAKAI
2006-12-01 12:35 ` Atsushi SAKAI
2006-12-01 18:03 ` [PATCH] " Markus Armbruster
2006-12-04 8:46 ` [PATCH] Re: [Xen-devel] " Atsushi SAKAI
2006-12-04 19:44 ` [PATCH] " Markus Armbruster
2006-12-05 12:01 ` [PATCH] Re: [Xen-devel] " Atsushi SAKAI
2006-12-05 17:32 ` [PATCH] " Markus Armbruster
2006-12-07 0:55 ` [PATCH] Re: [Xen-devel] " Atsushi SAKAI
2006-12-07 7:58 ` [PATCH] " Markus Armbruster
2006-12-12 11:54 ` [PATCH] Re: [Xen-devel] " Atsushi SAKAI
2006-12-12 12:23 ` [PATCH] " Markus Armbruster
2006-12-13 2:18 ` Atsushi SAKAI
2006-12-14 10:58 ` [PATCH] Re: [Xen-devel] " Atsushi SAKAI
2006-12-14 11:30 ` [PATCH] " Keir Fraser
2006-12-14 12:37 ` Markus Armbruster
2006-12-14 13:30 ` Keir Fraser
2006-12-15 16:38 ` [PATCH][PVFB][LINUX] Fix possible sleep while holding spinlock Markus Armbruster
2006-12-15 18:06 ` Keir Fraser
2006-12-15 18:35 ` Markus Armbruster
2006-12-19 2:52 ` Atsushi SAKAI
2006-12-19 7:49 ` Markus Armbruster
2006-12-19 8:17 ` Atsushi SAKAI
2007-01-10 8:50 ` Markus Armbruster [this message]
2006-11-28 15:36 ` [PATCH] Re: Re: [PATCH 2/2] PV framebuffer Stephen C. Tweedie
2006-11-24 8:05 ` Markus Armbruster
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=87irffp8nn.fsf@pike.pond.sub.org \
--to=armbru@redhat.com \
--cc=keir@xensource.com \
--cc=sakaia@jp.fujitsu.com \
--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.