Re: [Qemu-devel] [PATCH v2 1/4] spice: switch to queue for vga mode updates

2012-09-06 Thread Gerd Hoffmann
On 09/06/12 14:07, Kevin Wolf wrote: > SoB is missing in this one. Added. thanks, Gerd

Re: [Qemu-devel] [PATCH 3/4] wakeup: make serial configurable

2012-09-09 Thread Gerd Hoffmann
Hi, >>> It seems a bit odd that this is done in the ISA serial model >>> itself and not by the next level up wiring up some output >>> of the ISA serial device to some appropriate input... >> >> Suggestions how to do that are welcome. Preferably some which don't >> break on 'qemu -nodefault -de

Re: [Qemu-devel] [PATCH] qxl: Ignore set_client_capabilities pre/post migrate

2012-09-10 Thread Gerd Hoffmann
On 09/07/12 21:48, Hans de Goede wrote: > The recent introduction of set_client_capabilities has broken > (seamless) migration by trying to call qxl_send_events pre (seamless > incoming) and post (*) migration, triggering the following assert: > qxl_send_events: Assertion `qemu_spice_display_is_run

Re: [Qemu-devel] [PATCH 0/2] ehci: Misc fixes

2012-09-10 Thread Gerd Hoffmann
On 09/10/12 12:44, Hans de Goede wrote: > Here is a better version of the "ehci: Don't process too much frames in 1 > timer tick" patch, replacing the one from my last pull-req, as well as a > small bugfix for an issue I noticed while working on this. > > Thanks & Regards, > > Hans Patches added

Re: [Qemu-devel] [PULL 00/54] usb patch queue

2012-09-10 Thread Gerd Hoffmann
Hi, > | hw/usb/hcd-xhci.c: In function ‘xhci_fire_ctl_transfer’: > | hw/usb/hcd-xhci.c:1508:14: error: variable ‘wLength’ set but not used > [-Werror=unused-but-set-variable] Pushed updated branch usb.63 (same as usb.62 + one incremental fix). cheers, Gerd

[Qemu-devel] [PATCH 4/4] fbdev: add monitor command to enable/disable

2012-09-10 Thread Gerd Hoffmann
This patch adds a fbdev monitor command to enable/disable the fbdev display at runtime to both qmp and hmp. qmp: fbdev enable=on|off hmp: fbdev on|off --- hmp-commands.hx | 15 +++ hmp.c|9 + hmp.h|1 + qapi-schema.json | 15 +++

[Qemu-devel] [PATCH 0/4] linux framebuffer display driver

2012-09-10 Thread Gerd Hoffmann
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. enjoy, Gerd Gerd Hoffmann (4): QLIST-ify display change listeners. add

[Qemu-devel] [PATCH 2/4] add unregister_displaychangelistener

2012-09-10 Thread Gerd Hoffmann
Also change the way the gui_timer is initialized: each time a displaychangelistener is registered or unregistered we'll check whenever we need a timer (due to dpy_refresh callback being present) and if so setup a timer, otherwise zap it. This way the gui timer works correctly with displaychangelis

[Qemu-devel] [PATCH 1/4] QLIST-ify display change listeners.

2012-09-10 Thread Gerd Hoffmann
--- console.h | 72 +++ hw/xenfb.c |2 +- vl.c |9 ++- 3 files changed, 42 insertions(+), 41 deletions(-) diff --git a/console.h b/console.h index 4334db5..5a1abe9 100644 --- a/console.h +++ b/console.h @@ -162,7 +162,7

[Qemu-devel] [PATCH 3/4] fbdev: add linux framebuffer display driver.

2012-09-10 Thread Gerd Hoffmann
ally requires root privileges to open /dev/tty). Signed-off-by: Gerd Hoffmann --- console.h |4 + qemu-options.hx |8 + sysemu.h|1 + trace-events| 14 + ui/Makefile.objs|1 + ui/fbdev.c | 953

Re: [Qemu-devel] [PULL 00/54] usb patch queue

2012-09-10 Thread Gerd Hoffmann
On 09/10/12 19:49, Anthony Liguori wrote: > Andreas Färber writes: > >> Am 10.09.2012 15:37, schrieb Gerd Hoffmann: >>> Hi, >>> >>>> | hw/usb/hcd-xhci.c: In function ‘xhci_fire_ctl_transfer’: >>>> | hw/usb/hcd-xhci.c:1508:14: error: variabl

Re: [Qemu-devel] [PATCH 3/3] hw/qxl: support client monitor configuration via device

2012-09-11 Thread Gerd Hoffmann
On 09/11/12 08:56, Alon Levy wrote: > Until now we used only the agent to change the monitor count and each > monitor resolution. This patch introduces the qemu part of using the > device as the mediator instead of the agent via virtio-serial. > > Spice (>=0.11.5) calls the new QXLInterface::clien

Re: [Qemu-devel] [PATCH 0/4] linux framebuffer display driver

2012-09-11 Thread Gerd Hoffmann
On 09/11/12 10:09, Alon Levy wrote: >> 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 patc

Re: [Qemu-devel] Implementing qxl-virtio on QEMU

2012-09-11 Thread Gerd Hoffmann
On 08/27/12 08:08, Gerd Hoffmann wrote: > On 08/24/12 21:14, Erlon Cruz wrote: >> The following patches makes provides video support to non PCI architectures, >> please review! > > Can you give an overview on the virtio-qxl virtual hardware design? Self-reply-ing. There

Re: [Qemu-devel] [PATCH 3/3] hw/qxl: support client monitor configuration via device

2012-09-11 Thread Gerd Hoffmann
Hi, >> I don't think an explicit handshake via >> QXL_IO_CLIENT_MONITORS_CONFIG_DONE is a good idea. > > Why? I don't see the below as being better - it just moves the checking to > the guest, and racily. It is more robust. We don't have to keep state in qxl for the handshake, one less oppor

Re: [Qemu-devel] [PATCH 3/3] hw/qxl: support client monitor configuration via device

2012-09-11 Thread Gerd Hoffmann
On 09/11/12 13:29, Alon Levy wrote: >> Hi, >> I don't think an explicit handshake via QXL_IO_CLIENT_MONITORS_CONFIG_DONE is a good idea. >>> >>> Why? I don't see the below as being better - it just moves the >>> checking to the guest, and racily. >> >> It is more robust. > > I sugge

Re: [Qemu-devel] [PATCH 3/3] hw/qxl: support client monitor configuration via device

2012-09-11 Thread Gerd Hoffmann
Hi, > This will need spice-server <-> qemu/hw/qxl.c coordination, but I assume we > will need some changes there anyway to set > QXL_INTERRUPT_CLIENT_MONITORS_CONFIG, > the qemu/hw/qxl.c function patching the MonitorsConfig into the romspace, > and setting the irq in int_pending, could return wh

Re: [Qemu-devel] [PATCH 3/3] hw/qxl: support client monitor configuration via device

2012-09-11 Thread Gerd Hoffmann
> ok, I'm missing something here. (and trying to catch up via Vol 3A is taking > too long). > I thought the order is: > (1) qemu raises interrupt > (2) qemu calls kvm ioctl > (3) guest interrupt handler > (4) guest clears interrupt by writing ~0 to qxl ram_header->int_mask. > (5) qemu detects this

Re: [Qemu-devel] [PATCH] configure: usbredir fixes

2012-09-11 Thread Gerd Hoffmann
On 09/11/12 20:57, Aurelien Jarno wrote: > usbredir is only used by system emulation, so add the libraries to > libs_softmmu instead of LIBS. Patch added to usb patch queue. thanks, Gerd

Re: [Qemu-devel] [PATCH 0/2] ehci: Misc fixes

2012-09-11 Thread Gerd Hoffmann
Hi, > http://cgit.freedesktop.org/~jwrdegoede/qemu/log/?h=usb-for-gerd > > Except for the "ehci: Don't process too much frames in 1 timer tick" > patch as you've already added v2 of that :) > > If you want I can re-spin and send them as patches to the list. Phew, usb backlog is merged. Can y

Re: [Qemu-devel] [PATCH 1/9] ehci: Don't set seen to 0 when removing unseen queue-heads

2012-09-12 Thread Gerd Hoffmann
On 09/12/12 15:08, Hans de Goede wrote: > When removing unseen queue-heads from the async queue list, we should not > set the seen flag to 0, as this may cause them to be removed by > ehci_queues_rip_unused() during the next call to ehci_advance_async_state() > if the timer is late or running at a

Re: [Qemu-devel] [PATCH 0/3] client monitors config support

2012-09-12 Thread Gerd Hoffmann
On 09/12/12 15:13, Alon Levy wrote: > - no addition of guest capabilities, use interrupt mask instead, ignore >0 or ~0 that are set by current windows driver. > - use crc to solve possible write while read. > - limit heads to 64, statically allocated on rom by host. > - some misc trace fixe

Re: [Qemu-devel] [PATCH] configure: Fix "configure: usbredir fixes" to not break softmmu builds

2012-09-13 Thread Gerd Hoffmann
On 09/13/12 09:31, Hans de Goede wrote: > -libs_softmmu="$LIBS $usb_redir_libs" > +libs_softmmu="$libs_softmmu $usb_redir_libs" Good point ;) Fix squashed in. thanks, Gerd

[Qemu-devel] [PATCH 13/14] usb-redir: Revert usb-redir part of commit 93bfef4c

2012-09-13 Thread Gerd Hoffmann
-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- hw/usb/redirect.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index 9a4be6d..b10241a 100644 --- a/hw/usb/redirect.c +++ b/hw/usb/redirect.c @@ -142,6 +142,8 @@ static

[Qemu-devel] [PULL 00/10] spice patch queue

2012-09-13 Thread Gerd Hoffmann
ration via device Dunrong Huang (1): qxl: dont update invalid area Gerd Hoffmann (4): spice: switch to queue for vga mode updates spice: split qemu_spice_create_update spice: add screen mirror spice: send updates only for changed screen content Hans de Goede (1):

[Qemu-devel] [PATCH 10/10] hw/qxl: support client monitor configuration via device

2012-09-13 Thread Gerd Hoffmann
gned-off-by: Alon Levy Signed-off-by: Gerd Hoffmann --- configure|7 + hw/qxl.c | 79 ++ trace-events |6 +++- 3 files changed, 91 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 7656c32..c75c51

[Qemu-devel] [PATCH 02/14] ehci: switch to new-style memory ops

2012-09-13 Thread Gerd Hoffmann
access handling to the memory core also has the side effect of fixing ehci register access on bigendian hosts. Cc: David Gibson Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-ehci.c | 173 ++--- trace-events |9 ++- 2 files changed, 90

[Qemu-devel] [PATCH 02/10] spice: split qemu_spice_create_update

2012-09-13 Thread Gerd Hoffmann
Creating one function which creates a single update for a given rectangle. And one (for now) pretty simple wrapper around it to queue up screen updates for the dirty region. [ v2: also update bounding box ] Signed-off-by: Gerd Hoffmann --- ui/spice-display.c | 31

[Qemu-devel] [PULL 00/14] usb patch queue

2012-09-13 Thread Gerd Hoffmann
u (2012-09-11 18:06:56 +0200) are available in the git repository at: git://git.kraxel.org/qemu usb.65 Aurelien Jarno (1): configure: usbredir fixes Gerd Hoffmann (2): usb-host: allow emulated (non-async) control requests without USBPacket ehci: switch to new-style memory op

[Qemu-devel] [PATCH 11/14] usb-redir: Add support for migration

2012-09-13 Thread Gerd Hoffmann
From: Hans de Goede Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- hw/usb/redirect.c | 349 - 1 files changed, 346 insertions(+), 3 deletions(-) diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index 3196665..5e987e9

[Qemu-devel] [PATCH 03/10] spice: add screen mirror

2012-09-13 Thread Gerd Hoffmann
Create a screen mirror, keep there a copy of the most recent update passed on to spice-server. Signed-off-by: Gerd Hoffmann --- ui/spice-display.c | 32 ++-- ui/spice-display.h |1 + 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/ui/spice

[Qemu-devel] [PATCH 05/10] qxl: dont update invalid area

2012-09-13 Thread Gerd Hoffmann
:4599:red_update_area: condition `area->left >= 0 && area->top >= 0 && area->left < area->right && area->top < area->bottom' failed Aborted spice server terminates QEMU process if we pass invalid area to it, so dont update those invali

