From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1Sey-0000tL-H4 for qemu-devel@nongnu.org; Mon, 09 Oct 2017 03:39:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1Sex-0001uh-Mg for qemu-devel@nongnu.org; Mon, 09 Oct 2017 03:39:32 -0400 Received: from mail-io0-x230.google.com ([2607:f8b0:4001:c06::230]:48812) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1Sex-0001uU-Gq for qemu-devel@nongnu.org; Mon, 09 Oct 2017 03:39:31 -0400 Received: by mail-io0-x230.google.com with SMTP id j17so5282680iod.5 for ; Mon, 09 Oct 2017 00:39:31 -0700 (PDT) MIME-Version: 1.0 From: Koushik Dutta Date: Mon, 9 Oct 2017 13:09:30 +0530 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: [Qemu-devel] Need help to launch VM using QEMU command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi ALL QEMU members, I installed qemu utility in my host machine. I want to start Virtual machine using qemu command. But i facing problem like "object_new_with_type". Below i past my VM launch script as well as error. My host machine: Intel-X86 Script for launching VM : T=/home/koushik/vpp/cloud_ubuntu_img sudo qemu-system-i386 -enable-kvm -m 1024 -smp sockets=1,cpus=4,cores=2 -cpu host \ -vga none -nographic \ -kernel $T/vmlinuz-4.4.0-96-generic --append "console=ttyAMA0 root=/dev/vda rw" \ -drive file=$T/custom32.img,if=virtio,aio=threads \ -chardev socket,id=char1,path=/tmp/sock1.sock \ -netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce\ -device virtio-net-pci,mac=00:00:00:00:00:01,netdev=mynet1 \ -object memory-backend-file,id=mem,size=1024M,mem-path=/dev/hugepages,share=on \ -numa node,memdev=mem -mem-prealloc \ #-debugcon file:debug.log -global isa-debugcon.iobase=0x402 Bug : (process:1285): GLib-WARNING **: gmem.c:483: custom memory allocation vtable not supported ** ERROR:qom/object.c:437:object_new_with_type: assertion failed: (type != NULL) Please suggest me what did i wrong in this script. Thanks & Regards, Koushik