qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] Unable to use -monitor option


From: Mike Lovell
Subject: Re: [Qemu-discuss] Unable to use -monitor option
Date: Tue, 04 Nov 2014 10:31:58 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2

On 11/04/2014 10:26 AM, 邓尧 wrote:
Hi,
I compiled qemu from source, everything seems to be find until I tried to use the -monitor option. qemu was conifgured as following:

'./configure' '--prefix=/opt/App/qemu' '--disable-sdl' '--enable-vnc' '--disable-xen' '--enable-vnc-tls' '--enable-vnc-sasl' '--enable-vnc-jpeg' '--enable-vnc-png' '--disable-curses' '--enable-kvm' '--disable-user' '--target-list=x86_64-softmmu i386-softmmu' '--enable-libusb' '--disable-gtk' '--extra-ldflags=-Wl,-rpath=/usr/local/lib'

The qemu command line is:
qemu-system-i386 x.img -monitor tcp:127.0.0.1:9999 <http://127.0.0.1:9999>,nowait,nodelay

Here are the error messages:
qemu-system-i386: -monitor tcp:0.0.0.0:9999 <http://0.0.0.0:9999>,nowait,nodelay: Failed to connect to socket: Connection refused qemu-system-i386: -monitor tcp:0.0.0.0:9999 <http://0.0.0.0:9999>,nowait,nodelay: chardev: opening backend "socket" failed

I tried similar command line options on Ubuntu, these options seem to be fine with Ubuntu, but doesn't work with the binaries compiled by myself.

What went wrong ?

Thanks.
Deng Yao

the options you have provided for the -monitor command instruct qemu to try to connect to 127.0.0.1:9999. is there something listening on that port to receive the connection from qemu? if you are intending for qemu to listen for connections, then you need to add the 'server' option to the monitor options. such as the following.

'-monitor tcp:127.0.0.1:9999,nowait,nodelay,server'

mike



reply via email to

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