[libvirt] [Question] Will we support to set boot order online?

Wangyufei (James) james.wangyufei at huawei.com
Tue Mar 4 02:16:39 UTC 2014


Thanks all! I will have a think about it.

> -----Original Message-----
> From: Jiri Denemark [mailto:jdenemar at redhat.com]
> Sent: Monday, March 03, 2014 9:31 PM
> To: Daniel P. Berrange
> Cc: Wangyufei (James); libvir-list at redhat.com; Moyuxiang; Zhaoyanbin (A)
> Subject: Re: [libvirt] [Question] Will we support to set boot order online?
> 
> On Mon, Mar 03, 2014 at 09:58:40 +0000, Daniel Berrange wrote:
> > On Mon, Mar 03, 2014 at 08:22:13AM +0000, Wangyufei (James) wrote:
> > > Hello,
> > >     I find that QEMU supports to set boot(QMP command "boot_set")
> order
> > > online, namely the virtual machine  can be reboot in appointed order,
> > > but libvirt had no corresponding interface. So, I want to know if libvirt
> > > intend to  support to set boot order online. If the answer is yes, I'll
> > > try to apply the patch. If no, why?
> >
> > AFAIK, no one has looked at this.
> >
> > NB, this will only work for guests actually using the old style boot
> > order. Any guests using per-device boot indexes for ordering won't
> > work with this command.
> 
> Hmm, looks like it's quite useless because libvirt uses per-device boot
> indexes whenever it is possible even if the domain XML used the old way
> of specifying boot order. Thus, it's very likely any domain running in a
> QEMU which is not ancient will be using per-device boot order.
> 
> Jirka




More information about the libvir-list mailing list