Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 14:15:46 -0800
From:      Peter Grehan <grehan@freebsd.org>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: strange error from bhyve
Message-ID:  <528D3492.1090807@freebsd.org>
In-Reply-To: <CAGBxaXk_e7w6zbA4ySQzyyQp3wF8g%2BrscPaYomYjzE=HM8kvBQ@mail.gmail.com>
References:  <CAGBxaXk_e7w6zbA4ySQzyyQp3wF8g%2BrscPaYomYjzE=HM8kvBQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Aryeh,

> When I run the following script bhyveload exits normally but when bhyve
> runs I get:
>
> Error return from kevent change: Operation not supported by device

  Hmmm, I've not seen that before. Are you able to do a build of bhyve 
and run it in gdb ?

> The script:
>
> #!/bin/sh
>
> ifconfig tap6000 destroy
> ifconfig tap6000 create
> ifconfig tap6000 up
> sleep 5
> ifconfig bridge0 addm tap6000 up
> /usr/sbin/bhyvectl --vm=7598731650023639040instanceID0 --destroy
> /usr/sbin/bhyveload -m 1024 -d /vms/dfsdfsf 7598731650023639040instanceID0
> /usr/sbin/bhyve -c 0 -m 1024 -AI -H -P -g 0 -s 0:0,hostbridge -s
> 1:0,virtio-net,tap6000 -s 2:0,virtio-blk,/vms/dfsdfsf -S 31,uart,stdio
> 7598731650023639040instanceID0&

  If you want this to run in the background, you may want to take the 
stdio parameter off the uart device.

later,

Peter.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?528D3492.1090807>