[Qemu-devel] [PATCH 3/3] ivshmem: add 64bit option

2012-09-13 Thread Gerd Hoffmann
y for post-1.2 merge ] [ v4: rebase & adapt to latest master again ] [ v3: rebase & adapt to latest master ] [ v2: default to on as suggested by avi, turn off for pc-$old using compat property ] Signed-off-by: Gerd Hoffmann Tested-by: Cam Macdonell --- hw/ivshmem.c | 13 +

[Qemu-devel] [PATCH 0/3] add pc-1.3, fix xhci comat, ivshmem 64bit option

2012-09-13 Thread Gerd Hoffmann
64' of git://git.kraxel.org/qemu (2012-09-11 18:06:56 +0200) are available in the git repository at: git://git.kraxel.org/qemu misc.1 Gerd Hoffmann (3): add pc-1.3 machine type compat: turn off msi/msix on xhci for old machine types ivshmem: add 64bit option hw/i

[Qemu-devel] [PATCH 2/3] compat: turn off msi/msix on xhci for old machine types

2012-09-13 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/pc_piix.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 5a0796b..afd8361 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -358,14 +358,30 @@ static QEMUMachine pc_machine_v1_3

[Qemu-devel] [PATCH 1/3] add pc-1.3 machine type

2012-09-13 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/pc_piix.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 88ff041..5a0796b 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -349,8 +349,8 @@ static void pc_xen_hvm_init(ram_addr_t ram_size

[Qemu-devel] [PATCH 06/14] ehci: Don't set seen to 0 when removing unseen queue-heads

2012-09-13 Thread Gerd Hoffmann
ehci_queues_rip_unseen() multiple times, which gets used in the folluw up patch titled: "ehci: Walk async schedule before and after migration" Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-ehci.c | 24 ++-- 1 files changed, 18 insert

[Qemu-devel] [PATCH v2 7/9] fbdev: move to pixman

2012-09-13 Thread Gerd Hoffmann
Stop reinventing the wheel. Use the pixman library for raster ops. Signed-off-by: Gerd Hoffmann --- configure | 12 ui/fbdev.c | 172 +++ 2 files changed, 114 insertions(+), 70 deletions(-) diff --git a/configure b/configure

[Qemu-devel] [PATCH v2 2/9] add unregister_displaychangelistener

2012-09-13 Thread Gerd Hoffmann
with displaychangelisteners coming and going. Signed-off-by: Gerd Hoffmann --- console.h | 10 ++ vl.c | 31 +++ 2 files changed, 33 insertions(+), 8 deletions(-) diff --git a/console.h b/console.h index 646ad4b..48fef22 100644 --- a/console.h +++ b/console.h @@ -

[Qemu-devel] [PATCH v2 3/9] move set_mouse + cursor_define callbacks

2012-09-13 Thread Gerd Hoffmann
When adding DisplayChangeListeners the set_mouse and cursor_define callbacks have been left in DisplayState for some reason. Fix it. Signed-off-by: Gerd Hoffmann --- console.c |2 +- console.h | 39 +++ hw/jazz_led.c |2

[Qemu-devel] [PATCH v2 5/9] fbdev: add monitor command to enable/disable

2012-09-13 Thread Gerd Hoffmann
This patch adds a fbdev monitor command to enable/disable the fbdev display at runtime to both qmp and hmp. qmp: fbdev enable=on|off hmp: fbdev on|off Signed-off-by: Gerd Hoffmann --- hmp-commands.hx | 15 +++ hmp.c|9 + hmp.h|1 + qapi

[Qemu-devel] [PATCH 03/14] ehci: Fix interrupts stopping when Interrupt Threshold Control is 8

2012-09-13 Thread Gerd Hoffmann
is. Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-ehci.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index f5ba8e1..54273d7 100644 --- a/hw/usb/hcd-ehci.c +++ b/hw/usb/hcd-ehci.c @@ -2413,7 +2413,7

[Qemu-devel] [PATCH 04/14] ehci: Don't process too much frames in 1 timer tick (v2)

2012-09-13 Thread Gerd Hoffmann
igned-off-by: Gerd Hoffmann --- hw/usb/hcd-ehci.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index 54273d7..017a01d 100644 --- a/hw/usb/hcd-ehci.c +++ b/hw/usb/hcd-ehci.c @@ -139,6 +139,7 @@ #define NB_PORTS

[Qemu-devel] [PATCH 01/14] usb-host: allow emulated (non-async) control requests without USBPacket

2012-09-13 Thread Gerd Hoffmann
xhci needs this for USB_REQ_SET_ADDRESS due to the way usb addressing is handled by the xhci hardware. Signed-off-by: Gerd Hoffmann --- hw/usb/host-linux.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/usb/host-linux.c b/hw/usb/host-linux.c index 8df9207..44f1a64

[Qemu-devel] [PATCH 09/14] usb-redir: Add an already_in_flight packet-id queue

2012-09-13 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/usb/redirect.c | 43 +++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index 603262a..f474da8 100644 --- a/hw/usb/redirect.c +++ b/hw/usb/redirect.c @@ -98,6 +98,7

[Qemu-devel] [PATCH v2 9/9] fbdev: add display scaling support

2012-09-13 Thread Gerd Hoffmann
Add support for scaling the guest display. Ctrl-Alt-S hotkey toggles scaling. Signed-off-by: Gerd Hoffmann --- ui/fbdev.c | 61 ++- 1 files changed, 51 insertions(+), 10 deletions(-) diff --git a/ui/fbdev.c b/ui/fbdev.c index 5e700e8

[Qemu-devel] [PATCH v2 8/9] fbdev: add mouse pointer support

2012-09-13 Thread Gerd Hoffmann
Add mouse_set and cursor_define DisplayChangeListener callbacks and mouse pointer rendering support. Signed-off-by: Gerd Hoffmann --- ui/fbdev.c | 95 1 files changed, 95 insertions(+), 0 deletions(-) diff --git a/ui/fbdev.c b/ui

[Qemu-devel] [PATCH 04/10] spice: send updates only for changed screen content

2012-09-13 Thread Gerd Hoffmann
when creating screen updates go compare the current guest screen against the mirror (which holds the most recent update sent), then only create updates for the screen areas which did actually change. [ v2: drop redundant qemu_spice_create_one_update call ] Signed-off-by: Gerd Hoffmann --- ui

[Qemu-devel] [PATCH 06/10] qxl: Ignore set_client_capabilities pre/post migrate

2012-09-13 Thread Gerd Hoffmann
he migration itself, but still a crash Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- hw/qxl.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index 0176b1a..e539134 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -953,6 +953,11 @@

[Qemu-devel] [PATCH v2 0/9] linux framebuffer display driver

2012-09-13 Thread Gerd Hoffmann
Hi, Second round of the framebuffer display driver patches. Changes: Addressed the review comments. Added a few more patches on top: Using the pixman library for raster ops now. Added support for mouse pointer rendering and guest display scaling. cheers, Gerd Gerd Hoffmann (9): QLIST

[Qemu-devel] [PATCH 10/14] usb-redir: Store max_packet_size in endp_data

2012-09-13 Thread Gerd Hoffmann
From: Hans de Goede So that we've a place to migrate it to / from to allow restoring it after migration. Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- hw/usb/redirect.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/hw/usb/redirect.c b/h

[Qemu-devel] [PATCH 01/10] spice: switch to queue for vga mode updates

2012-09-13 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/qxl.c |6 +++--- ui/spice-display.c | 25 ++--- ui/spice-display.h |3 ++- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index 5b3f484..257a37d 100644 --- a/hw/qxl.c +++ b/hw/qxl.c

[Qemu-devel] [PATCH 08/14] usb-redir: Change cancelled packet code into a generic packet-id queue

2012-09-13 Thread Gerd Hoffmann
From: Hans de Goede Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- hw/usb/redirect.c | 102 + 1 files changed, 71 insertions(+), 31 deletions(-) diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index 5301a69..603262a

[Qemu-devel] [PATCH v2 4/9] fbdev: add linux framebuffer display driver.

2012-09-13 Thread Gerd Hoffmann
y requires root privileges to open /dev/tty). Signed-off-by: Gerd Hoffmann --- console.h |4 + qemu-options.hx |8 + sysemu.h|1 + trace-events| 15 + ui/Makefile.objs|1 + ui/fbdev.c | 953

