[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Adding an additional console to the VM on x86
From: |
Thomas Huth |
Subject: |
Re: [Qemu-discuss] Adding an additional console to the VM on x86 |
Date: |
Fri, 16 Feb 2018 07:38:31 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 16.02.2018 04:45, Jintack Lim wrote:
> Hi,
>
> I was able to add an additional console to the VM on ARM like this,
>
> -chardev socket,server,host=*,nowait,port=6666,telnet,id=mychardev0
> -device virtio-serial-device
> -device virtconsole,chardev=mychardev0
>
> But the same command gave an error on x86.
>
> qemu-system-x86_64: -device virtio-serial-device: No 'virtio-bus' bus
> found for device 'virtio-serial-device'
>
> I wonder what would be the correct option to do that on x86?
AFAIK the "-device virtio-*-device" only works on ARM (with
virtio-mmio). On x86 and other platforms, please try to use "-device
virtio-serial-pci" instead, since x86 uses the virtio-pci transport.
Thomas