libvirt and rebooting of a bhyve VM

Allan Jude allanjude at freebsd.org
Tue Aug 19 15:44:39 UTC 2014


On 2014-08-19 11:40, Roman Bogorodskiy wrote:
>   Craig Rodrigues wrote:
> 
>> Roman,
>>
>> I am using libvirt and bhyve according to this XML:
>> http://libvirt.org/drvbhyve.html
>> and it works great.
>> I gave a presentation at BAFUG on this:
>> http://www.slideshare.net/CraigRodrigues1/libvirt-bhyve
>>
>> I have one question.  If I reboot the bhyve VM started with libvirt
>> with "shutdown -r now",
>> the VM shuts down, but it does not restart.
>>
>> How can I get the machine to reboot with "shutdown -r now" when
>> started with libvirt?
> 
> Hi Craig,
> 
> Unfortunately, I'm not sure how to get the reboot working. Moreover, I
> get the same behaviour when starting bhyve manually -- when I do a
> reboot, bhyve(8) exits as soon as the system is ready to restart.
> 
> So looks like that's a default bhyve behaviour or I'm missing something?
> 
> Roman Bogorodskiy
> 

Which version are you running? 10-RELEASE, 10-STABLE or -CURRENT?

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20140819/4ef156ce/attachment.sig>


More information about the freebsd-virtualization mailing list