Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2014 09:50:03 -0600
From:      John Nielsen <lists@jnielsen.net>
To:        Roman Bogorodskiy <novel@FreeBSD.org>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: libvirt and rebooting of a bhyve VM
Message-ID:  <EBFA02E4-AF67-4988-BF3F-5DB9F7D4BC76@jnielsen.net>
In-Reply-To: <20140819154035.GA62903@kloomba>
References:  <CAG=rPVcGFSnMcMdrNtWjUtHUc0RLXps-t9WwzokNtyHQwWDfFQ@mail.gmail.com> <20140819154035.GA62903@kloomba>

next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 19, 2014, at 9:40 AM, Roman Bogorodskiy <novel@FreeBSD.org> 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?

Wasn't changing this the intention of r267216 (MFCed as r270071)?

Roman, was your 10-STABLE built after that revision?

JN




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EBFA02E4-AF67-4988-BF3F-5DB9F7D4BC76>