[Qemu-devel] [PATCH 07/10] qxl: better cleanup for surface destroy

2012-09-13 Thread Gerd Hoffmann
, qxl_spice_destroy_surface_wait_complete is called upon operation completion. Signed-off-by: Uri Lublin Signed-off-by: Gerd Hoffmann --- hw/qxl.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index e539134..12597e7 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -201,6 +201,7 @@ static void

[Qemu-devel] [PATCH 08/10] hw/qxl: tracing fixes

2012-09-13 Thread Gerd Hoffmann
to qxl in one place. Signed-off-by: Alon Levy Signed-off-by: Gerd Hoffmann --- hw/qxl.c |8 +--- trace-events |6 -- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index 12597e7..8c46766 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -141,6 +

[Qemu-devel] [PATCH v2 6/9] fbdev: make configurable at compile time.

2012-09-13 Thread Gerd Hoffmann
Add CONFIG_FBDEV, add --enable-fbdev and --disable-fbdev configure switches so fbdev can be enabled/disabled at compile time. Signed-off-by: Gerd Hoffmann --- configure| 12 qmp.c|2 +- ui/Makefile.objs |2 +- vl.c |4 ++-- 4 files

[Qemu-devel] [PATCH 12/14] usb-redir: Add chardev open / close debug logging

2012-09-13 Thread Gerd Hoffmann
From: Hans de Goede Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- hw/usb/redirect.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index 5e987e9..9a4be6d 100644 --- a/hw/usb/redirect.c +++ b/hw/usb/redirect.c

