[libvirt-users] BIOS Delay

xuteng xuteng at szjhkx.com
Thu Oct 13 02:07:42 UTC 2011


Hi,Eric:
Thank you for your reply.
All I want to do is like this:
I have 2 vms ,vm-01 and vm-02 which set to be autostart both.
further more, I want vm-02 start 10sec later than vm-01.
Compared with VMware ESX which has a function that can delay several times after the vm run into bios,
Does libvirt also have some fuction like this or should I write a shell script to controll the start pace of the vms ?




xuteng via foxmail

Sender: Eric Blake
Date: 2011年10月12日 星期三 上午5:55
To: xuteng
CC: libvirt-users
Subject: Re: [libvirt-users] BIOS Delay
On 10/10/2011 02:50 AM, xuteng wrote:
>
> Hi,
> Does the libvirt support the bios delay ?
> I mean that after set a special number of seconds or minutes, when the domain starts, the bios will delay after the time I set

Is there a qemu option that affects this?  I'm not aware of one, off the 
top of my head, which means that libvirt does not expose one directly. 
If there _is_ such a qemu option, then you can access it via 
<qemu:commandline> xml while waiting for libvirt to implement official 
xml to support this feature.

Taking a step back, I'm not even sure what you are trying to accomplish 
with a delay.  Perhaps it is sufficient if you use virDomainStartFlags 
with VIR_DOMAIN_START_PAUSED (or virsh start --paused) to request that a 
guest be created without running it, then at your choice of delay, 
resume the guest?  But that's not a BIOS delay.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111013/cf6c419e/attachment.htm>


More information about the libvirt-users mailing list