WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] HVM Live Migration: Failed to populate physmap

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] HVM Live Migration: Failed to populate physmap
From: "sanjay kushwaha" <sanjay.kushwaha@xxxxxxxxx>
Date: Wed, 22 Aug 2007 10:53:20 -0400
Delivery-date: Wed, 22 Aug 2007 07:53:47 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=k5cRpXcRXqTCAZQNL6xLCH+lDqyWxL7qnBirMVx0h2mfCpcU1JcREi/e1ZlFeKqdgqK+Us5pnNpRUl0qjD/l17cQywUfm8hmRJFvn9XtVR5U7pk+hhKDcAIYPjeSkPEEAUspm3aMYhWoz1v7dzEzjY3zHQPcdXl+BSt5HHl8uMk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=W4GIodWPj7Q3WANY6sZ0ESLh6PbIk3Kj5yDE3HD2SO6AaCGY9oKlOl92o6dCN9b3453w6Y8T45MOIVigibelvavXfXkwVWG4RxPwdCEMtlD8LOs1beKGhxIsslPCotT5of03DMhQmGRCwxVhwxGOrZt01JbmIUTFjC4LdJgMoIk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Folks,
I am trying to do Live HVM migration on Intel VT (x86_64) platforms. The HVM save on the source machine completes without error but the destination machine restore fails with the following error in the qemu-dm.log file. the xend.log doesn't contain any errors. Below are the details. Is this a known problem? Does anyone know how to fix this?

I really appreciate your help.

[root@vt1 xen]# cat qemu-dm-5.log

<snip>
shift keysym 003f keycode 53
char device redirected to /dev/pts/1
cirrus_vga_load:re-enable vga acc.lfb_addr=0xf0000000, lfb_end=0xf0800000.
Failed allocation for dom 5: 2048 extents of order 0
Failed to populate physmap
[root@vt1 xen]#

I am trying with the latest xen tree that I pulled yesterday. Here is the xm info.

[root@vt1 ~]# xm info
host                   : vt1
release                : 2.6.18-xen
version                : #2 SMP Tue Aug 21 14:42:35 EDT 2007
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 3000
hw_caps                : bfebfbff:20100800:00000000:00000180:0000e4f5:00000000:00000001
total_memory           : 1011
free_memory            : 0
node_to_cpu            : node0:0-1
xen_major              : 3
xen_minor              : 0
xen_extra              : -unstable
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Thu Aug 16 13:27:59 2007 +0100 15730:256160ff19b7
cc_compiler            : gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
cc_compile_by          : ksanjay
cc_compile_domain      :
cc_compile_date        : Tue Aug 21 14:27:23 EDT 2007
xend_config_format     : 4
[root@vt1 ~]#


Here is the guest configuration:
[ksanjay@vt2 ~]$ cat xmexample.hvm
#  -*- mode: python; -*-

import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"

builder='hvm'
memory = 128

shadow_memory = 8

name = "vm"

vcpus=1
vif = [ 'type=ioemu, bridge=eth0' ]

disk = [ 'file:/home/ksanjay/images/hd.img,ioemu:hda,w' ]

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

sdl=0

vnc=1

#vncdisplay=1

#vncunused=1

#vncconsole=0

nographic=0
stdvga=0
serial='pty'
[ksanjay@vt2 ~]$

The guest VM is a linux 2.6.16.13.
--
----------------------
PhD Candidate, Georgia Tech
http://www.cc.gatech.edu/~ksanjay/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>