From 3ae0551e9830a0c6b9f8d4e03c462de72ff97af0 Mon Sep 17 00:00:00 2001 From: bouyer Date: Sat, 21 Oct 2006 22:10:05 +0000 Subject: 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++ --- sysutils/xentools30-hvm/Makefile | 3 ++- sysutils/xentools30-hvm/files/hvm-nbsd | 20 +++++++++++++++++--- 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:) +# 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' #============================================================================ -- cgit v1.2.3