From: "Edgar E. Iglesias"
No functional change.
Signed-off-by: Edgar E. Iglesias
---
exec.c|3 ++-
include/exec/exec-all.h |2 +-
target-xtensa/op_helper.c |3 ++-
translate-all.c |4 ++--
4 files changed, 7 insertions(+), 5 deletions(-)
diff --
From: "Edgar E. Iglesias"
Hi,
I'm looking at modeling systems where multiple CPUs co-exist with
different views of their attached buses/devs.
With this series I'm trying to take some steps towards having
an address-space per CPU. It's not complete but good enough for
making it possible to model
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
cputlb.c|2 +-
exec.c |5 ++---
include/exec/exec-all.h |2 +-
include/exec/softmmu_template.h |5 +++--
4 files changed, 7 insertions(+), 7 deletions(-)
diff
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
exec.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/exec.c b/exec.c
index c34f642..6d88931 100644
--- a/exec.c
+++ b/exec.c
@@ -878,6 +878,7 @@ static void register_subpage(AddressSpaceDispatch *d,
MemoryRegionSection *
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
exec.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exec.c b/exec.c
index 6d88931..803bbde 100644
--- a/exec.c
+++ b/exec.c
@@ -782,7 +782,7 @@ hwaddr memory_region_section_get_iotlb(CPUArchState *env,
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
include/exec/memory.h |2 --
include/qemu/typedefs.h |1 +
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/exec/memory.h b/include/exec/memory.h
index 480dfbf..2d0b614 100644
--- a/include/exec/memory
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
hw/core/qdev-properties-system.c | 46 ++
include/hw/qdev-properties.h |5 +
2 files changed, 51 insertions(+)
diff --git a/hw/core/qdev-properties-system.c b/hw/core/qdev-propertie
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
include/exec/memory.h |8
memory.c | 12
2 files changed, 20 insertions(+)
diff --git a/include/exec/memory.h b/include/exec/memory.h
index 2d0b614..02f4012 100644
--- a/include/exec/memory.
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
target-microblaze/cpu.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/target-microblaze/cpu.c b/target-microblaze/cpu.c
index 0ef9aa4..ada9556 100644
--- a/target-microblaze/cpu.c
+++ b/target-microblaze/cpu.
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
cputlb.c|4 ++--
exec.c | 31 +++
include/exec/cpu-defs.h |3 +++
include/exec/exec-all.h |1 +
include/exec/softmmu_template
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
exec.c| 22
hw/alpha/typhoon.c|2 +-
hw/display/sm501.c|1 +
hw/display/sm501_template.h |2 +-
hw/net/vmware_utils.h |4 +-
hw
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
exec.c |5 +
1 file changed, 5 insertions(+)
diff --git a/exec.c b/exec.c
index edb6a43..203c8e4 100644
--- a/exec.c
+++ b/exec.c
@@ -1810,6 +1810,11 @@ static void tcg_commit(MemoryListener *listener)
reset the mod
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
cpu-exec.c|5 +-
exec.c| 19 ---
hw/dma/pl080.c|9 ++--
hw/dma/sun4m_iommu.c |3 +-
hw/net/vmware_utils.h |2 +-
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
exec.c | 18 +-
hw/net/vmware_utils.h |2 +-
hw/ppc/spapr_hcall.c |6 +++---
hw/s390x/css.c |3 ++-
hw/s390x/virtio-ccw.c |8 +---
hw/virtio/virti
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
exec.c|4 ++--
hw/arm/boot.c |9 +
hw/arm/highbank.c |6 +++---
include/exec/cpu-common.h |2 +-
target-i386/helper.c | 16
target-sparc/mmu_hel
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
exec.c | 20 ++--
hw/net/vmware_utils.h |2 +-
hw/ppc/ppc405_uc.c |2 +-
hw/ppc/spapr_hcall.c |4 ++--
hw/s390x/css.c |3 ++-
hw/s390x/s390-virtio-
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
exec.c |6 +++---
hw/net/vmware_utils.h |2 +-
hw/ppc/ppc405_uc.c | 10 +-
hw/ppc/spapr_hcall.c |6 +++---
hw/s390x/s390-virtio-bus.c | 16 +++-
hw/s390x/s39
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
exec.c | 12 +++---
hw/alpha/dp264.c |5 ++-
hw/net/vmware_utils.h |2 +-
hw/ppc/spapr_hcall.c |4 +-
hw/s390x/s390-virtio-bus.c |3 +-
hw/s390x/virtio-ccw.c |4 +-
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
exec.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/exec.c b/exec.c
index 686f0d1..e672824 100644
--- a/exec.c
+++ b/exec.c
@@ -2669,6 +2669,7 @@ int cpu_memory_rw_debug(CPUState *cpu, target_ulong ad
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
exec.c|8
hw/core/loader.c |3 ++-
hw/intc/apic.c|3 ++-
hw/sparc/sun4m.c |3 ++-
include/exec/cpu-common.h |2 +-
5 files changed, 11 insertions(+), 8 d
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
exec.c | 19 +
hw/net/vmware_utils.h |2 +-
hw/pci/msi.c |2 +-
hw/pci/msix.c |2 +-
hw/ppc/ppc405_uc.c | 32 +++---
hw/ppc/spapr_hcall.c
From: "Edgar E. Iglesias"
This is to allow future patches to set properties before cpu::realize().
Signed-off-by: Edgar E. Iglesias
---
hw/microblaze/petalogix_ml605_mmu.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/hw/microblaze/petalogix_ml605_mmu.c
b/h
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
hw/microblaze/petalogix_ml605_mmu.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/hw/microblaze/petalogix_ml605_mmu.c
b/hw/microblaze/petalogix_ml605_mmu.c
index 4009ff5..0a13b0e 100644
---
Andreas Färber writes:
> Am 28.11.2013 17:26, schrieb arm...@redhat.com:
>> Markus Armbruster (10):
>> qdev: Replace no_user by cannot_instantiate_with_device_add_yet
>> sysbus: Set cannot_instantiate_with_device_add_yet
>> cpu: Document why cannot_instantiate_with_device_add_yet
>> apic:
On Sun, 2013-12-15 at 21:37 +0100, Andreas Färber wrote:
> Am 28.11.2013 17:26, schrieb arm...@redhat.com:
> > Markus Armbruster (10):
> > qdev: Replace no_user by cannot_instantiate_with_device_add_yet
> > sysbus: Set cannot_instantiate_with_device_add_yet
> > cpu: Document why cannot_instan
On Wed, Dec 11, 2013 at 03:33:40PM +0800, Hu Tao wrote:
> On Thu, Nov 28, 2013 at 11:03:04AM +0100, Peter Lieven wrote:
> > On 28.11.2013 09:48, Hu Tao wrote:
> > >On Wed, Nov 27, 2013 at 11:13:40AM +0100, Peter Lieven wrote:
> > >>Am 27.11.2013 11:07, schrieb Fam Zheng:
> > >>>On 2013年11月27日 18:03
On Sun, 2013-12-15 at 21:51 +0100, Andreas Färber wrote:
> Am 02.12.2013 09:52, schrieb Marcel Apfelbaum:
> > On Sun, 2013-12-01 at 16:14 +0100, Andreas Färber wrote:
> >> The alternative BTW is dropping all those pointer properties and
> >> replacing them with link<> properties. Paolo tried that f
Peter Maydell writes:
> On 15 December 2013 20:55, Andreas Färber wrote:
>> Since you're mentioned by name, should I wait for you to review the
>> three OMAP parts?
>
> There's nothing particularly omap-specific in them.
The only OMAP-specific issue I can think of would be me misreading the
int
Andreas Färber writes:
> Am 29.11.2013 10:43, schrieb arm...@redhat.com:
>> From: Markus Armbruster
>>
>> Pointer properties can be set only by code, not by device_add. A
>> device with a pointer property can't work with device_add only unless
>> the property may remain null. cannot_instantia
Hello Peter,
On 13.12.2013 20:18, Peter Maydell wrote:
> From: Alexander Graf
>
> This patch adds emulation for the "Data-processing (3 source)"
> family of instructions, namely MADD, MSUB, SMADDL, SMSUBL, SMULH,
> UMADDL, UMSUBL, UMULH.
>
> Signed-off-by: Alexander Graf
> Signed-off-by: Alex
Wenchao Xia writes:
> 于 2013/12/13 21:43, Kevin Wolf 写道:
>> Am 13.12.2013 um 14:31 hat Eric Blake geschrieben:
>>> On 11/12/2013 06:44 PM, Wenchao Xia wrote:
+++ b/scripts/qapi-event.py
@@ -0,0 +1,355 @@
+#
+# QAPI event generator
+#
+# Copyright IBM, Corp. 2013
Map 3G (i440fx) or 2G (q35) of memory below 4G, so the RAM pieces
are nicely aligned to gigabyte borders.
Keep old memory layout for (a) old machine types and (b) in case all
memory fits below 4G and thus we don't have to split RAM into pieces
in the first place. The later makes sure this change
[Licensing problem, cc: Anthony]
Kevin Wolf writes:
> Am 13.12.2013 um 14:31 hat Eric Blake geschrieben:
>> On 11/12/2013 06:44 PM, Wenchao Xia wrote:
>> > +++ b/scripts/qapi-event.py
>> > @@ -0,0 +1,355 @@
>> > +#
>> > +# QAPI event generator
>> > +#
>> > +# Copyright IBM, Corp. 2013
>> > +#
>>
Cool stuff :-)
some thoughts:
On 13 December 2013 12:14, Antonios Motakis
wrote:
> static int vhost_user_recv(int fd, VhostUserMsg *msg)
> {
> ssize_t r = read(fd, msg, sizeof(VhostUserMsg));
Is it worth considering a "timeout and reconnect" check here? I mean
so that if the vhost server
On 13 December 2013 12:14, Antonios Motakis
wrote:
> At runtime vhost-user netdev will detect if the vhost backend is up or down.
> Upon disconnection it will set link_down accordingly and notify virtio-net.
Based on inspection with 'lsof' I think that the v3 reconnect
mechanism leaks socket file
On 2013年12月11日 15:33, Hu Tao wrote:
On Thu, Nov 28, 2013 at 11:03:04AM +0100, Peter Lieven wrote:
On 28.11.2013 09:48, Hu Tao wrote:
On Wed, Nov 27, 2013 at 11:13:40AM +0100, Peter Lieven wrote:
Am 27.11.2013 11:07, schrieb Fam Zheng:
On 2013年11月27日 18:03, Peter Lieven wrote:
Am 27.11.2013 0
Video streaming detection heuristics in spice-server have problems
keeping modern desktop animations (as done by gnome shell) and real
video playback apart. This leads to jpeg compression artefacts on
your desktop, due to spice using mjpeg to send what it thinks is
a video stream.
Turn off video
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Signed-off-by: Gerd Hoffmann
---
spice-qemu-char.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/spice-qemu-char.c b/spice-qemu-char.c
index 6d147a7..e074d9e 100644
--- a/spice-qemu-char.c
+++ b/spice-qemu-char.c
@@ -11,7 +11,6 @@
Hi,
Here comes the spice patch queue, with some nbd bits for upcoming
spice-nbd and the usual share of small fixes & cleanups.
please pull,
Gerd
The following changes since commit e157b8fdd412d48eacfbb8c67d3d58780154faa3:
Merge remote-tracking branch 'bonzini/virtio' into staging (2013-12
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Acked-by: Paolo Bonzini
Signed-off-by: Gerd Hoffmann
---
block/Makefile.objs | 2 +-
block/nbd-client.c | 372 +++
block/nbd-client.h | 51 +++
block/nbd.c | 373 -
From: Marc-André Lureau
Fixes the following error:
** (process:780): CRITICAL **: do_socket_send: assertion
`socket_to_send->len != 0' failed
Signed-off-by: Marc-André Lureau
Signed-off-by: Gerd Hoffmann
---
libcacard/vscclient.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-
From: Marc-André Lureau
Teach the chardev frontend to send event. This is used by the Spice port
chardev currently.
Signed-off-by: Marc-André Lureau
Signed-off-by: Gerd Hoffmann
---
include/sysemu/char.h | 10 ++
qemu-char.c | 7 +++
2 files changed, 17 insertions(+)
d
From: Marc-André Lureau
==15815== Thread 1:
==15815== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
==15815==at 0x65AD5CB: send (send.c:31)
==15815==by 0x37F84B: nbd_wr_sync (nbd.c:145)
==15815==by 0x37F94B: write_sync (nbd.c:186)
==15815==by 0x380FA9: nbd_s
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Signed-off-by: Gerd Hoffmann
---
include/ui/qemu-spice.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/ui/qemu-spice.h b/include/ui/qemu-spice.h
index 86c75c7..a93b4b2 100644
--- a/include/ui/qemu-spice.h
+++ b/include/ui
Replace magic constants in device bmAttributes with symbolic ones
from Linux kernel ch9.h
Signed-off-by: Pantelis Koukousoulas
---
hw/usb/desc.c | 2 +-
hw/usb/dev-audio.c| 2 +-
hw/usb/dev-bluetooth.c| 2 +-
hw/usb/dev-hid.c | 8
hw/usb/
On 16 December 2013 08:54, Claudio Fontana wrote:
> Hello Peter,
>
> On 13.12.2013 20:18, Peter Maydell wrote:
>> From: Alexander Graf
>>
>> This patch adds emulation for the "Data-processing (3 source)"
>> family of instructions, namely MADD, MSUB, SMADDL, SMSUBL, SMULH,
>> UMADDL, UMSUBL, UMULH
Signed-off-by: Gerd Hoffmann
---
ui/spice-core.c| 16
ui/spice-display.c | 17 -
2 files changed, 16 insertions(+), 17 deletions(-)
diff --git a/ui/spice-core.c b/ui/spice-core.c
index 9fb9544..0c48156 100644
--- a/ui/spice-core.c
+++ b/ui/spice-core.c
@@ -47
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Signed-off-by: Gerd Hoffmann
---
blockdev.c| 2 +-
include/sysemu/blockdev.h | 2 +-
qmp.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/blockdev.c b/blockdev.c
index 44755e1..
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Acked-by: Paolo Bonzini
Signed-off-by: Gerd Hoffmann
---
block/nbd-client.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/block/nbd-client.c b/block/nbd-client.c
index 3dfae1d..9156093 100644
--- a/block/nbd-client.c
+++ b/bl
The bisection is probably incorrect.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1261268
Title:
save guest running time is more than 450s with AVX running.
Status in QEMU:
New
Bug description
So calling spice server to start/stop the worker goes
hand in hand with the status variable update.
Signed-off-by: Gerd Hoffmann
---
ui/spice-core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/spice-core.c b/ui/spice-core.c
index 0c48156..4cce3b3 100644
--- a/ui/sp
Already reported
http://permalink.gmane.org/gmane.comp.emulators.qemu/245664
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1261265
Title:
win7 guest boot up fail.
Status in QEMU:
New
Bug descri
On 16 December 2013 08:48, Markus Armbruster wrote:
> Peter Maydell writes:
>> I kind of think this whole thing is backwards anyway:
>> we should really say "the user can only instantiate
>> devices via command line or monitor that are specifically
>> intended to be hot-pluggable", rather than ha
Hard reset can happen at any time. We should be able to put qxl into a
known-good state no matter what. Stop spice server thread for reset so
it can't be confused by fetching stale commands lingering around in the
rings while we reset is ongoing.
Signed-off-by: Gerd Hoffmann
---
hw/display/qxl
From: Marc-André Lureau
There is no need to keep the export name around, and it seems a better
fit as an argument in the init() call.
Signed-off-by: Marc-André Lureau
Acked-by: Paolo Bonzini
Signed-off-by: Gerd Hoffmann
---
block/nbd-client.c | 9 -
block/nbd-client.h | 5 ++---
bl
From: Marc-André Lureau
The caller might handle non-blocking using coroutine. Leave the choice
to the caller to use a blocking or non-blocking negotiate.
Signed-off-by: Marc-André Lureau
Acked-by: Paolo Bonzini
Signed-off-by: Gerd Hoffmann
---
block/nbd-client.c | 1 +
nbd.c | 2
From: Marc-André Lureau
Make sure all pending coroutines are finished when closing the session.
Signed-off-by: Marc-André Lureau
Acked-by: Paolo Bonzini
Signed-off-by: Gerd Hoffmann
---
block/nbd-client.c | 21 -
1 file changed, 16 insertions(+), 5 deletions(-)
diff --gi
Sorry for noticing only now,
but there is a missing return here as well I think:
On 13 December 2013 20:17, Peter Maydell wrote:
> From: Alex Bennée
>
> Implement the non-carry forms of addition and subtraction
> (immediate, extended register and shifted register).
> This includes the code to ca
Hello All,
I cannot understand QEMU iniitialization.
Before starting main function(main@vl.c), how modules are loaded?
Since module are already loaded in module_call_init(MODULE_INIT_QOM);
Best regards,
Choonho Son
Public bug reported:
Hi,
is there a option to create a disk for a vm with a size over 16TB.
the problem that after the diskfile reach 16TB, the disk get a state of
read-only at this limit.
I know, that 16TB file size is max, is there a option to create the disk in
mutliple files?
we want to us
From: Marc-André Lureau
Wire up chardev fe_event to Spice port.
Signed-off-by: Marc-André Lureau
Signed-off-by: Gerd Hoffmann
---
spice-qemu-char.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/spice-qemu-char.c b/spice-qemu-char.c
index e074d9e..16439c5 100644
--- a/spice-q
Il 16/12/2013 08:32, Edgar E. Iglesias ha scritto:
> On Fri, Dec 13, 2013 at 12:14:31PM +0100, Antonios Motakis wrote:
>> This option complements -mem-path. It implies -mem-prealloc. If specified,
>> the guest RAM is allocated as a shared memory object. If both -mem-path
>> and -mem-share are provi
Il 14/12/2013 17:31, Peter Lieven ha scritto:
> this fixes a potential segfault and performance regression.
>
> If the coroutine is reentered directly in the iscsi_co_generic_cb
> iscsi_process_{read,write} are interrupted and reentered any
> time later. One the one hand this could happen after an
On 16 December 2013 10:11, C Fontana wrote:
> Sorry for noticing only now,
> but there is a missing return here as well I think:
>
>> static void disas_add_sub_imm(DisasContext *s, uint32_t insn)
>> +default:
>> +unallocated_encoding(s);
>
> should return; here I think.
Yes, fixed.
A bunch of helper functions to manage keyboard events,
to make life simpler for the ui code when submitting
keyboard events.
Signed-off-by: Gerd Hoffmann
---
include/ui/input.h | 5 +
ui/input.c | 35 +++
2 files changed, 40 insertions(+)
diff --git
Hi,
This patch series features a reworked input layer and sdl2 support.
The input layer moves to a model modeled roughly after the linux
event layer. It also uses qapi to create all the data types needed.
First, because it is convinient to have all the support code generated,
and also to make
---
backends/baum.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/backends/baum.c b/backends/baum.c
index 1132899..665107f 100644
--- a/backends/baum.c
+++ b/backends/baum.c
@@ -566,7 +566,7 @@ CharDriverState *chr_baum_init(void)
BaumDriverState *baum;
CharDriv
Add functions to query QemuConsole properties.
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 3 +++
ui/console.c | 24
2 files changed, 27 insertions(+)
diff --git a/include/ui/console.h b/include/ui/console.h
index 4156a87..8543d18 100644
--- a/inclu
Signed-off-by: Gerd Hoffmann
---
ui/gtk.c | 19 ---
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/ui/gtk.c b/ui/gtk.c
index 6316f5b..993a9b5 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -55,6 +55,7 @@
#include "trace.h"
#include "ui/console.h"
+#include "ui/input.h
Signed-off-by: Gerd Hoffmann
---
ui/input-legacy.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/ui/input-legacy.c b/ui/input-legacy.c
index 80f4f5c..a4006cc 100644
--- a/ui/input-legacy.c
+++ b/ui/input-legacy.c
@@ -260,10 +260,8 @@ static void free_keycodes(voi
Define input event types, using qapi. So we get nicely autogenerated
types for our input events. And when it comes to qmp support some day
things will be alot easier.
Types are modeled after the linux input layer. There are separate
event types for each value. There is a sync to indicate the e
Rename ui/input.c to ui/input-legacy.c.
We are going to replace it step by step.
Signed-off-by: Gerd Hoffmann
---
ui/Makefile.objs | 2 +-
ui/{input.c => input-legacy.c} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename ui/{input.c => input-legacy.c} (100%)
diff --git a/
---
ui/curses.c | 47 +--
1 file changed, 25 insertions(+), 22 deletions(-)
diff --git a/ui/curses.c b/ui/curses.c
index dbc3d5e..b044790 100644
--- a/ui/curses.c
+++ b/ui/curses.c
@@ -30,6 +30,7 @@
#include "qemu-common.h"
#include "ui/console.h"
+
sdl2 explicitly binds windows to graphics consoles.
No need to handle non-graphic consoles anywhere.
Also console switching is pointless. Zap code.
Signed-off-by: Gerd Hoffmann
---
ui/sdl2.c | 117 +-
1 file changed, 8 insertions(+), 1
Signed-off-by: Gerd Hoffmann
---
ui/sdl.c | 27 +--
1 file changed, 9 insertions(+), 18 deletions(-)
diff --git a/ui/sdl.c b/ui/sdl.c
index 736bb95..c3b8036 100644
--- a/ui/sdl.c
+++ b/ui/sdl.c
@@ -32,6 +32,7 @@
#include "qemu-common.h"
#include "ui/console.h"
+#inclu
Signed-off-by: Gerd Hoffmann
---
ui/spice-input.c | 62 ++--
1 file changed, 38 insertions(+), 24 deletions(-)
diff --git a/ui/spice-input.c b/ui/spice-input.c
index c9df699..6dab23b 100644
--- a/ui/spice-input.c
+++ b/ui/spice-input.c
@@ -98,4
Signed-off-by: Gerd Hoffmann
---
ui/sdl2.c | 60 +++-
1 file changed, 31 insertions(+), 29 deletions(-)
diff --git a/ui/sdl2.c b/ui/sdl2.c
index ac3ac19..e841424 100644
--- a/ui/sdl2.c
+++ b/ui/sdl2.c
@@ -329,7 +329,7 @@ static void sdl_hid
---
ui/vnc.c | 25 ++---
1 file changed, 6 insertions(+), 19 deletions(-)
diff --git a/ui/vnc.c b/ui/vnc.c
index 5601cc3..4658559 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -33,6 +33,7 @@
#include "qapi/qmp/types.h"
#include "qmp-commands.h"
#include "qemu/osdep.h"
+#include "
---
ui/sdl2.c | 23 ++-
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/ui/sdl2.c b/ui/sdl2.c
index e7a30b3..ac3ac19 100644
--- a/ui/sdl2.c
+++ b/ui/sdl2.c
@@ -33,6 +33,7 @@
#include "qemu-common.h"
#include "ui/console.h"
+#include "ui/input.h"
#include "s
Register and unregister handlers.
Event dispatcher code.
Signed-off-by: Gerd Hoffmann
---
include/ui/input.h | 32 +
ui/Makefile.objs | 2 +-
ui/input.c | 83 ++
3 files changed, 116 insertions(+), 1 deletion(-)
Signed-off-by: Gerd Hoffmann
---
monitor.c | 31 ++-
1 file changed, 26 insertions(+), 5 deletions(-)
diff --git a/monitor.c b/monitor.c
index 845f608..d22e720 100644
--- a/monitor.c
+++ b/monitor.c
@@ -39,6 +39,7 @@
#include "monitor/monitor.h"
#include "monitor/re
It's missing.
Signed-off-by: Gerd Hoffmann
---
qapi-schema.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 89d8060..56981d9 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3372,7 +3372,7 @@
'kp_9', 'less', '
Signed-off-by: Gerd Hoffmann
---
trace-events | 8
ui/input.c | 48
2 files changed, 56 insertions(+)
diff --git a/trace-events b/trace-events
index 9f4456a..a81d71e 100644
--- a/trace-events
+++ b/trace-events
@@ -1019,6 +1019,14 @@ g
---
include/ui/console.h | 1 -
ui/input-legacy.c| 11 +--
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/include/ui/console.h b/include/ui/console.h
index 53e956d..21b32e4 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -50,7 +50,6 @@ void kbd_put_leds
Signed-off-by: Gerd Hoffmann
---
trace-events | 1 +
ui/input.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/trace-events b/trace-events
index a81d71e..322ad11 100644
--- a/trace-events
+++ b/trace-events
@@ -1026,6 +1026,7 @@ input_event_btn(int conidx, const char *btn, bool down)
"c
Transform absolute mouse events according to graphic_rotate.
Legacy input code does it for both absolute and relative events,
but the logic is broken for relative coordinates, so this is
most likely not used anyway.
Signed-off-by: Gerd Hoffmann
---
ui/input.c | 33 ++
---
ui/cocoa.m | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/ui/cocoa.m b/ui/cocoa.m
index be49179..a029493 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -496,16 +496,14 @@ QemuCocoaView *cocoaView;
keycode = cocoa_keycode_to_qemu([event keyCode
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 1 -
ui/input-legacy.c| 23 ---
2 files changed, 24 deletions(-)
diff --git a/include/ui/console.h b/include/ui/console.h
index a3062d0..c7f4e4f 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -46,7
legacy mouse event handlers are registered in the new core,
so they receive events submitted to the new input core.
legacy kbd_mouse_event() continues to use the old code paths.
So new-core event handlers wouldn't see events submitted via
kbd_mouse_event.
This leads to the constrain that we we mu
This removes the last user of the lecagy input mouse handler list,
so we can remove more legacy bits with this.
Signed-off-by: Gerd Hoffmann
---
ui/input-legacy.c | 43 ---
ui/input.c| 21 +
2 files changed, 21 insertions(+), 43
Simplifies building something -> QkeyCode mapping tables.
Uninitialized entries can easily identified then.
Signed-off-by: Gerd Hoffmann
---
qapi-schema.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 0316cb4..89d8060 100644
--
---
include/ui/console.h | 1 -
ui/input-legacy.c| 49 -
2 files changed, 50 deletions(-)
diff --git a/include/ui/console.h b/include/ui/console.h
index 21b32e4..71a0da3 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -47,7 +47,
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 3 ---
ui/input-legacy.c| 21 ++---
2 files changed, 2 insertions(+), 22 deletions(-)
diff --git a/include/ui/console.h b/include/ui/console.h
index c7f4e4f..53e956d 100644
--- a/include/ui/console.h
+++ b/include/ui/co
Signed-off-by: Gerd Hoffmann
---
ui/sdl.c | 84 ++--
1 file changed, 39 insertions(+), 45 deletions(-)
diff --git a/ui/sdl.c b/ui/sdl.c
index c3b8036..c1a16be 100644
--- a/ui/sdl.c
+++ b/ui/sdl.c
@@ -353,7 +353,7 @@ static void sdl_hide
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 1 -
ui/input-legacy.c| 14 --
2 files changed, 15 deletions(-)
diff --git a/include/ui/console.h b/include/ui/console.h
index 9a282cb..3bf69ee 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -329,7 +329,6 @
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 2 ++
ui/cocoa.m | 63 ++--
2 files changed, 44 insertions(+), 21 deletions(-)
diff --git a/include/ui/console.h b/include/ui/console.h
index 8543d18..a3062d0 100644
--- a/include/u
sdl2 gives us scancodes (i.e. identifies keys by location not by keysym
mapped to it). We can map them directly to QKeyCodes, pass them on to
the new input core and be done with it.
No need to jump though any keymap hops. Zap the code.
Also operate directly on SDL scancodes for any hotkeys.
Sig
On 13 December 2013 19:18, Peter Maydell wrote:
> static void disas_data_proc_3src(DisasContext *s, uint32_t insn)
> {
> -unsupported_encoding(s, insn);
> +int rd = extract32(insn, 0, 5);
> +int rn = extract32(insn, 5, 5);
> +int ra = extract32(insn, 10, 5);
> +int rm = extra
---
ui/Makefile.objs | 2 +-
ui/sdl2.c| 173 +--
2 files changed, 104 insertions(+), 71 deletions(-)
diff --git a/ui/Makefile.objs b/ui/Makefile.objs
index e6a5ec1..6f2294e 100644
--- a/ui/Makefile.objs
+++ b/ui/Makefile.objs
@@ -15,6
---
ui/spice-input.c | 22 --
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/ui/spice-input.c b/ui/spice-input.c
index 3beb8de..c9df699 100644
--- a/ui/spice-input.c
+++ b/ui/spice-input.c
@@ -26,12 +26,15 @@
#include "qemu-common.h"
#include "ui/qemu-spice.h"
1 - 100 of 275 matches
Mail list logo