Dave Voutila <d...@sisu.io> writes:

> Manuel Giraud <man...@ledu-giraud.fr> writes:
>
>> Hi,
>>
>> I can't find the information on this list (or elsewhere).  Is it
>> possible to have a vm that access a disk through its device?  The
>> following does not seem to work:
>>
>> # vmctl start -cL -m 1G -b /bsd.rd -d /dev/sd1c myvm
>> vmctl: start vm command failed: Unknown error: -1
>
> No, passing file descriptors to devices over ipc sockets isn't currently
> allowed by the kernel. You'd need to use the raw character device, too,
> afaik if passing them were allowed.

Ok, noted.  BTW I have the same error passing the raw character device.

>> What would be the alternatives?
>
> None I know of.

FTR, I end up creating a disk image, configure as vnd and copy my files
here.  I could then use this image as vmctl disk.  Thanks.
-- 
Manuel Giraud

Reply via email to