qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] Does the qemu must use VNC to install RHEL OS?


From: Nan Xiao
Subject: [Qemu-discuss] Does the qemu must use VNC to install RHEL OS?
Date: Mon, 7 Sep 2015 18:10:02 +0800

Hi all,

I build qemu without using `VNC`:  

    ./configure --target-list=x86_64-softmmu --enable-debug --disable-vnc

Then I try to use it to install a "RHEL 7" virtual machine:  

    qemu-img create -f qcow2 rhel_vm1.img 8G
    qemu-system-x86_64 -m 1024 -hda rhel_vm1.img -cdrom /root/RHEL-7.0-20140507.0-Server-x86_64-dvd1.iso -boot d -D ./qemu.log

Then the "qemu-system-x86_64" process seems hang. Using "pstack" command check it:  

address@hidden ~]# pstack 104041
Thread 3 (Thread 0x7f7bd8a04700 (LWP 104042)):
#0  0x00007f7bd8cf9bb9 in syscall () from /lib64/libc.so.6
#1  0x00007f7bdb2011d8 in futex_wait (ev=0x7f7bdbec12c4 <rcu_call_ready_event>, val=4294967295) at util/qemu-thread-posix.c:301
#2  0x00007f7bdb2012ea in qemu_event_wait (ev=0x7f7bdbec12c4 <rcu_call_ready_event>) at util/qemu-thread-posix.c:399
#3  0x00007f7bdb21529c in call_rcu_thread (opaque=0x0) at util/rcu.c:235
#4  0x00007f7bd8fd1df3 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f7bd8cff3dd in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7f7bb8f16700 (LWP 104044)):
#0  0x00007f7bd8fd5705 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7bdb200e6b in qemu_cond_wait (cond=0x7f7bddb1ac60, mutex=0x7f7bdba8c3e0 <qemu_global_mutex>) at util/qemu-thread-posix.c:132
#2  0x00007f7bdaea7af9 in qemu_tcg_wait_io_event () at /home/nan/qemu-2.4.0/cpus.c:930
#3  0x00007f7bdaea7f46 in qemu_tcg_cpu_thread_fn (arg=0x7f7bddae4c70) at /home/nan/qemu-2.4.0/cpus.c:1077
#4  0x00007f7bd8fd1df3 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f7bd8cff3dd in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7f7bdadb0a80 (LWP 104041)):
#0  0x00007f7bd8cf4ecf in ppoll () from /lib64/libc.so.6
#1  0x00007f7bdb16aecf in qemu_poll_ns (fds=0x7f7bdfde9860, nfds=3, timeout=63838219) at qemu-timer.c:322
#2  0x00007f7bdb169fcf in os_host_main_loop_wait (timeout=63838219) at main-loop.c:247
#3  0x00007f7bdb16a0a4 in main_loop_wait (nonblocking=0) at main-loop.c:502
#4  0x00007f7bdafbfc0d in main_loop () at vl.c:1902
#5  0x00007f7bdafc784c in main (argc=11, argv=0x7ffc7a785438, envp=0x7ffc7a785498) at vl.c:4653

Does it mean the qemu must use VNC to install RHEL OS? Thanks very much in advance!

Best Regards
Nan Xiao

reply via email to

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