[Qemu-devel] [PATCH 07/14] ehci: Walk async schedule before and after migration

2012-09-13 Thread Gerd Hoffmann
From: Hans de Goede Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-ehci.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index bc86460..6a5da84 100644 --- a/hw/usb/hcd-ehci.c

[Qemu-devel] [PATCH v2 1/9] QLIST-ify display change listeners.

2012-09-13 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- console.h | 72 +++ hw/xenfb.c |2 +- vl.c |9 ++- 3 files changed, 42 insertions(+), 41 deletions(-) diff --git a/console.h b/console.h index f990684..646ad4b 100644 --- a/console.h

[Qemu-devel] [PATCH 09/10] qxl: add trace-event for QXL_IO_LOG

2012-09-13 Thread Gerd Hoffmann
From: Alon Levy Signed-off-by: Alon Levy Signed-off-by: Gerd Hoffmann --- hw/qxl.c |1 + trace-events |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index 8c46766..5709e0d 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -1515,6 +1515,7

[Qemu-devel] [PATCH 14/14] uhci: Don't queue up packets after one with the SPD flag set

2012-09-13 Thread Gerd Hoffmann
m with the windows software for it not working. Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-uhci.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index c7c8786..cdc8bc3 100644 --- a/hw/usb/hcd-uhci.

