From: | "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx> |
Date: | Thu, 05 Apr 2007 13:48:16 +0200 |
Has there been any changes to device cloning support in DFBSD, specifically related to this email: http://leaf.dragonflybsd.org/mailarchive/kernel/2006-01/msg00058.html
I'm porting the kqemu module based on the FreeBSD version of it and it works now but there can only be one qemu process using the /dev/kqemu device.
In Linux and NetBSD, if I read the code right, the file pointer is passed in to the various ops, read, ioctl, write, etc of the driver. I think this makes more sense semantically. In Linux the file* is passed in, while in NetBSD the module can decide call falloc and fdclone.
I'm not sure if I want to / can take on the task of adding the per open vnode as suggested by Matt, but I'd be interested in hearing what people have to say about this.
cheers simon
-- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
Attachment:
signature.asc
Description: OpenPGP digital signature