Re: Is it possible to live migrate guest OS'es between different versions of kvm/qemu-kvm?

2010-09-07 Thread Nils Cant

Hey Juan,

do you also think future releases of kvm will have support for live 
migration from older versions? We're quite keen on knowing this, as we 
need to make a decision on what to build our stuff on. Being able to 
transparently move virtual servers onto a host running a newer version 
is definitely a feature we need...


Thanks in advance,

Nils

On 09/05/2010 10:39 AM, Avi Kivity wrote:

On 09/03/2010 02:35 PM, Nils Cant wrote:

First, don't trim the cc list. It's evil.


Is this something we can depend on for future releases then?

If we decide now to build a virtual hosting farm on 0.12, will we be
able to use live migration in the future if we decide we want to
upgrade to 0.13 or later?


I believe so. Juan, can you confirm?


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


Re: Is it possible to live migrate guest OS'es between different versions of kvm/qemu-kvm?

2010-09-05 Thread Avi Kivity

 On 09/03/2010 02:35 PM, Nils Cant wrote:

First, don't trim the cc list.  It's evil.


Is this something we can depend on for future releases then?

If we decide now to build a virtual hosting farm on 0.12, will we be 
able to use live migration in the future if we decide we want to 
upgrade to 0.13 or later?


I believe so.  Juan, can you confirm?

--
error compiling committee.c: too many arguments to function

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


Re: Is it possible to live migrate guest OS'es between different versions of kvm/qemu-kvm?

2010-09-03 Thread Nils Cant

Is this something we can depend on for future releases then?

If we decide now to build a virtual hosting farm on 0.12, will we be 
able to use live migration in the future if we decide we want to upgrade 
to 0.13 or later?


N.

On 08/31/2010 02:24 PM, Avi Kivity wrote:


It should work between 0.12 and 0.13, though.


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


Re: Is it possible to live migrate guest OS'es between different versions of kvm/qemu-kvm?

2010-08-31 Thread Avi Kivity

 On 08/30/2010 11:16 PM, Brian Jackson wrote:

On Monday, August 30, 2010 07:04:51 am Nils Cant wrote:

Hey guys,

next try is without libvirt, but still no joy.

After issuing 'migrate -d' on my sending host (qemu-kvm 0.11.0), I
get the following output on the receiving host (qemu-kvm 0.12.4):


A quick search of this and/or the qemu mailing lists would have told you this
is unsupported.



It should work between 0.12 and 0.13, though.

--
error compiling committee.c: too many arguments to function

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


Re: Is it possible to live migrate guest OS'es between different versions of kvm/qemu-kvm?

2010-08-30 Thread Brian Jackson
On Monday, August 30, 2010 07:04:51 am Nils Cant wrote:
> Hey guys,
> 
> next try is without libvirt, but still no joy.
> 
> After issuing 'migrate -d ' on my sending host (qemu-kvm 0.11.0), I
> get the following output on the receiving host (qemu-kvm 0.12.4):


A quick search of this and/or the qemu mailing lists would have told you this 
is unsupported.