[Qemu-devel] [PATCH 05/14] configure: usbredir fixes

2012-09-13 Thread Gerd Hoffmann
From: Aurelien Jarno usbredir is only used by system emulation, so add the libraries to libs_softmmu instead of LIBS. Cc: Michael Tokarev Cc: Gerd Hoffmann Signed-off-by: Aurelien Jarno Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- configure |2 +- 1 files changed, 1

Re: [Qemu-devel] [PATCH 25/25] q35: automatically load the q35 dsdt table

2012-09-14 Thread Gerd Hoffmann
On 09/14/12 09:08, Paolo Bonzini wrote: > Il 13/09/2012 22:12, Jason Baron ha scritto: >> Automatically, locate the required q35 dsdt table on load. Otherwise we error >> out. This could be done in the bios, but its harder to produce a good error >> message. >> /* PC hardware initialisation */ >>

Re: [Qemu-devel] [PATCH 11/25] q35: Introduce q35 pc based chipset emulator

2012-09-14 Thread Gerd Hoffmann
On 09/13/12 22:12, Jason Baron wrote: > +if (ram_size >= 0xe000) { > +above_4g_mem_size = ram_size - 0xe000; > +below_4g_mem_size = 0xe000; We should make the hole larger to get more pci i/o address space below 4G, especially as q35 needs a good chunk of it for mmco

Re: [Qemu-devel] [PULL 00/14] usb patch queue

2012-09-14 Thread Gerd Hoffmann
> Are any of the bugfixes worth to apply to previous or new -stable > series? I know usbredir configure fix is needed, anything else? >> Gerd Hoffmann (2): >> usb-host: allow emulated (non-async) control requests without USBPacket This. >> ehci: Fix

Re: [Qemu-devel] [PULL 00/10] spice patch queue

2012-09-14 Thread Gerd Hoffmann
On 09/14/12 10:01, Michael Tokarev wrote: > On 13.09.2012 12:45, Gerd Hoffmann wrote: >> Hi, >> >> This pull brings monitor configuration support for qxl which is needed >> by the upcoming kms qxl driver. Also a nice speedup for qxl in vga mode >> and a

Re: [Qemu-devel] [PATCH] ehci: switch to new-style memory ops

2012-09-16 Thread Gerd Hoffmann
On 09/17/12 02:53, David Gibson wrote: > On Thu, Sep 06, 2012 at 11:53:51AM +0200, Gerd Hoffmann wrote: >> Also register different memory regions for capabilities, >> operational registers and port status registers. Create >> separate tracepoints for operational regs an

[Qemu-devel] [PATCH 7/9] fbdev: move to pixman

2012-09-18 Thread Gerd Hoffmann
Stop reinventing the wheel. Use the pixman library for raster ops. Signed-off-by: Gerd Hoffmann --- configure | 12 ui/fbdev.c | 172 +++ 2 files changed, 114 insertions(+), 70 deletions(-) diff --git a/configure b/configure

[Qemu-devel] [PATCH 9/9] fbdev: add display scaling support

2012-09-18 Thread Gerd Hoffmann
Add support for scaling the guest display. Ctrl-Alt-S hotkey toggles scaling. Signed-off-by: Gerd Hoffmann --- ui/fbdev.c | 61 ++- 1 files changed, 51 insertions(+), 10 deletions(-) diff --git a/ui/fbdev.c b/ui/fbdev.c index 6835fef

[Qemu-devel] [PATCH 4/9] fbdev: add linux framebuffer display driver.

2012-09-18 Thread Gerd Hoffmann
y requires root privileges to open /dev/tty). Signed-off-by: Gerd Hoffmann --- console.h |4 + qemu-options.hx |8 + sysemu.h|1 + trace-events| 15 + ui/Makefile.objs|1 + ui/fbdev.c | 974 +++

