Package: qemu-kvm
Version: 0.12.5+dfsg-5+squeeze1
Severity: important


-- Package-specific info:


/proc/cpuinfo:

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 75
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping        : 2
cpu MHz         : 2009.081
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 
3dnowext 3dnow rep_good pni cx16 lahf_lm
cmp_legacy svm extapic cr8_legacy
bogomips        : 4018.16
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 75
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping        : 2
cpu MHz         : 2009.081
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 
3dnowext 3dnow rep_good pni cx16 lahf_lm
cmp_legacy svm extapic cr8_legacy
bogomips        : 4018.54
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc




-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to es_AR.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages qemu-kvm depends on:
ii  adduser                3.112+nmu2        add and remove users and groups
ii  bridge-utils           1.4-5             Utilities for configuring the Linu
ii  iproute                20100519-3        networking and traffic control too
ii  libaio1                0.3.107-7         Linux kernel AIO access library -
ii  libasound2             1.0.23-2.1        shared library for ALSA applicatio
ii  libbluetooth3          4.66-3            Library to use the BlueZ Linux Blu
ii  libbrlapi0.5           4.2-7             braille display access via BRLTTY
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libcurl3-gnutls        7.21.0-1          Multi-protocol file transfer libra
ii  libgnutls26            2.8.6-1           the GNU TLS library - runtime libr
ii  libncurses5            5.7+20100313-5    shared libraries for terminal hand
ii  libpci3                1:3.1.7-6         Linux PCI Utilities (shared librar
ii  libpulse0              0.9.21-3+squeeze1 PulseAudio client libraries
ii  libsasl2-2             2.1.23.dfsg1-7    Cyrus SASL - authentication abstra
ii  libsdl1.2debian        1.2.14-6.1        Simple DirectMedia Layer
ii  libuuid1               2.17.2-9          Universally Unique ID library
ii  libvdeplug2            2.2.3-3           Virtual Distributed Ethernet - Plu
ii  libx11-6               2:1.3.3-4         X11 client-side library
ii  python                 2.6.6-3+squeeze6  interactive high-level object-orie
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

Versions of packages qemu-kvm recommends:
ii  linux-image-2.6.32-5-686 [lin 2.6.32-31  Linux 2.6.32 for modern PCs
ii  linux-image-2.6.32-5-amd64 [l 2.6.32-31  Linux 2.6.32 for 64-bit PCs

Versions of packages qemu-kvm suggests:
pn  debootstrap                   <none>     (no description available)
pn  samba                         <none>     (no description available)
pn  vde2                          <none>     (no description available)

-- Configuration Files:
/etc/kvm/kvm-ifup changed:
switch=$(ip route ls | \
    awk '/^default / {
          for(i=0;i<NF;i++) { if ($i == "dev") { print $(i+1); exit; } }
         }'
        )
/sbin/ifconfig $1 0.0.0.0 up
if [ -n "$switch" -a -d /sys/class/net/$switch/bridge/. ]; then
  /usr/sbin/brctl addif $switch $1 || :
fi


-- no debconf information

First Test:
===========

Starting the VM in the source VMHost and starting the VM on the
destination VMHost with the exact same parameters as the VM on the
source, in migration-listen mode: 

Source:

ss01:~# kvm -m 256 -boot d -net nic,vlan=0,macaddr=52:54:67:92:9d:63 \
 -net tap -daemonize -vnc :15 -k es -localtime -cdrom \
 /mnt/systemrescuecd-x86-2.0.1.iso -monitor telnet:localhost:4055,server,nowait


Destination:

defiant:~# kvm -m 256 -boot d -net nic,vlan=0,macaddr=52:54:67:92:9d:63 -net 
tap \
 -daemonize -vnc :1 -k es -localtime -cdrom /mnt/systemrescuecd-x86-2.0.1.iso 
-monitor \
 telnet:localhost:4041,server,nowait -incoming tcp:0:4455

Migration:

ss01:~# telnet localhost 4055
Trying ::1...
Connected to localhost.
Escape character is '^]'.
QEMU 0.12.5 monitor - type 'help' for more information
(qemu) migrate -d tcp:10.1.0.65:4455
(qemu) Connection closed by foreign host.

ss01:~# ps ax|grep systemrescuecd
15640 pts/0    R+     0:00 grep systemrescuecd



Second Test:
============

I tried to save the vms state to a file on ss01 and restoring it on
defiant, but same thing happens:


ss01:~# kvm -m 256 -boot d -net nic,vlan=0,macaddr=52:54:67:92:9d:63 \
 -net tap -daemonize -vnc :15 -k es -localtime -cdrom \
 /mnt/systemrescuecd-x86-2.0.1.iso -monitor telnet:localhost:4055,server,nowait

ss01:~# telnet localhost 4055
Trying ::1...
Connected to localhost.
Escape character is '^]'.
QEMU 0.12.5 monitor - type 'help' for more information
(qemu) stop
(qemu) migrate_set_speed 4095m
(qemu) migrate "exec:gzip -c > STATEFILE.gz"
Connection closed by foreign host.

ss01:~# ps ax|grep systemrescuecd
26564 pts/0    S+     0:00 grep systemrescuecd


Trying to migrate from Defiant (Debian GNU/Linux 5.0.8 with Linux
2.6.32-15~bpo50+1 and qemu-kvm 0.12.5+dfsg-3~bpo50+2) to SS01, this
problem does not occur.


Regards,
Daniel
-- 
Daniel Bareiro - GNU/Linux registered user #188.598
Proudly running Debian GNU/Linux with uptime:
14:30:08 up 1 day, 49 min, 10 users,  load average: 0.21, 0.14, 0.08

Attachment: signature.asc
Description: Digital signature

Reply via email to