[Top][All Lists]

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

Re: [Qemu-discuss] Virtioconsole problem

From: Eviatar Khen
Subject: Re: [Qemu-discuss] Virtioconsole problem
Date: Sat, 20 Oct 2012 15:34:44 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1

Thanks a lot for your help!

I am not sure regarding the command line, as I took it from the page. The intension was to open two consoles (hvc0 and hvc1), one for terminal and one for remote gdb debug. It is important to me to use the virtio-serial (multiport) as I need to understand its mechanism.
If I understand correctly the right command is:

./x86_64-softmmu/qemu-system-x86_64 -no-acpi -m 500 fedora17.img -device
virtio-serial -chardev socket,path=/tmp/foo,server,nowait,id=foo -chardev
socket,path=/tmp/bar,server,nowait,id=bar -device
virtconsole,chardev=foo,name=org.fedoraproject.console.foo -device

Does "virtconsole" opens virtio device?

Thanks again for this great help.


On 10/20/2012 01:15 PM, Dunrong Huang wrote:
2012/10/20 Eviatar Khen <address@hidden>:
Hello all,
On a linux machine I'm preforming the following command (with a binary
compiled from latest release):

./x86_64-softmmu/qemu-system-x86_64 -no-acpi -m 500 fedora17.img -device
virtio-serial -chardev socket,path=/tmp/foo,server,nowait,id=foo -chardev
socket,path=/tmp/bar,server,nowait,id=bar -device
virtioconsole,chardev=foo,name=org.fedoraproject.console.foo -device
Why did you use same name for different virtconsole name?
And I'm getting the following error:
qemu-system-x86_64: -device
virtioconsole,chardev=foo,name=org.fedoraproject.console.foo: Parameter
'driver' expects device type

virtioconsole has been deprecated, please use -device virtconsole or
-device virtio-serial
I'm new to qemu, could someone help me with this.
What am I doing wrong? What this error means? I took the line from:

The wiki is too old, it should be updated based on new QEMU code.
Thank you and best regards,


reply via email to

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