[Qemu-devel] [PATCH 2/9] add unregister_displaychangelistener

2012-09-18 Thread Gerd Hoffmann
with displaychangelisteners coming and going. Signed-off-by: Gerd Hoffmann --- console.h | 10 ++ vl.c | 31 +++ 2 files changed, 33 insertions(+), 8 deletions(-) diff --git a/console.h b/console.h index 646ad4b..48fef22 100644 --- a/console.h +++ b/console.h @@ -

[Qemu-devel] [PATCH 3/9] move set_mouse + cursor_define callbacks

2012-09-18 Thread Gerd Hoffmann
When adding DisplayChangeListeners the set_mouse and cursor_define callbacks have been left in DisplayState for some reason. Fix it. Signed-off-by: Gerd Hoffmann --- console.c |2 +- console.h | 39 +++ hw/jazz_led.c |2

[Qemu-devel] [PATCH 6/9] fbdev: make configurable at compile time.

2012-09-18 Thread Gerd Hoffmann
Add CONFIG_FBDEV, add --enable-fbdev and --disable-fbdev configure switches so fbdev can be enabled/disabled at compile time. Signed-off-by: Gerd Hoffmann --- configure| 12 qmp.c|2 +- ui/Makefile.objs |2 +- vl.c |4 ++-- 4 files

[Qemu-devel] [PATCH 5/9] fbdev: add monitor command to enable/disable

2012-09-18 Thread Gerd Hoffmann
This patch adds a fbdev monitor command to enable/disable the fbdev display at runtime to both qmp and hmp. qmp: fbdev enable=on|off hmp: fbdev on|off Signed-off-by: Gerd Hoffmann --- hmp-commands.hx | 15 +++ hmp.c|9 + hmp.h|1 + qapi

[Qemu-devel] [PATCH 1/9] QLIST-ify display change listeners.

2012-09-18 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- console.h | 72 +++ hw/xenfb.c |2 +- vl.c |9 ++- 3 files changed, 42 insertions(+), 41 deletions(-) diff --git a/console.h b/console.h index f990684..646ad4b 100644 --- a/console.h

[Qemu-devel] [PATCH 8/9] fbdev: add mouse pointer support

