qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: --mem-path option broken on qemu-kvm latest git


From: Joerg Roedel
Subject: [Qemu-devel] Re: --mem-path option broken on qemu-kvm latest git
Date: Sat, 1 May 2010 16:38:53 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, May 01, 2010 at 10:50:56AM -0300, Lucas Meneghel Rodrigues wrote:
> Hi folks, on during the latest upstream test job I noticed that the
> -mem-path option got broken on latest qemu-kvm. qemu abnormally ends
> with exit code 1 when trying to call it with -mem-path
> 
> 04/29 18:35:32 DEBUG|    kvm_vm:0461| Running qemu command:
> /usr/local/autotest/tests/kvm/qemu -name 'vm1' -monitor 
> unix:/tmp/monitor-20100429-181844-a21K,server,nowait -drive 
> file=/tmp/kvm_autotest_root/images/rhel5-64.qcow2,if=ide -net 
> nic,vlan=0,model=rtl8139,macaddr=52:54:00:12:34:56 -net user,vlan=0 -m 1024 
> -smp 2 -drive 
> file=/tmp/kvm_autotest_root/isos/linux/RHEL-5.5-x86_64-DVD.iso,index=2,media=cdrom
>  -fda /usr/local/autotest/tests/kvm/images/rhel55-64/floppy.img -tftp 
> /usr/local/autotest/tests/kvm/images/rhel55-64/tftpboot  -boot d -bootp 
> /pxelinux.0 -boot n -mem-path /mnt/kvm_hugepage -redir tcp:5000::22 -redir 
> tcp:5001::12323 -vnc :0
> 04/29 18:35:33 DEBUG|kvm_subpro:0686| (qemu) (Process terminated with status 
> 1)
> 
> Exact version of qemu.git tested:
> 
> 04/29 14:18:17 INFO | kvm_utils:0424| Commit hash for 
> git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git is 
> a1b705841caa33fca0b95928505c01d5105b706f (tag kvm-88-4245-ga1b7058)
> 
> Please let me know if there's any additional info you might want.

I experienced the same in my nested-npt huge page tests. What helped was
to remove the lines:

    if (memory < hpagesize) {
        return NULL;
    }

from file_ram_alloc() in exec.c. The problem is probably that qemu-kvm now
allocs the memory per-slot and not entirely anymore. But thats just a guess.

        Joerg





reply via email to

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