* [Qemu-devel] --mem-path option broken on qemu-kvm latest git
@ 2010-05-01 13:50 Lucas Meneghel Rodrigues
2010-05-01 14:38 ` [Qemu-devel] " Joerg Roedel
0 siblings, 1 reply; 2+ messages in thread
From: Lucas Meneghel Rodrigues @ 2010-05-01 13:50 UTC (permalink / raw)
To: KVM mailing list; +Cc: qemu mailing list
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.
Lucas
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Qemu-devel] Re: --mem-path option broken on qemu-kvm latest git
2010-05-01 13:50 [Qemu-devel] --mem-path option broken on qemu-kvm latest git Lucas Meneghel Rodrigues
@ 2010-05-01 14:38 ` Joerg Roedel
0 siblings, 0 replies; 2+ messages in thread
From: Joerg Roedel @ 2010-05-01 14:38 UTC (permalink / raw)
To: Lucas Meneghel Rodrigues; +Cc: qemu mailing list, KVM mailing list
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-01 14:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-01 13:50 [Qemu-devel] --mem-path option broken on qemu-kvm latest git Lucas Meneghel Rodrigues
2010-05-01 14:38 ` [Qemu-devel] " Joerg Roedel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).