Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #69714 > unrolled thread

Bug#983934: linux-image-5.3.0-3-amd64: guest kernel fails inside qemu VM with qxl displays (BUG: unable to handle page fault)

Started byBernhard Übelacker <bernhardu@mailbox.org>
First post2021-03-06 10:50 +0100
Last post2021-03-06 10:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#983934: linux-image-5.3.0-3-amd64: guest kernel fails inside qemu VM with qxl displays (BUG: unable to handle page fault) Bernhard Übelacker <bernhardu@mailbox.org> - 2021-03-06 10:50 +0100

#69714 — Bug#983934: linux-image-5.3.0-3-amd64: guest kernel fails inside qemu VM with qxl displays (BUG: unable to handle page fault)

FromBernhard Übelacker <bernhardu@mailbox.org>
Date2021-03-06 10:50 +0100
SubjectBug#983934: linux-image-5.3.0-3-amd64: guest kernel fails inside qemu VM with qxl displays (BUG: unable to handle page fault)
Message-ID<BPBJn-7js-1@gated-at.bofh.it>
Dear Maintainer,
I investigated a bit further and came across this document [1].
There it is stated that in Linux usually a single qxl device with
multiple outputs [2] is used and in Windows multiple qxl devices with
a single output each [3].

Using with a Linux guest the suggested multiple outputs of a single
qxl device does not produce the kernel oops and works perfect.

This kernel issue is just visible with multiple qxl devices and a Linux guest,
therefore is kind of an unusual setup, nevertheless was not causing
this kernel oops up until 5.2 and fails afterwards.

Kind regards,
Bernhard

[1] https://www.spice-space.org/multiple-monitors.html, paragraph "Spice Protocol"

[2] QEmu parameter: "... -device qxl-vga,max_outputs=4,... ..."
[3] QEmu parameter: "... -device qxl-vga                   -device qxl ..."



As a side note:
In my tests with multiple qxl devices and watching the Linux guest
with remote-viewer the mouse pointer was always stuck at one position.

Debugging remote-viewer/Qemu shows that if multiple qxl devices are used,
the mouse mode gets set to "server", therefore no absolute
but just relative mouse movements get sent to the VM.
My guess is that the guest qxl driver on Linux does
currently not implement that mode.
spice-0.14.3/server/reds.c:640, reds_update_mouse_mode:
SPICE_MOUSE_MODE_CLIENT / SPICE_MOUSE_MODE_SERVER

[toc] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web