[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] "virsh edit" failed to take effect on KVM

From: Eric Blake
Subject: Re: [Qemu-devel] "virsh edit" failed to take effect on KVM
Date: Thu, 09 May 2013 08:11:19 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5

On 05/09/2013 05:42 AM, Gonglei (Arei) wrote:
> Hi all,
>    we use the command "virsh edit"  to modify the VM configuration 
> information online on KVM Platform(libvirt-1.0.0 and qemu-1.4), 
> but it does not take effect after reboot. However, it works fine on Xen 
> Platform.

This sort of question belongs best on address@hidden
(libvirt-list-request is not the right list address, and your question
isn't quite relevant to qemu-devel).

> With the changing, the VM is expected to start from cdrom, when execute the 
> command "virsh reboot".

'virsh reboot' triggers a software reboot (reusing the same existing
qemu process); but 'virsh edit' only affects what will take place on a
hard boot (creation of a new qemu process).

> But the fact is that the modify does not take effect, the VM is still start 
> from hd. 
> Well, it will take effect if I use command "virsh shutdown" and "virsh start" 
> instesad of "virsh reboot".

Correct, because that sequence spawns a new qemu process.

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]