2012-09-18 Thread Gerd Hoffmann
Add mouse_set and cursor_define DisplayChangeListener callbacks and mouse pointer rendering support. Signed-off-by: Gerd Hoffmann --- ui/fbdev.c | 95 1 files changed, 95 insertions(+), 0 deletions(-) diff --git a/ui/fbdev.c b/ui

[Qemu-devel] [PULL 0/9] linux framebuffer display driver

2012-09-18 Thread Gerd Hoffmann
ittle tweaks, no major changes. cheers, Gerd The following changes since commit 6b80f7db8a7f84d21e46d01e30c8497733bb23a0: Merge remote-tracking branch 'kiszka/queues/slirp' into staging (2012-09-17 10:23:20 -0500) are available in the git repository at: git://git.kraxel.org/qem

[Qemu-devel] [RfC PATCH] vga: add mmio bar to standard vga

2012-09-18 Thread Gerd Hoffmann
This patch adds a mmio bar to the qemu standard vga which allows to access the standard vga registers and bochs dispi interface registers via mmio. Cc: Benjamin Herrenschmidt Signed-off-by: Gerd Hoffmann --- hw/vga-pci.c | 97 ++ hw

Re: [Qemu-devel] [RfC PATCH] vga: add mmio bar to standard vga

2012-09-18 Thread Gerd Hoffmann
On 09/18/12 12:32, Benjamin Herrenschmidt wrote: > On Tue, 2012-09-18 at 11:51 +0200, Gerd Hoffmann wrote: >> This patch adds a mmio bar to the qemu standard vga which allows to >> access the standard vga registers and bochs dispi interface registers >> via mmio. > &

Re: [Qemu-devel] [PATCH 3/9] move set_mouse + cursor_define callbacks

2012-09-18 Thread Gerd Hoffmann
On 09/18/12 16:10, Stefano Stabellini wrote: > On Tue, 18 Sep 2012, Gerd Hoffmann wrote: >> When adding DisplayChangeListeners the set_mouse and cursor_define >> callbacks have been left in DisplayState for some reason. Fix it. >> >> Signed-off-by: Gerd Hoffmann >

Re: [Qemu-devel] [PATCH 4/9] fbdev: add linux framebuffer display driver.

2012-09-18 Thread Gerd Hoffmann
On 09/18/12 17:01, Stefano Stabellini wrote: > On Tue, 18 Sep 2012, Gerd Hoffmann wrote: >> Display works, requires truecolor framebuffer with 16 or 32 bpp on the >> host. 32bpp is recommended. The framebuffer is used as-is, qemu >> doesn't try to switch modes. With L

Re: [Qemu-devel] [PATCH 7/9] fbdev: move to pixman

2012-09-18 Thread Gerd Hoffmann
On 09/18/12 17:01, Stefano Stabellini wrote: > On Tue, 18 Sep 2012, Gerd Hoffmann wrote: >> Stop reinventing the wheel. Use the pixman library for raster ops. > > I would separate the pixmap changes from this series: either we use > this library everywhere or nowhere. At the ve

Re: [Qemu-devel] [PATCH 9/9] fbdev: add display scaling support

2012-09-18 Thread Gerd Hoffmann
On 09/18/12 17:02, Stefano Stabellini wrote: > On Tue, 18 Sep 2012, Gerd Hoffmann wrote: >> Add support for scaling the guest display. >> Ctrl-Alt-S hotkey toggles scaling. > > We could make sdl_zoom generic: sdl_zoom_blit doesn't actually depend on > sdl. I'd

Re: [Qemu-devel] [PATCH 7/9] fbdev: move to pixman

2012-09-18 Thread Gerd Hoffmann
On 09/18/12 22:30, Søren Sandmann wrote: > Gerd Hoffmann writes: > >> +static pixman_image_t *pixman_from_displaystate(DisplayState *ds) >> +{ >> +static pixman_image_t *pixman_from_framebuffer(void) >> +{ > You may want to call pixman_format_supported_sour

[Qemu-devel] [PATCH 4/9] fbdev: add linux framebuffer display driver.

2012-09-19 Thread Gerd Hoffmann
y requires root privileges to open /dev/tty). Signed-off-by: Gerd Hoffmann --- console.h |4 + qemu-options.hx |8 + sysemu.h|1 + trace-events| 15 + ui/Makefile.objs|1 + ui/fbdev.c | 965 +++

[Qemu-devel] [PATCH 5/9] fbdev: add monitor command to enable/disable

2012-09-19 Thread Gerd Hoffmann
This patch adds a fbdev monitor command to enable/disable the fbdev display at runtime to both qmp and hmp. qmp: framebuffer-display enable=on|off hmp: framebuffer-display on|off Signed-off-by: Gerd Hoffmann --- hmp-commands.hx | 15 +++ hmp.c|9 + hmp.h

Re: [Qemu-devel] [RfC PATCH] vga: add mmio bar to standard vga

2012-09-19 Thread Gerd Hoffmann
;> +.endianness = DEVICE_LITTLE_ENDIAN, >> +}; > > Looks like word writes are supported provided the memory API breaks up > writes in little endian order. Better to make it explicit. Like the attached incremental patch? cheers, Gerd >From d46b14dfd74dcc37fe187dc76cd681ad

