qemu-stable
[Top][All Lists]
Advanced

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

[Qemu-stable] QEMU "object memory-backend-file" assertion failed.


From: Sergey Matov
Subject: [Qemu-stable] QEMU "object memory-backend-file" assertion failed.
Date: Mon, 15 Jun 2015 13:16:07 +0300

Hello QEMU community.

I'm trying to launch dpdk vhost supported VM with following command: (openvswitch + dpdk already configured, interface dpdkvhost2 is ready, fd = 3 is appropriate vhost file descriptor, /mnt/huge - hugepages directory)

/usr/bin/qemu-system-x86_64
 -name test_pmd0-2 -cpu host -m 2048 -smp 2 -boot -drive file=/var/lib/libvirt/images/test_pmd0-2.qcow2 -enable-kvm -net none -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge, share=on -numa node,memdev=mem -mem-prealloc -netdev type=tap,id=net1,script=no,downscript=no,ifname=dpdkvhost2,vhost=on,vhostfd=3 -device virtio-net-pci,netdev=net1,mac=52:54:47:f5:17:dc,csum=off,gso=off,guest_tso4=off,guest_tso6=off,guest_ecn=off

Following error occurred:
ERROR:/build/buildd/qemu-2.0.0+dfsg/qom/object.c:437:object_new_with_type: assertion failed: (type != NULL)
Aborted (core dumped)

I'm running Ubuntu 14.04 with latest stable qemu version.
It's seems "-object memory-backend-file,id=... etc" fails this setup (memory-backend-file is not valid type)

Could you please tell me, what am I doing wrong here OR is there any other way to include <-object> and it's args to qemu commandline?

Thanks a lot.

--
Best Regards
Sergey Matov
Mirantis Inc

reply via email to

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