> 
> (qemu) Unknown savevm section or instance 'slirp' 0
> load of migration failed
> 
> ... leaving my vm broken.
> 
> Am I doing something wrong, or is the format of the savevm file just
> different and should I abandon all hope of ever doing a live migration
> to a newer version of qemu-kvm?
> 
> Thanks in advance,
> 
> 
> Nils
> 
> ---
> 
> Here are my upstart options on the 'sender':
> 
> /usr/bin/kvm -S \
>  -M pc-0.11 \
>  -enable-kvm \
>  -m 512 \
>  -smp 2,sockets=2,cores=1,threads=1 \
>  -name testserver \
>  -uuid 890a0156-0542-32d8-66d7-b36a711084cc \
>  -monitor
> unix:/var/lib/libvirt/qemu/testserver.monitor,server,nowait \
>  -boot c \
>  -drive
> file=/dev/disk/by-path/ip-192.168.3.100:3260-iscsi-iqn.2003-10.com.lefthand
> networks:lefthand0:64:testserver-lun-0,if=virtio,boot=on \
>  -drive media=cdrom \
>  -usb \
>  -vnc 0.0.0.0:10 \
>  -k en-us \
>  -vga cirrus &
> 
> And the 'receiver':
> 
> /usr/bin/kvm -S \
>  -M pc-0.11 \
>  -enable-kvm \
>  -m 512 \
>  -smp 2,sockets=2,cores=1,threads=1 \
>  -name testserver \
>  -uuid 890a0156-0542-32d8-66d7-b36a711084cc \
>  -nodefaults \
>  -chardev
> socket,id=monitor,path=/var/lib/libvirt/qemu/testserver.monitor,server,nowa
> it \
>  -mon chardev=monitor,mode=readline \
>  -boot c \
>  -drive
> file=/dev/disk/by-path/ip-192.168.3.100:3260-iscsi-iqn.2003-10.com.lefthand
> networks:lefthand0:64:testserver-lun-0,if=none,id=drive-virtio-disk0,boot=o
> n \
>  -drive if=none,media=cdrom,id=drive-ide0-1-0 \
>  -device
> ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
>  -device
> virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0
> \ -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 \ -chardev
> pty,id=serial0 \
>  -device isa-serial,chardev=serial0 \
>  -usb \
>  -vnc 0.0.0.0:0 \
>  -k en-us \
>  -vga cirrus \
>  -incoming tcp:0: &
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Is it possible to live migrate guest OS'es between different versions of kvm/qemu-kvm?

2010-08-30 Thread Nils Cant

Hey guys,

next try is without libvirt, but still no joy.

After issuing 'migrate -d ' on my sending host (qemu-kvm 0.11.0), I 
get the following output on the receiving host (qemu-kvm 0.12.4):


(qemu) Unknown savevm section or instance 'slirp' 0
load of migration failed

... leaving my vm broken.

Am I doing something wrong, or is the format of the savevm file just 
different and should I abandon all hope of ever doing a live migration 
to a newer version of qemu-kvm?


Thanks in advance,


Nils

---

Here are my upstart options on the 'sender':

/usr/bin/kvm -S \
-M pc-0.11 \
-enable-kvm \
-m 512 \
-smp 2,sockets=2,cores=1,threads=1 \
-name testserver \
-uuid 890a0156-0542-32d8-66d7-b36a711084cc \
-monitor 
unix:/var/lib/libvirt/qemu/testserver.monitor,server,nowait \

-boot c \
-drive 
file=/dev/disk/by-path/ip-192.168.3.100:3260-iscsi-iqn.2003-10.com.lefthandnetworks:lefthand0:64:testserver-lun-0,if=virtio,boot=on 
\

-drive media=cdrom \
-usb \
-vnc 0.0.0.0:10 \
-k en-us \
-vga cirrus &

And the 'receiver':

/usr/bin/kvm -S \
-M pc-0.11 \
-enable-kvm \
-m 512 \
-smp 2,sockets=2,cores=1,threads=1 \
-name testserver \
-uuid 890a0156-0542-32d8-66d7-b36a711084cc \
-nodefaults \
-chardev 
socket,id=monitor,path=/var/lib/libvirt/qemu/testserver.monitor,server,nowait 
\

-mon chardev=monitor,mode=readline \
-boot c \
-drive 
file=/dev/disk/by-path/ip-192.168.3.100:3260-iscsi-iqn.2003-10.com.lefthandnetworks:lefthand0:64:testserver-lun-0,if=none,id=drive-virtio-disk0,boot=on 
\

-drive if=none,media=cdrom,id=drive-ide0-1-0 \
-device 
ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device 
virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 \

-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 \
-chardev pty,id=serial0 \
-device isa-serial,chardev=serial0 \
-usb \
-vnc 0.0.0.0:0 \
-k en-us \
-vga cirrus \
-incoming tcp:0: &
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html