[prev in list] [next in list] [prev in thread] [next in thread]
List: dragonfly-users
Subject: Re: KQEMU 1.4.0pre1 for QEMU 0.10.1
From: Stathis Kamperis <ekamperi () gmail ! com>
Date: 2009-04-23 12:12:27
Message-ID: 2218b9af0904230506h26e0773el3a3284e38ed0da36 () mail ! gmail ! com
[Download RAW message or body]
2009/4/23 Johannes Hofmann <johannes.hofmann@gmx.de>:
> When unloading kqemu.ko I get:
> destroy_dev(): too few references on device! 0xc33746d8
> kqemu(minor=00000000) refs=1
>
> A subsequent kldload ./kqemu.ko panics the system with
> assertion: sr->refcnt == 0 in sysref_alloc
When you create a device and plan to destroy it later on, you have to
take a reference on it.
See DEV_MODULE(9) for an example and make_dev(9).
Thanks!
Cheers,
Stathis
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic