[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/4] linux framebuffer display driver
From: |
Alon Levy |
Subject: |
Re: [Qemu-devel] [PATCH 0/4] linux framebuffer display driver |
Date: |
Tue, 11 Sep 2012 04:09:25 -0400 (EDT) |
> Hi,
>
> Undusting an pretty old patch series, rebasing it, testing it, fixing
> a bug or two, fixing codestyle issues: Qemu can run on the linux
> framebuffer console as graphical display now.
Patch 4 doesn't apply (hmp.h), missing SoB on a few patches.
Tested with Seabios. Works as advertised, tested console switching, quit,
serial console. Some minor point:
To switch to serial: Ctrl-Alt-1. To switch back to console output you have to
release Ctrl & release Alt, then repress them, i.e. can't just release 1 and
press 0.
Verified systemtap points using the following script:
$ cat scripts/simple-qemu-trace.py
#!/usr/bin/env python
import sys
start = sys.argv[1]
for line in sys.stdin:
if not line.startswith(start):
continue
probe = line.split('(')[0]
print """probe qemu.system.x86_64.%s {
printf("%s\\n");
}
""" % (probe, probe)
./scripts/simple-qemu-trace.py fbdev < trace-events | sudo stap -v -s1 -I
x86_64-softmmu -
>
> enjoy,
> Gerd
>
> Gerd Hoffmann (4):
> QLIST-ify display change listeners.
> add unregister_displaychangelistener
> fbdev: add linux framebuffer display driver.
> fbdev: add monitor command to enable/disable
>
> console.h | 86 +++--
> hmp-commands.hx | 15 +
> hmp.c | 9 +
> hmp.h | 1 +
> hw/xenfb.c | 2 +-
> qapi-schema.json | 15 +
> qemu-options.hx | 8 +
> qmp-commands.hx | 6 +
> qmp.c | 17 +
> sysemu.h | 1 +
> trace-events | 14 +
> ui/Makefile.objs | 1 +
> ui/fbdev.c | 953
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> ui/linux-keynames.h | 388 +++++++++++++++++++++
> vl.c | 50 ++-
> 15 files changed, 1518 insertions(+), 48 deletions(-)
> create mode 100644 ui/fbdev.c
> create mode 100644 ui/linux-keynames.h
>
>
>