qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] VNC server is not running


From: Darshan Ghumare
Subject: [Qemu-discuss] VNC server is not running
Date: Fri, 28 Aug 2015 19:12:19 +0530

Hi,

I ran following command,

/root/prototypes/qemu/x86_64-softmmu/qemu-system-x86_64 --enable-kvm -cpu host -m 1024 -hda /var/opt/kvm/img/win7.img -drive if=none,id=drive1,cache=none,format=raw,aio=native,file=cvbd://127.0.0.1:6380/win7.img\?block_size=4096 -device virtio-blk,drive=drive1 -vnc :0



When tried to connect to VNC server at 127.0.0.1:5900 it said connection closed. When I try to run the same command under gdb I found that there is no thread running VNC server,

(gdb) thread apply all bt


Thread 4 (Thread 0x7ffff48c1700 (LWP 68795)):

#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185

#1  0x00005555558f2df9 in qemu_cond_wait (cond=<optimized out>, address@hidden <qemu_global_mutex>) at util/qemu-thread-posix.c:132

#2  0x0000555555628f5b in qemu_kvm_wait_io_event (cpu=<optimized out>) at /root/prototypes/qemu/cpus.c:945

#3  qemu_kvm_cpu_thread_fn (arg=0x55555625fb90) at /root/prototypes/qemu/cpus.c:984

#4  0x00007ffff64b6182 in start_thread (arg=0x7ffff48c1700) at pthread_create.c:312

#5  0x00007ffff61e347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111


Thread 2 (Thread 0x7ffff5ba6700 (LWP 68793)):

#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135

#1  0x00007ffff64b8657 in _L_lock_909 () from /lib/x86_64-linux-gnu/libpthread.so.0

#2  0x00007ffff64b8480 in __GI___pthread_mutex_lock (mutex=0x555555dc35c0 <qemu_global_mutex>) at ../nptl/pthread_mutex_lock.c:79

#3  0x00005555558f2bd9 in qemu_mutex_lock (address@hidden <qemu_global_mutex>) at util/qemu-thread-posix.c:73

#4  0x0000555555628e74 in qemu_mutex_lock_iothread () at /root/prototypes/qemu/cpus.c:1170

#5  0x00005555559030ae in call_rcu_thread (opaque=<optimized out>) at util/rcu.c:243

#6  0x00007ffff64b6182 in start_thread (arg=0x7ffff5ba6700) at pthread_create.c:312

#7  0x00007ffff61e347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111


Thread 1 (Thread 0x7ffff7fdfa80 (LWP 68789)):

#0  0x00007ffff61d61ef in __GI_ppoll (fds=0x5555562455e0, nfds=1, timeout=<optimized out>, address@hidden, address@hidden) at ../sysdeps/unix/sysv/linux/ppoll.c:56

#1  0x0000555555875cbb in ppoll (__ss=0x0, __timeout=0x0, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77

#2  qemu_poll_ns (fds=<optimized out>, nfds=<optimized out>, address@hidden) at qemu-timer.c:310

#3  0x0000555555877111 in aio_poll (address@hidden, address@hidden) at aio-posix.c:271

#4  0x00005555558b029d in bdrv_prwv_co (address@hidden, address@hidden, address@hidden, address@hidden, address@hidden(unknown: 0)) at block/io.c:562

#5  0x00005555558b0393 in bdrv_rw_co (address@hidden, address@hidden, address@hidden "A&", address@hidden, address@hidden, address@hidden(unknown: 0))

    at block/io.c:585

#6  0x00005555558b0432 in bdrv_read (nb_sectors=1, buf=0x7fffffffd940 "A&", sector_num=0, bs=0x5555562490b0) at block/io.c:593

#7  bdrv_read_unthrottled (bs=0x5555562490b0, address@hidden, address@hidden "A&", address@hidden) at block/io.c:605

#8  0x00005555558a420d in blk_read_unthrottled (address@hidden, address@hidden, address@hidden "A&", address@hidden) at block/block-backend.c:504

#9  0x00005555557552ef in guess_disk_lchs (address@hidden, address@hidden, address@hidden, address@hidden) at hw/block/hd-geometry.c:68

#10 0x0000555555755447 in hd_geometry_guess (blk=0x555556249060, address@hidden, address@hidden, address@hidden, address@hidden) at hw/block/hd-geometry.c:133

#11 0x0000555555754f72 in blkconf_geometry (address@hidden, address@hidden, address@hidden, address@hidden, address@hidden, address@hidden)

    at hw/block/block.c:71

#12 0x00005555556548be in virtio_blk_device_realize (dev=0x5555579b3e30, errp=0x7fffffffdcb0) at /root/prototypes/qemu/hw/block/virtio-blk.c:906

#13 0x000055555567b4bb in virtio_device_realize (dev=0x5555579b3e30, errp=0x7fffffffdcf0) at /root/prototypes/qemu/hw/virtio/virtio.c:1574

#14 0x000055555576d29d in device_set_realized (obj=0x5555579b3e30, value=<optimized out>, errp=0x7fffffffde80) at hw/core/qdev.c:1046

#15 0x000055555583a1ae in property_set_bool (obj=0x5555579b3e30, v=<optimized out>, opaque=0x555557659bc0, name=<optimized out>, errp=0x7fffffffde80) at qom/object.c:1667

#16 0x000055555583df77 in object_property_set_qobject (obj=0x5555579b3e30, value=<optimized out>, name=0x55555593744d "realized", errp=0x7fffffffde80) at qom/qom-qobject.c:24

#17 0x000055555583bf50 in object_property_set_bool (obj=0x5555579b3e30, value=<optimized out>, name=0x55555593744d "realized", errp=0x7fffffffde80) at qom/object.c:1015

#18 0x0000555555823986 in virtio_pci_realize (pci_dev=<optimized out>, errp=0x7fffffffde80) at hw/virtio/virtio-pci.c:1593

#19 0x00005555557d663f in pci_qdev_realize (qdev=0x5555579abd10, errp=0x7fffffffdf00) at hw/pci/pci.c:1842

#20 0x000055555576d29d in device_set_realized (obj=0x5555579abd10, value=<optimized out>, errp=0x7fffffffe058) at hw/core/qdev.c:1046

#21 0x000055555583a1ae in property_set_bool (obj=0x5555579abd10, v=<optimized out>, opaque=0x555557658ef0, name=<optimized out>, errp=0x7fffffffe058) at qom/object.c:1667

#22 0x000055555583df77 in object_property_set_qobject (obj=0x5555579abd10, value=<optimized out>, name=0x55555593744d "realized", errp=0x7fffffffe058) at qom/qom-qobject.c:24

#23 0x000055555583bf50 in object_property_set_bool (address@hidden, address@hidden, address@hidden "realized", address@hidden) at qom/object.c:1015

#24 0x0000555555705e21 in qdev_device_add (opts=0x5555562280e0, errp=0x7fffffffe130) at qdev-monitor.c:599

#25 0x00005555557107b7 in device_init_func (opaque=<optimized out>, opts=<optimized out>, errp=<optimized out>) at vl.c:2300

#26 0x0000555555900baa in qemu_opts_foreach (list=<optimized out>, func=0x555555710790 <device_init_func>, opaque=0x0, errp=0x0) at util/qemu-option.c:1089

#27 0x00005555555f587a in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:4532



Please help.

Thanks,
Darshan








reply via email to

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