pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/xentools30-hvm Add some usefull config direct...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/162585eb23ce
branches:  trunk
changeset: 520457:162585eb23ce
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Sat Oct 21 22:10:05 2006 +0000

description:
Add some usefull config directive to example file:
- use set vncunused to 0 and use vncdisplay to fix the VNC display to use
  when vnc is enabled
- Enable a USB tablet pointing device by default, the mouse is barely useable
  without it.
PKGREVISION++

diffstat:

 sysutils/xentools30-hvm/Makefile       |   3 ++-
 sysutils/xentools30-hvm/files/hvm-nbsd |  20 +++++++++++++++++---
 2 files changed, 19 insertions(+), 4 deletions(-)

diffs (57 lines):

diff -r ddae5ac28fe6 -r 162585eb23ce sysutils/xentools30-hvm/Makefile
--- a/sysutils/xentools30-hvm/Makefile  Sat Oct 21 21:57:00 2006 +0000
+++ b/sysutils/xentools30-hvm/Makefile  Sat Oct 21 22:10:05 2006 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/10/19 22:58:21 bouyer Exp $
+# $NetBSD: Makefile,v 1.2 2006/10/21 22:10:05 bouyer Exp $
 #
 
 DISTNAME=              xen-3.0.3_0-src
 PKGNAME=               xentools30-hvm-3.0.3
+PKGREVISION=           1
 CATEGORIES=            sysutils
 MASTER_SITES=          http://www.cl.cam.ac.uk/research/srg/netos/xen/downloads/ \
                        http://bits.xensource.com/oss-xen/release/3.0.3-0/src.tgz/
diff -r ddae5ac28fe6 -r 162585eb23ce sysutils/xentools30-hvm/files/hvm-nbsd
--- a/sysutils/xentools30-hvm/files/hvm-nbsd    Sat Oct 21 21:57:00 2006 +0000
+++ b/sysutils/xentools30-hvm/files/hvm-nbsd    Sat Oct 21 22:10:05 2006 +0000
@@ -27,6 +27,9 @@
 vif = [ 'mac=00:16:3e:00:00:13, bridge=bridge0, type=ioemu' ]
 
 #----------------------------------------------------------------------------
+# device model to use: only qemu-dm available for now
+device_model = '/usr/pkg/libexec/qemu-dm'
+
 # Define the disk devices you want the domain to have access to, and
 # what you want them accessible as.
 # Each disk entry is of the form phy:UNAME,DEV,MODE
@@ -40,15 +43,26 @@
 # floppy images; this doesn't seem to work currently. Use a iso image instead.
 #fda = '/home/domains/boot1.fs'
 
-device_model = '/usr/pkg/libexec/qemu-dm'
-
 # boot device: a = floppy, c= hard drive, d= cdrom (with the disk entry
 # before)
 boot='d'
 
 # By default, 'xm create' will try to open an X window on the current display
 # for the virtal framebuffer. You can have the virtal framebuffer in vnc
-# instead, and connect using a vnc client (using localhost:<domain number>)
+# instead, and connect using a vnc client (using localhost:$vncdisplay)
+# If vncunused is set to 1 (this is the default value), vncdisplay
+# will be set to the first unused port; so it's recommended to
 #vnc = 1
+#vncdisplay = 0
+#vncunused = 0
+
+#Xen emulates a PS/2 mouse, but the pointer in the guest has difficulties
+# tracking the absolute position. Xen can emulate a USB tablet in addition
+# to the mouse which will report the absolute position of the pointer,
+# and make the mouse much easier to use. 
+# 
+usb=1
+usbdevice='tablet'
+#usbdevice='mouse'
 
 #============================================================================



Home | Main Index | Thread Index | Old Index