summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorbouyer <bouyer>2006-10-21 22:10:05 +0000
committerbouyer <bouyer>2006-10-21 22:10:05 +0000
commitd1b545a6f266f72b5ea56f1c1f10b01c05137a57 (patch)
treeee7c0b7b40316de2d0d10d3131d5697adf3517ab /sysutils
parent2159f83d4f423645bd252fc1b9816aaaf7f88093 (diff)
downloadpkgsrc-d1b545a6f266f72b5ea56f1c1f10b01c05137a57.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'
#============================================================================