DragonFly kernel List (threaded) for 2008-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: vkernel configuration
On Tue, Jun 10, 2008 at 3:40 PM, Matthew Dillon
<dillon@apollo.backplane.com> wrote:
>
> :Hello,
> :
> :If I wish to compile and build ATA for a virtual kernel, I assume all
> :I would have to do is add the lines
> :
> :device ata
> :device atadisk
> :
> :in the configuration file (VKERNEL) and build the virtual kernel.
> :Although this doesnt compile completely and gives me errors. The
> :errors do not appear when I build a kernel using a GENERIC
> :configuration file, where the devices are all present.
> :
> :Would I have to disable the virtual disks in the VKERNEL config file?
> :Or am I missing something else here?
> :
> :Nirmal
>
> The VKERNEL does not have any PCI infrastructure, I really doubt the
> ATA driver can be built under it, let alone tested.
>
> I recommend making a copy of the virtual disk driver and using that,
> and creating a general infrastructure for the project which then works
> with both the virtual disk driver and the ATA driver. That way you
> can test the infrastructure with the virtual disk driver to work the
> bugs out, then test on real hardware with the ATA driver.
You would mean that before the requests are passed onto the virtual
disk they will pass the scheduler which can also be called by the
others like ATA?
I seem to have got the idea. I would have to just involve vkdstrategy
at vdisk.c
thanks
nirmal
>
> -Matt
> Matthew Dillon
> <dillon@backplane.com>
>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]