public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Joerg Roedel <joro@8bytes.org>
To: Lucas Meneghel Rodrigues <lmr@redhat.com>
Cc: KVM mailing list <kvm@vger.kernel.org>,
	qemu mailing list <qemu-devel@nongnu.org>
Subject: Re: --mem-path option broken on qemu-kvm latest git
Date: Sat, 1 May 2010 16:38:53 +0200	[thread overview]
Message-ID: <20100501143853.GE14542@8bytes.org> (raw)
In-Reply-To: <1272721856.2723.12.camel@freedom>

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	other threads:[~2010-05-01 14:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-01 13:50 --mem-path option broken on qemu-kvm latest git Lucas Meneghel Rodrigues
2010-05-01 14:38 ` Joerg Roedel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100501143853.GE14542@8bytes.org \
    --to=joro@8bytes.org \
    --cc=kvm@vger.kernel.org \
    --cc=lmr@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox