qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Koushik Dutta <koushikcseist@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Need help to launch VM using QEMU command
Date: Mon, 9 Oct 2017 13:09:30 +0530	[thread overview]
Message-ID: <CAFq1Wa+kj_=__xr9DyFS10TLr1jc3Gpu02RUm6tAmD+6TvGCFw@mail.gmail.com> (raw)

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

                 reply	other threads:[~2017-10-09  7:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAFq1Wa+kj_=__xr9DyFS10TLr1jc3Gpu02RUm6tAmD+6TvGCFw@mail.gmail.com' \
    --to=koushikcseist@gmail.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;
as well as URLs for NNTP newsgroup(s).