summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2006-10-21 22:10:05 +0000
committerbouyer <bouyer@pkgsrc.org>2006-10-21 22:10:05 +0000
commit3ae0551e9830a0c6b9f8d4e03c462de72ff97af0 (patch)
treeee7c0b7b40316de2d0d10d3131d5697adf3517ab /sysutils
parent217a73040105140e8943754dda9be37e073e2047 (diff)
downloadpkgsrc-3ae0551e9830a0c6b9f8d4e03c462de72ff97af0.tar.gz
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 (limited to 'sysutils')
-rw-r--r--sysutils/xentools30-hvm/Makefile3
-rw-r--r--sysutils/xentools30-hvm/files/hvm-nbsd20
2 files changed, 19 insertions, 4 deletions
diff --git a/sysutils/xentools30-hvm/Makefile b/sysutils/xentools30-hvm/Makefile
index 05c0155277c..dc6f7ea0c94 100644
--- a/sysutils/xentools30-hvm/Makefile
+++ b/sysutils/xentools30-hvm/Makefile
@@ -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 --git a/sysutils/xentools30-hvm/files/hvm-nbsd b/sysutils/xentools30-hvm/files/hvm-nbsd
index b5a16bd8f84..2ff8181f827 100644
--- a/sysutils/xentools30-hvm/files/hvm-nbsd
+++ b/sysutils/xentools30-hvm/files/hvm-nbsd
@@ -27,6 +27,9 @@ name = "hvm"
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 @@ disk = [ 'file:/home/domains/vmx,ioemu:hda,w', 'file:/home/domains/i386cd.iso,io
# 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'
#============================================================================