qemu-system-x86_64 is throwing GLib-WARNING **: custom memory allocation vtable not supported

Moderator: mike

Post Reply
shabeer
Posts: 3
Joined: Wed Aug 22, 2018 5:51 am

qemu-system-x86_64 is throwing GLib-WARNING **: custom memory allocation vtable not supported

Post by shabeer » Wed Aug 22, 2018 6:36 am

I am trying to bring up the CSR100v (3.16.2S) image using the below howto, but get the below warning. As a result, step 6 prompt doesn't come and it boots into the router prompt.

http://www.eve-ng.net/documentation/how ... r-csr1000v

root@cats-eve-ng:~/abc# /opt/qemu-2.2.0/bin/qemu-system-x86_64 -nographic -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -cdrom csr1000v-universalk9.03.16.02.S.155-3.S2-ext.iso -boot order=dc -m 3072

(process:7994): GLib-WARNING **: /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmem.c:483: custom memory allocation vtable not supported
Press any key to continue.
Press any key to continue.


Google says it is the bug on qemu. Is this a known issue you faced on eve.

Thanks
Shabeer

shabeer
Posts: 3
Joined: Wed Aug 22, 2018 5:51 am

Re: qemu-system-x86_64 is throwing GLib-WARNING **: custom memory allocation vtable not supported

Post by shabeer » Wed Aug 22, 2018 6:38 am

some additional details about the setup.

root@cats-eve-ng:~# uname -r
4.9.40-eve-ng-ukms-2+
root@cats-eve-ng:~# dpkg -l |grep qemu
ii eve-ng-qemu 2.0.4-34 amd64 QEMU files for Eve-NG.
ii ipxe-qemu 1.0.0+git-20150424.a25a16d-1ubuntu1.2 all PXE boot firmware - ROM images for qemu
ii qemu-block-extra:amd64 1:2.5+dfsg-5ubuntu10.31 amd64 extra block backend modules for qemu-system and qemu-utils
ii qemu-system-common 1:2.5+dfsg-5ubuntu10.31 amd64 QEMU full system emulation binaries (common files)
ii qemu-system-x86 1:2.5+dfsg-5ubuntu10.31 amd64 QEMU full system emulation binaries (x86)
ii qemu-utils 1:2.5+dfsg-5ubuntu10.31 amd64 QEMU utilities
root@cats-eve-ng:~#
root@cats-eve-ng:~# pwd
/root
root@cats-eve-ng:~# ls abc/
cmd csr1000v-universalk9.03.16.02.S.155-3.S2-ext.iso virtioa.qcow2
root@cats-eve-ng:~#

shabeer
Posts: 3
Joined: Wed Aug 22, 2018 5:51 am

Re: qemu-system-x86_64 is throwing GLib-WARNING **: custom memory allocation vtable not supported

Post by shabeer » Wed Aug 22, 2018 7:20 am

I got it working.. Just need to ignore the warning message. Step 6 did not show up though.

-Shabeer

Post Reply