[Qemu-devel] [PATCH 2/9] add unregister_displaychangelistener

2012-09-19 Thread Gerd Hoffmann
with displaychangelisteners coming and going. Signed-off-by: Gerd Hoffmann --- console.h | 10 ++ vl.c | 31 +++ 2 files changed, 33 insertions(+), 8 deletions(-) diff --git a/console.h b/console.h index 646ad4b..48fef22 100644 --- a/console.h +++ b/console.h @@ -

[Qemu-devel] [PATCH 9/9] fbdev: add display scaling support

2012-09-19 Thread Gerd Hoffmann
Add support for scaling the guest display. Ctrl-Alt-S hotkey toggles scaling. Signed-off-by: Gerd Hoffmann --- ui/fbdev.c | 61 ++- 1 files changed, 51 insertions(+), 10 deletions(-) diff --git a/ui/fbdev.c b/ui/fbdev.c index d859d84

[Qemu-devel] [PATCH v4 0/9] linux framebuffer display driver

2012-09-19 Thread Gerd Hoffmann
g (2012-09-17 10:23:20 -0500) are available in the git repository at: git://git.kraxel.org/qemu fbdev.2 Gerd Hoffmann (9): QLIST-ify display change listeners. add unregister_displaychangelistener move set_mouse + cursor_define callbacks fbdev: add linux frameb

[Qemu-devel] [PATCH 6/9] fbdev: make configurable at compile time.

2012-09-19 Thread Gerd Hoffmann
Add CONFIG_FBDEV, add --enable-fbdev and --disable-fbdev configure switches so fbdev can be enabled/disabled at compile time. Signed-off-by: Gerd Hoffmann --- configure| 12 qmp.c|2 +- ui/Makefile.objs |2 +- vl.c |4 ++-- 4 files

[Qemu-devel] [PATCH 7/9] fbdev: move to pixman

2012-09-19 Thread Gerd Hoffmann
Stop reinventing the wheel, use the pixman library for raster ops. Also add setdata callback. Signed-off-by: Gerd Hoffmann --- configure | 12 ui/fbdev.c | 182 +--- 2 files changed, 124 insertions(+), 70 deletions(-) diff --git

[Qemu-devel] [PATCH 1/9] QLIST-ify display change listeners.

2012-09-19 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- console.h | 72 +++ hw/xenfb.c |2 +- vl.c |9 ++- 3 files changed, 42 insertions(+), 41 deletions(-) diff --git a/console.h b/console.h index f990684..646ad4b 100644 --- a/console.h

[Qemu-devel] [PATCH 8/9] fbdev: add mouse pointer support

2012-09-19 Thread Gerd Hoffmann
Add mouse_set and cursor_define DisplayChangeListener callbacks and mouse pointer rendering support. Signed-off-by: Gerd Hoffmann --- ui/fbdev.c | 95 1 files changed, 95 insertions(+), 0 deletions(-) diff --git a/ui/fbdev.c b/ui

[Qemu-devel] [PATCH 3/9] move set_mouse + cursor_define callbacks

2012-09-19 Thread Gerd Hoffmann
When adding DisplayChangeListeners the set_mouse and cursor_define callbacks have been left in DisplayState for some reason. Fix it. Signed-off-by: Gerd Hoffmann --- console.c |2 +- console.h | 39 +++ hw/jazz_led.c |2

[Qemu-devel] [PATCH 09/17] chardev: switch parallel init to qapi

2013-02-28 Thread Gerd Hoffmann
This patch switches over the parallel chardev initialization to the new qapi code path. Signed-off-by: Gerd Hoffmann --- qemu-char.c | 37 + 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index 2cb1471..2832e48

[Qemu-devel] -gtk: invalid option

2013-02-28 Thread Gerd Hoffmann
Hi, $subject says all: try start qemu with the -gtk switch ... cheers, Gerd

Re: [Qemu-devel] -gtk: invalid option

2013-02-28 Thread Gerd Hoffmann
On 02/28/13 12:01, Paolo Bonzini wrote: > Il 28/02/2013 11:44, Gerd Hoffmann ha scritto: >> Hi, >> >> $subject says all: try start qemu with the -gtk switch ... > > Isn't it "-display gtk"? That one works. Didn't know this exists, /me always

[Qemu-devel] [RfC PATCH 04/12] qxl: zap qxl0 global

2013-03-01 Thread Gerd Hoffmann
DisplayChangeListener is passed now to all DisplayChangeListenerOps callbacks, so we can use that to access the qxl state and kill the qxl0 global variable. Signed-off-by: Gerd Hoffmann --- hw/qxl.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff

<    5   6   7   8   9   10   11   12   13   14   >