Re: Loading snapshot with -loadvm?

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

 



On Fri, Nov 26, 2010 at 8:47 AM, Jun Koi <junkoi2004@xxxxxxxxx> wrote:
> this created a snapshot named test on my image. then i tried to start
> the snapshot VM, like below:
>
> qemu-system-x86_64 -m 2000 -vga std -usb -usbdevice tablet -localtime
> -loadvm 2 -hda img.qcow2.win7_x64
>
> but then i have a problem: the Qemu window shows up, with "[Stopped]"
> at window caption. it stays forever there, and doesnt proceed.
>
> is this a bug, or did i do something wrong?

Solution: Switch to the QEMU monitor (Ctrl+Alt+2) and type 'c' to
continue the VM.  To switch back to the VM's display use Ctrl+Alt+1.

I checked that it is expected behavior:
    if (loadvm) {
        if (load_vmstate(loadvm) < 0) {
            autostart = 0;
        }
    }

autostart = 0 means that your VM will be stopped.

I'm not sure why -loadvm implies the VM will be stopped, there's
already a different command-line option to keep the VM stopped (-S).

Stefan
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux