[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL v3 09/25] ui/console: allow to override the default VC
|
From: |
Stefan Hajnoczi |
|
Subject: |
Re: [PULL v3 09/25] ui/console: allow to override the default VC |
|
Date: |
Thu, 9 Nov 2023 19:34:45 +0800 |
On Thu, 9 Nov 2023 at 19:10, David Woodhouse <dwmw2@infradead.org> wrote:
>
> On Tue, 2023-11-07 at 14:15 +0400, marcandre.lureau@redhat.com wrote:
> > From: Marc-André Lureau <marcandre.lureau@redhat.com>
> >
> > If a display is backed by a specialized VC, allow to override the
> > default "vc:80Cx24C".
> >
> > As suggested by Paolo, if the display doesn't implement a VC (get_vc()
> > returns NULL), use a fallback that will use a muxed console on stdio.
> >
> > This changes the behaviour of "qemu -display none", to create a muxed
> > serial/monitor by default (on TTY & not daemonized).
> >
> > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> > Reviewed-by: Thomas Huth <thuth@redhat.com>
>
> Hrm. This breaks the command line documented at
> https://qemu-project.gitlab.io/qemu/system/i386/xen.html
>
> $ ./qemu-system-x86_64 --accel kvm,xen-version=0x40011,kernel-irqchip=split \
> -display none -chardev stdio,mux=on,id=char0,signal=off -mon char0 \
> -device xen-console,chardev=char0 -drive file=${GUEST_IMAGE},if=xen
>
> qemu-system-x86_64: cannot use stdio by multiple character devices
> qemu-system-x86_64: could not connect serial device to character backend
> 'stdio'
>
> Can we make it create a Xen console by default, instead of a serial
> port? And/or make it *not* use stdio if something else on the command
> line already does?
I have filed this in QEMU's bug tracker so it's not forgotten:
https://gitlab.com/qemu-project/qemu/-/issues/1974
Here is the list of open 8.2 bugs:
https://gitlab.com/qemu-project/qemu/-/milestones/10
Stefan
- [PULL v3 05/25] vl: drop needless -spice checks, (continued)
- [PULL v3 05/25] vl: drop needless -spice checks, marcandre . lureau, 2023/11/07
- [PULL v3 04/25] ui: add pixman-minimal.h, marcandre . lureau, 2023/11/07
- [PULL v3 03/25] ui: compile out some qemu-pixman functions when !PIXMAN, marcandre . lureau, 2023/11/07
- [PULL v3 06/25] qemu-options: define -vnc only #ifdef CONFIG_VNC, marcandre . lureau, 2023/11/07
- [PULL v3 08/25] vl: move display early init before default devices, marcandre . lureau, 2023/11/07
- [PULL v3 10/25] ui/vc: console-vc requires PIXMAN, marcandre . lureau, 2023/11/07
- [PULL v3 07/25] vl: simplify display_remote logic, marcandre . lureau, 2023/11/07
- [PULL v3 02/25] build-sys: drop needless warning pragmas for old pixman, marcandre . lureau, 2023/11/07
- [PULL v3 09/25] ui/console: allow to override the default VC, marcandre . lureau, 2023/11/07
- Re: [PULL v3 09/25] ui/console: allow to override the default VC, Peter Maydell, 2023/11/16
[PULL v3 14/25] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN, marcandre . lureau, 2023/11/07
[PULL v3 11/25] qmp/hmp: disable screendump if PIXMAN is missing, marcandre . lureau, 2023/11/07
[PULL v3 13/25] ui/console: when PIXMAN is unavailable, don't draw placeholder msg, marcandre . lureau, 2023/11/07
[PULL v3 12/25] virtio-gpu: replace PIXMAN for region/rect test, marcandre . lureau, 2023/11/07
[PULL v3 16/25] ui/vnc: VNC requires PIXMAN, marcandre . lureau, 2023/11/07
[PULL v3 18/25] ui/gtk: -display gtk requires PIXMAN, marcandre . lureau, 2023/11/07