On Sat, Jan 25, 2025 at 07:13:34PM +0100, Philippe Mathieu-Daudé wrote:
> Some SysBus devices can optionally be dynamically plugged onto
> the sysbus-platform-bus (then virtual guests are aware of
> mmio mapping and IRQs via device tree / ACPI rules).
Do we have some sane way to have user-pluggabl
Gerd Hoffmann (3):
stdvga: fix screen blanking
ui+display: rename is_placeholder() -> surface_is_placeholder()
ui+display: rename is_buffer_shared() -> surface_is_allocated()
include/ui/surface.h| 6 +++---
hw/display/qxl-render.c | 2 +-
hw/display/vga.c
No functional change.
Signed-off-by: Gerd Hoffmann
---
include/ui/surface.h | 2 +-
ui/console.c | 2 +-
ui/sdl2-2d.c | 2 +-
ui/sdl2-gl.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/ui/surface.h b/include/ui/surface.h
index
/qemu-project/qemu/-/issues/2067
Signed-off-by: Gerd Hoffmann
---
hw/display/vga.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/hw/display/vga.c b/hw/display/vga.c
index 30facc6c8e33..474b6b14c327 100644
--- a/hw/display/vga.c
+++ b/hw/display/vga.c
@@ -1762,6 +1762,12 @@ static void
Boolean return value is reversed, to align with QEMU_ALLOCATED_FLAG, so
all callers must be adapted. Also rename share_surface variable in
vga_draw_graphic() to reduce confusion.
No functional change.
Suggested-by: Marc-André Lureau
Signed-off-by: Gerd Hoffmann
---
include/ui/surface.h
On Tue, Jun 04, 2024 at 10:27:18AM GMT, Marc-André Lureau wrote:
> Hi
>
> > +if (is_buffer_shared(surface)) {
>
> Perhaps the suggestion to rename the function (in the following patch)
> should instead be surface_is_allocated() ? that would match the actual
> flag check. But callers would hav
No functional change.
Signed-off-by: Gerd Hoffmann
---
include/ui/surface.h | 2 +-
ui/console.c | 2 +-
ui/sdl2-2d.c | 2 +-
ui/sdl2-gl.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/ui/surface.h b/include/ui/surface.h
index
/qemu-project/qemu/-/issues/2067
Signed-off-by: Gerd Hoffmann
---
hw/display/vga.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/hw/display/vga.c b/hw/display/vga.c
index 30facc6c8e33..474b6b14c327 100644
--- a/hw/display/vga.c
+++ b/hw/display/vga.c
@@ -1762,6 +1762,12 @@ static void
Gerd Hoffmann (3):
stdvga: fix screen blanking
ui+display: rename is_buffer_shared() -> surface_is_borrowed()
ui+display: rename is_placeholder -> surface_is_placeholder
include/ui/surface.h| 4 ++--
hw/display/qxl-render.c | 2 +-
hw/display/vga.c| 14 ++--
No functional change.
Suggested-by: Marc-André Lureau
Signed-off-by: Gerd Hoffmann
---
include/ui/surface.h| 2 +-
hw/display/qxl-render.c | 2 +-
hw/display/vga.c| 10 +-
hw/display/xenfb.c | 4 ++--
ui/console.c| 2 +-
5 files changed, 10 insertions
Hi,
> As virtio drivers are by design paravirt drivers ,I think it is reasonable
> to accept some knowledge with and cooperation with the host to manage
> suspend/resume.
Fair point.
In any case this needs a feature flag, so guest and host can negotiate
whenever this is supported or not.
virt
On Tue, Jun 20, 2023 at 01:26:15PM +0100, Robert Beckett wrote:
>
> On 20/06/2023 10:41, Gerd Hoffmann wrote:
> >Hi,
> >
> > > > The guest driver should be able to restore resources after resume.
> > > Thank you for your suggestion!
> > > As f
Hi,
> > The guest driver should be able to restore resources after resume.
>
> Thank you for your suggestion!
> As far as I know, resources are created on host side and guest has no backup,
> if resources are destroyed, guest can't restore them.
> Or do you mean guest driver need to send comma
Hi,
> Adding a new command requires new feature flag (and maybe it should be in
> the <0x1000 range instead)
>
> But I am not sure we need a new message at the virtio-gpu level. Gerd, wdyt?
>
> Maybe it's not a good place to reset all GPU resources during QEMU reset()
> after all, if it's call
Hi,
> Ok, we have as of today two changes:
>
> kraxel@sirius ~/projects/seabios (master)# git log --oneline rel-1.16.1..
> ea1b7a073390 xen: require Xen info structure at 0x1000 to detect Xen
> 645a64b4911d usb: fix wrong init of keyboard/mouse's if first interface is
> not boot protocol
On Tue, Mar 07, 2023 at 08:42:18AM +, David Woodhouse wrote:
> On Thu, 2023-02-02 at 10:10 +0100, Gerd Hoffmann wrote:
> > > Thanks, Kevin.
> > >
> > > I'd like to get the rest of the Xen platform support in to qemu 8.0
> > > if
> >
> Thanks, Kevin.
>
> I'd like to get the rest of the Xen platform support in to qemu 8.0 if
> possible. Which is currently scheduled for March.
>
> Is there likely to be a SeaBIOS release before then which Gerd would
> pull into qemu anyway, or should I submit a submodule update to a
> snapshot o
From: Dongwon Kim
It only needs to update the scanouts containing the rect area
coming with the resource-flush request from the guest.
Cc: Gerd Hoffmann
Cc: Vivek Kasireddy
Signed-off-by: Dongwon Kim
Message-Id: <20220505214030.4261-1-dongwon@intel.com>
Signed-off-by: Gerd Ho
ot;
Signed-off-by: Joelle van Dyne
Message-Id: <20220507041850.98716-...@getutm.app>
Signed-off-by: Gerd Hoffmann
---
hw/usb/redirect.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
index fd7df599bc0b..1bd30efc3ef0 100644
On Mon, Jun 13, 2022 at 08:52:21AM -0700, Richard Henderson wrote:
> On 6/13/22 04:36, Gerd Hoffmann wrote:
> > The following changes since commit dcb40541ebca7ec98a14d461593b3cd7282b4fac:
> >
> >Merge tag 'mips-20220611' of https://github.com/philmd/qemu into
ns, and prevents frequent changes
of the display mode.
Signed-off-by: Akihiko Odaki
Message-Id: <20220226115516.59830-3-akihiko.od...@gmail.com>
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 2 +-
include/ui/gtk.h | 2 +-
hw/display/xenfb.c | 14 +++---
ui/consol
From: Akihiko Odaki
Signed-off-by: Akihiko Odaki
Message-Id: <20220226115516.59830-4-akihiko.od...@gmail.com>
Signed-off-by: Gerd Hoffmann
---
include/hw/virtio/virtio-gpu.h | 1 +
hw/display/virtio-gpu-base.c | 1 +
hw/display/virtio-gpu.c| 1 +
3 files changed, 3 inse
it no longer fails)
This problem was previously reported as a seabios problem in
https://mail.coreboot.org/hyperkitty/list/seab...@seabios.org/thread/OUTHT5ISSQJGXPNTUPY3O5E5EPZJCHM3/
and as a nixos CI build failure in
https://github.com/NixOS/nixpkgs/issues/170803
Signed-off-by: Arnout Engelen
From: Akihiko Odaki
The returned value is not used and misleading.
Signed-off-by: Akihiko Odaki
Message-Id: <20220226115516.59830-2-akihiko.od...@gmail.com>
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 2 +-
hw/display/virtio-gpu-base.c | 6 +++---
hw/display/virtio
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0df25ed4b0a3..4cf6174f9f37 100644
--- a/MAINTAINERS
+++ b/M
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
hw/usb/canokey.c| 13 +
hw/usb/trace-events | 16
2 files changed, 29 insertions(+)
diff --git a/hw/usb/canokey.c b/hw/usb/canok
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
docs/system/device-emulation.rst | 1 +
docs/system/devices/canokey.rst | 168 +++
2 files changed, 169 insertions(+)
create mode 1
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
meson_options.txt | 2 ++
hw/usb/Kconfig| 5 +
hw/usb/meson.build| 5 +
meson.build | 6 +
B part was implemented in QEMU using QEMU's USB APIs,
therefore the emulated CanoKey can communicate with the guest OS using USB.
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
hw/usb/canokey.h | 69 +++
hw/usb/
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
docs/system/devices/usb.rst | 4
1 file changed, 4 insertions(+)
diff --git a/docs/system/devices/usb.rst b/docs/system/devices/usb.rst
index afb7d6c2268d..87
From: Volker Rümelin
The counterpart function for gd_gl_area_create_context() is
currently empty. Implement the gd_gl_area_destroy_context()
function to avoid GL context leaks.
Signed-off-by: Volker Rümelin
Message-Id: <20220605085131.7711-1-vr_q...@t-online.de>
Signed-off-by: Gerd Ho
;t have the latest OpenGL extensions fully implemented.
An example for this is the Intel i965 driver on a Haswell processor.
Signed-off-by: Volker Rümelin
Message-Id: <20220605085131.7711-2-vr_q...@t-online.de>
Signed-off-by: Gerd Hoffmann
---
ui/gtk-gl-area.c | 31 +++
From: Akihiko Odaki
Signed-off-by: Akihiko Odaki
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <20220529082508.89097-1-akihiko.od...@gmail.com>
Signed-off-by: Gerd Hoffmann
---
ui/cocoa.m | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/ui/cocoa.m b/ui/cocoa.m
The following changes since commit debd0753663bc89c86f5462a53268f2e3f680f60:
Merge tag 'pull-testing-next-140622-1' of https://github.com/stsquad/qemu
into staging (2022-06-13 21:10:57 -0700)
are available in the Git repository at:
git://git.kraxel.org/qemu tags/kraxel-20220614-pull-request
> > Hmm, build worked here and CI passed too.
> >
> > I think this is one of those cases where the build directory must be
> > deleted because one subdirectory is replaced by a compatibility
> > symlink.
>
> Except 'configure' deals with that, as it explicitly rm -rf's the
> symlink target:
>
>
On Mon, Jun 13, 2022 at 08:52:21AM -0700, Richard Henderson wrote:
> On 6/13/22 04:36, Gerd Hoffmann wrote:
> > The following changes since commit dcb40541ebca7ec98a14d461593b3cd7282b4fac:
> >
> >Merge tag 'mips-20220611' of https://github.com/philmd/qemu into
e source tree to the build tree.
Signed-off-by: Daniel P. Berrangé
Message-Id: <20220613084456.470068-1-berra...@redhat.com>
Signed-off-by: Gerd Hoffmann
---
configure | 4
pc-bios/meson.build | 1 -
{pc-bios => ui}/keymaps/ar | 0
From: Dongwon Kim
It only needs to update the scanouts containing the rect area
coming with the resource-flush request from the guest.
Cc: Gerd Hoffmann
Cc: Vivek Kasireddy
Signed-off-by: Dongwon Kim
Message-Id: <20220505214030.4261-1-dongwon@intel.com>
Signed-off-by: Gerd Ho
ot;
Signed-off-by: Joelle van Dyne
Message-Id: <20220507041850.98716-...@getutm.app>
Signed-off-by: Gerd Hoffmann
---
hw/usb/redirect.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
index fd7df599bc0b..1bd30efc3ef0 100644
ns, and prevents frequent changes
of the display mode.
Signed-off-by: Akihiko Odaki
Message-Id: <20220226115516.59830-3-akihiko.od...@gmail.com>
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 2 +-
include/ui/gtk.h | 2 +-
hw/display/xenfb.c | 14 +++---
ui/consol
From: Akihiko Odaki
The returned value is not used and misleading.
Signed-off-by: Akihiko Odaki
Message-Id: <20220226115516.59830-2-akihiko.od...@gmail.com>
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 2 +-
hw/display/virtio-gpu-base.c | 6 +++---
hw/display/virtio
From: Akihiko Odaki
Signed-off-by: Akihiko Odaki
Message-Id: <20220226115516.59830-4-akihiko.od...@gmail.com>
Signed-off-by: Gerd Hoffmann
---
include/hw/virtio/virtio-gpu.h | 1 +
hw/display/virtio-gpu-base.c | 1 +
hw/display/virtio-gpu.c| 1 +
3 files changed, 3 inse
it no longer fails)
This problem was previously reported as a seabios problem in
https://mail.coreboot.org/hyperkitty/list/seab...@seabios.org/thread/OUTHT5ISSQJGXPNTUPY3O5E5EPZJCHM3/
and as a nixos CI build failure in
https://github.com/NixOS/nixpkgs/issues/170803
Signed-off-by: Arnout Engelen
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
docs/system/device-emulation.rst | 1 +
docs/system/devices/canokey.rst | 168 +++
2 files changed, 169 insertions(+)
create mode 1
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0df25ed4b0a3..4cf6174f9f37 100644
--- a/MAINTAINERS
+++ b/M
From: Akihiko Odaki
Signed-off-by: Akihiko Odaki
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <20220529082508.89097-1-akihiko.od...@gmail.com>
Signed-off-by: Gerd Hoffmann
---
ui/cocoa.m | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/ui/cocoa.m b/ui/cocoa.m
B part was implemented in QEMU using QEMU's USB APIs,
therefore the emulated CanoKey can communicate with the guest OS using USB.
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
hw/usb/canokey.h | 69 +++
hw/usb/
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
meson_options.txt | 2 ++
hw/usb/Kconfig| 5 +
hw/usb/meson.build| 5 +
meson.build | 6 +
From: Volker Rümelin
The counterpart function for gd_gl_area_create_context() is
currently empty. Implement the gd_gl_area_destroy_context()
function to avoid GL context leaks.
Signed-off-by: Volker Rümelin
Message-Id: <20220605085131.7711-1-vr_q...@t-online.de>
Signed-off-by: Gerd Ho
The following changes since commit dcb40541ebca7ec98a14d461593b3cd7282b4fac:
Merge tag 'mips-20220611' of https://github.com/philmd/qemu into staging
(2022-06-11 21:13:27 -0700)
are available in the Git repository at:
git://git.kraxel.org/qemu tags/kraxel-20220613-pull-request
for you to f
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
docs/system/devices/usb.rst | 4
1 file changed, 4 insertions(+)
diff --git a/docs/system/devices/usb.rst b/docs/system/devices/usb.rst
index afb7d6c2268d..87
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
hw/usb/canokey.c| 13 +
hw/usb/trace-events | 16
2 files changed, 29 insertions(+)
diff --git a/hw/usb/canokey.c b/hw/usb/canok
;t have the latest OpenGL extensions fully implemented.
An example for this is the Intel i965 driver on a Haswell processor.
Signed-off-by: Volker Rümelin
Message-Id: <20220605085131.7711-2-vr_q...@t-online.de>
Signed-off-by: Gerd Hoffmann
---
ui/gtk-gl-area.c | 31 +++
From: Akihiko Odaki
The returned value is not used and misleading.
Signed-off-by: Akihiko Odaki
Message-Id: <20220226115516.59830-2-akihiko.od...@gmail.com>
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 2 +-
hw/display/virtio-gpu-base.c | 6 +++---
hw/display/virtio
From: Dongwon Kim
It only needs to update the scanouts containing the rect area
coming with the resource-flush request from the guest.
Cc: Gerd Hoffmann
Cc: Vivek Kasireddy
Signed-off-by: Dongwon Kim
Message-Id: <20220505214030.4261-1-dongwon@intel.com>
Signed-off-by: Gerd Ho
ime arrangement
does not need to be reflected in the source tree arrangement. These
keymaps logically belong with the UI code.
Signed-off-by: Daniel P. Berrangé
Message-Id: <20220426160150.812530-1-berra...@redhat.com>
Signed-off-by: Gerd Hoffmann
---
pc-bios/meson.build
From: Akihiko Odaki
Signed-off-by: Akihiko Odaki
Message-Id: <20220226115516.59830-4-akihiko.od...@gmail.com>
Signed-off-by: Gerd Hoffmann
---
include/hw/virtio/virtio-gpu.h | 1 +
hw/display/virtio-gpu-base.c | 1 +
hw/display/virtio-gpu.c| 1 +
3 files changed, 3 inse
ns, and prevents frequent changes
of the display mode.
Signed-off-by: Akihiko Odaki
Message-Id: <20220226115516.59830-3-akihiko.od...@gmail.com>
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 2 +-
include/ui/gtk.h | 2 +-
hw/display/xenfb.c | 14 +++---
ui/consol
ot;
Signed-off-by: Joelle van Dyne
Message-Id: <20220507041850.98716-...@getutm.app>
Signed-off-by: Gerd Hoffmann
---
hw/usb/redirect.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
index fd7df599bc0b..1bd30efc3ef0 100644
it no longer fails)
This problem was previously reported as a seabios problem in
https://mail.coreboot.org/hyperkitty/list/seab...@seabios.org/thread/OUTHT5ISSQJGXPNTUPY3O5E5EPZJCHM3/
and as a nixos CI build failure in
https://github.com/NixOS/nixpkgs/issues/170803
Signed-off-by: Arnout Engelen
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
docs/system/devices/usb.rst | 4
1 file changed, 4 insertions(+)
diff --git a/docs/system/devices/usb.rst b/docs/system/devices/usb.rst
index afb7d6c2268d..87
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 5580a36b68e1..4ae9d707d5b0 100644
--- a/MAINTAINERS
+++ b/M
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
docs/system/device-emulation.rst | 1 +
docs/system/devices/canokey.rst | 168 +++
2 files changed, 169 insertions(+)
create mode 1
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
meson_options.txt | 2 ++
hw/usb/Kconfig| 5 +
hw/usb/meson.build| 5 +
meson.build | 6 +
B part was implemented in QEMU using QEMU's USB APIs,
therefore the emulated CanoKey can communicate with the guest OS using USB.
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
hw/usb/canokey.h | 69 +++
hw/usb/
;t have the latest OpenGL extensions fully implemented.
An example for this is the Intel i965 driver on a Haswell processor.
Signed-off-by: Volker Rümelin
Message-Id: <20220605085131.7711-2-vr_q...@t-online.de>
Signed-off-by: Gerd Hoffmann
---
ui/gtk-gl-area.c | 31 +++
From: "Hongren (Zenithal) Zheng"
Signed-off-by: Hongren (Zenithal) Zheng
Message-Id:
Signed-off-by: Gerd Hoffmann
---
hw/usb/canokey.c| 13 +
hw/usb/trace-events | 16
2 files changed, 29 insertions(+)
diff --git a/hw/usb/canokey.c b/hw/usb/canok
From: Bernhard Beschow
The tables contain spcifically crafted constants for algorithms, so make
them immutable.
Signed-off-by: Bernhard Beschow
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <20220520180109.8224-3-shen...@gmail.com>
Signed-off-by: Gerd Hoffmann
---
hw/audio/cs4231a
The following changes since commit 9cc1bf1ebca550f8d90f967ccd2b6d2e00e81387:
Merge tag 'pull-xen-20220609' of
https://xenbits.xen.org/git-http/people/aperard/qemu-dm into staging
(2022-06-09 08:25:17 -0700)
are available in the Git repository at:
git://git.kraxel.org/qemu tags/kraxel-20220
From: Akihiko Odaki
Signed-off-by: Akihiko Odaki
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <20220529082508.89097-1-akihiko.od...@gmail.com>
Signed-off-by: Gerd Hoffmann
---
ui/cocoa.m | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/ui/cocoa.m b/ui/cocoa.m
From: Volker Rümelin
The counterpart function for gd_gl_area_create_context() is
currently empty. Implement the gd_gl_area_destroy_context()
function to avoid GL context leaks.
Signed-off-by: Volker Rümelin
Message-Id: <20220605085131.7711-1-vr_q...@t-online.de>
Signed-off-by: Gerd Ho
Hi,
> > > > (1) add refresh_rate
> > > > (2) update users one by one
> > > > (3) finally drop update_interval when no user is left.
> > > >
> > > > thanks,
> > > > Gerd
> > > >
> > >
> > > I think 1 and 3 should have to be done once since refresh_rate and
> > > update_interval would inter
On Thu, Jun 09, 2022 at 08:45:41PM +0900, Akihiko Odaki wrote:
> On 2022/06/09 19:28, Gerd Hoffmann wrote:
> > > --- a/include/ui/console.h
> > > +++ b/include/ui/console.h
> > > @@ -139,6 +139,7 @@ typedef struct QemuUIInfo {
> > > int
> --- a/include/ui/console.h
> +++ b/include/ui/console.h
> @@ -139,6 +139,7 @@ typedef struct QemuUIInfo {
> int yoff;
> uint32_t width;
> uint32_t height;
> +uint32_t refresh_rate;
> } QemuUIInfo;
>
> /* cursor data format is 32bit RGBA */
> @@ -426,7 +427,6 @@ typ
Hi,
> -static void xenfb_update_interval(void *opaque, uint64_t interval)
> +static void xenfb_ui_info(void *opaque, uint32_t idx, QemuUIInfo *info)
> -.update_interval = xenfb_update_interval,
> +.ui_info = xenfb_ui_info,
Hmm, I suspect xenfb really wants the actual refresh rate,
On Fri, Feb 26, 2021 at 01:47:38PM +0900, Akihiko Odaki wrote:
> 2021年2月25日(木) 20:46 Gerd Hoffmann :
> >
> > Hi,
> >
> > > > Because of the wasted frames I'd like this to be an option you can
> > > > enable when needed. For the majorit
Hi,
> > Because of the wasted frames I'd like this to be an option you can
> > enable when needed. For the majority of use cases this seems to be
> > no problem ...
>
> I see blinks with GNOME on Wayland on Ubuntu 20.04 and virtio-gpu with
> the EDID change included in this patch.
/me looks c
On Tue, Feb 23, 2021 at 01:50:51PM +0900, Akihiko Odaki wrote:
> 2021年2月22日(月) 19:57 Gerd Hoffmann :
> >
> > On Sun, Feb 21, 2021 at 10:34:14PM +0900, Akihiko Odaki wrote:
> > > This change introduces an additional member, refresh_rate to
> > > qemu_edid_
On Sun, Feb 21, 2021 at 10:34:14PM +0900, Akihiko Odaki wrote:
> This change introduces an additional member, refresh_rate to
> qemu_edid_info in include/hw/display/edid.h.
>
> This change also isolates the graphics update interval from the
> display update interval. The guest will update the fram
> > > The comments I've found suggest very much not ... Or is that all very
> > > old stuff only that no one cares about anymore?
> >
> > I think these days it is possible to override dma_ops per device, which
> > in turn allows virtio to deal with the quirks without the rest of the
> > kernel kno
On Mon, Sep 07, 2020 at 03:53:02PM +0200, Daniel Vetter wrote:
> On Mon, Sep 7, 2020 at 1:24 PM Gerd Hoffmann wrote:
> >
> > Add drm_device argument to drm_prime_pages_to_sg(), so we can
> > call dma_max_mapping_size() to figure the segment size limit
> > and call into
gnore segment size limits
so far ...
v2: place max_segment in drm driver not gem object.
v3: move max_segment next to the other gem fields.
v4: just use dma_max_mapping_size().
Signed-off-by: Gerd Hoffmann
---
include/drm/drm_prime.h | 3 ++-
drivers/gpu/drm/amd/a
> > + /**
> > +* @max_segment:
> > +*
> > +* Max size for scatter list segments. When unset the default
> > +* (SCATTERLIST_MAX_SEGMENT) is used.
> > +*/
> > + size_t max_segment;
>
> Is there no better place for this then "at the bottom"? drm_device is a
> huge structure,
drm driver not gem object.
v3: move max_segment next to the other gem fields.
Signed-off-by: Gerd Hoffmann
---
include/drm/drm_device.h| 8
include/drm/drm_prime.h | 3 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 3 ++-
drivers/gpu/drm
drm driver not gem object.
Signed-off-by: Gerd Hoffmann
---
include/drm/drm_device.h| 8
include/drm/drm_prime.h | 3 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 3 ++-
drivers/gpu/drm/drm_gem_shmem_helper.c | 3 ++-
drivers/gpu/drm
Hi,
> > > I'm missing an explanation why this should be useful (it certainly is).
> > virtio-gpu needs this to work properly with SEV (see patch 2/2 of this
> > series).
>
> Yeah, that's the problem patch 2/2 never showed up here :)
The list should have everything.
Your inbox probably has 1/2
On Tue, Aug 18, 2020 at 09:57:59AM +0200, Christian König wrote:
> Am 18.08.20 um 09:48 schrieb Gerd Hoffmann:
> > Add max_segment argument to drm_prime_pages_to_sg(). When set pass it
> > through to the __sg_alloc_table_from_pages() call, otherwise use
> > SCATTERLIST_MAX_S
Add max_segment argument to drm_prime_pages_to_sg(). When set pass it
through to the __sg_alloc_table_from_pages() call, otherwise use
SCATTERLIST_MAX_SEGMENT.
Also add max_segment field to gem objects and pass it to
drm_prime_pages_to_sg() calls in drivers and helpers.
Signed-off-by: Gerd
On Sat, Jul 04, 2020 at 04:49:17PM +0200, Philippe Mathieu-Daudé wrote:
> Hi,
>
> This is the second time I try to replace a magic typename string
> by a constant, and Zoltan warns me this is counter productive as
> "hw/usb.h" pulls in an insane amount of code.
>
> Time to give the usb subsystem
Not useful for microvm and allows users to shoot themself
into the foot (make ram + mmio overlap).
Signed-off-by: Gerd Hoffmann
Reviewed-by: Igor Mammedov
Acked-by: Paolo Bonzini
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Michael S. Tsirkin
Message-id: 20200529073957.8018-3-kra
Place virtio-mmio devices near the other mmio regions,
next ioapic is at @ 0xfec0.
Signed-off-by: Gerd Hoffmann
Reviewed-by: Michael S. Tsirkin
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Igor Mammedov
Reviewed-by: Paul Durrant
Acked-by: Paolo Bonzini
Message-id
Move from X86MachineClass to PCMachineClass so it disappears
from microvm machine type property list.
Signed-off-by: Gerd Hoffmann
Reviewed-by: Philippe Mathieu-Daudé
Acked-by: Paolo Bonzini
Reviewed-by: Michael S. Tsirkin
Reviewed-by: Igor Mammedov
Reviewed-by: Paul Durrant
Message-id
fig tweaks
----
Gerd Hoffmann (4):
microvm: use 3G split unconditionally
microvm: drop max-ram-below-4g support
x86: move max-ram-below-4g to pc
microvm: move virtio base to 0xfeb0
include/hw/i386/microvm.h | 2 +-
include/hw/i386/pc.h | 2 ++
include/hw/
hough. So split @ 3G unconditionally.
Signed-off-by: Gerd Hoffmann
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Igor Mammedov
Acked-by: Paolo Bonzini
Reviewed-by: Michael S. Tsirkin
Message-id: 20200529073957.8018-2-kra...@redhat.com
---
hw/i386/microvm.c | 16 +---
1 file chang
On Mon, Jun 08, 2020 at 03:25:07PM +0200, Gerd Hoffmann wrote:
> Ping. Anyone going to pick this up? MAINTAINERS lists Sergio+Paolo ...
> Or should I send a pull req myself?
Hmm, no reply. I guess that means "send a pull req" ...
take care,
Gerd
On Fri, May 29, 2020 at 09:39:53AM +0200, Gerd Hoffmann wrote:
> With more microvm memory config tweaks split this into its owns series,
> the microvm acpi patch series is already big enough ...
>
> v2:
> - use 3G split.
> - add patch to move virtio-mmio region.
> - p
Move from X86MachineClass to PCMachineClass so it disappears
from microvm machine type property list.
Signed-off-by: Gerd Hoffmann
Reviewed-by: Philippe Mathieu-Daudé
Acked-by: Paolo Bonzini
---
include/hw/i386/pc.h | 2 ++
include/hw/i386/x86.h | 4
hw/i386/pc.c | 46
With more microvm memory config tweaks split this into its owns series,
the microvm acpi patch series is already big enough ...
v2:
- use 3G split.
- add patch to move virtio-mmio region.
- pick up acks & reviews.
v3:
- fix xen build.
- pick up acks & reviews.
take care,
Ge
Not useful for microvm and allows users to shoot themself
into the foot (make ram + mmio overlap).
Signed-off-by: Gerd Hoffmann
Reviewed-by: Igor Mammedov
Acked-by: Paolo Bonzini
Reviewed-by: Philippe Mathieu-Daudé
---
hw/i386/microvm.c | 19 ---
1 file changed, 19 deletions
hough. So split @ 3G unconditionally.
Signed-off-by: Gerd Hoffmann
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Igor Mammedov
Acked-by: Paolo Bonzini
---
hw/i386/microvm.c | 16 +---
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/hw/i386/microvm.c b/hw/i386/micr
1 - 100 of 116 matches
Mail list logo