Hi all:
Currently, we use cgroup(memory) to support memory QoS on KVM platform, and use
"mlock" on qemu to support "memory reserved".
The "mlock" seems to be not appropriate.
Now qemu "mlock" memory in the main thread, which would lock iothread
(qemu_mutex_lock_iothread), if the memory size is la
Il 04/03/2014 22:45, Stefan Hajnoczi ha scritto:
There are two problems with QOM link properties:
1. There are refcount leaks in many object_property_add_link() callers.
2. There is no way to prevent link properties from being set after a device is
realized.
This patch series fixes these iss
Eric Blake writes:
> On 02/28/2014 02:01 PM, Markus Armbruster wrote:
>> The encrypted images Saturday afternoon hack is a gift that keeps on
>> giving. I wish we could rip it out and bury it deep. Or that I could
>> continue to ignore it. Unfortunately, it looks like I need to touch it
>> to
Il 05/03/2014 06:15, Alexey Kardashevskiy ha scritto:
Normally VIOSRP_OK (0) means success and non-zero value means error
except VIOSRP_OK2 (0x99) which is another success code by weird accident.
This uses 0 as success code always as some guests do not cope with
the 0x99 value well. The existing
Il 05/03/2014 04:50, Hu Tao ha scritto:
> >"bind" is not one of the values of HostMemPolicy - is that missing from
> >patch 27/28?
>
> Should be membind.
How about change it into bind to keep in line with MPOL_BIND?
Sure!
Paolo
Paolo Bonzini writes:
> Il 28/02/2014 23:08, Eric Blake ha scritto:
>> Use the fact that we are calling the next release "2.0" to actually kill
>> qemu disk encryption as a horribly botched feature, on the grounds that
>> we are doing users a favor by not letting them use broken encryption?
>
> O
Il 05/03/2014 00:49, Michael S. Tsirkin ha scritto:
On Mon, Mar 03, 2014 at 11:05:17PM +0100, Hervé Poussineau wrote:
Ping.
QEMU crash at reboot is due to not resetting PAM registers at i440fx
reset, but a patch has already been rejected on ML:
http://lists.gnu.org/archive/html/qemu-devel/2013-
Am 05.03.2014 03:50, schrieb Alexey Kardashevskiy:
> On 03/04/2014 01:55 PM, Andreas Färber wrote:
>> Hello,
>>
>> Prompted by Alexey's desire for tweakable PowerPCCPU properties but also by
>> Peter's wish for ARMCPU properties, this series sets out to align cpu_model
>> parsing across targets.
>>
PowerPC kernel expects the number of SMT threads in a core to be a power
of 2. Since QEMU doesn't enforce this, it leads to an early guest kernel
crash if invalid threads count is specified.
Prevent this crash and make it a graceful exit from QEMU itself by
validating the user supplied threads cou
Kevin Wolf writes:
> Am 28.02.2014 um 22:01 hat Markus Armbruster geschrieben:
>> Questions:
>>
>> 1. Should we protect guests from state NEEDKEY?
>
> Yes. An image in state NEEDKEY isn't fully initialised, so we should
> make sure that it isn't used.
Consensus.
>> 2. If yes, how?
>>
>>Pa
On 04/03/14 15:53, Eric Blake wrote:
> On 03/04/2014 08:22 AM, Anton Ivanov (antivano) wrote:
>> Apologies, missed to diff the json definitions.
>>
>> Attached.
>>
> Missing a commit message and a Signed-off-by line, so it can't be
> applied as-is. Also, we prefer inline patches (as sent by 'git
>
Il 05/03/2014 09:01, Zhanghailiang ha scritto:
> Hi all:
>
> Currently, we use cgroup(memory) to support memory QoS on KVM platform,
> and use "mlock" on qemu to support "memory reserved".
>
> The "mlock" seems to be not appropriate.
>
> Now qemu "mlock" memory in the main thread, which would lo
On Tue, Mar 04, 2014 at 09:47:09AM +, Anton Ivanov (antivano) wrote:
> On 04/03/14 09:36, Stefan Hajnoczi wrote:
> > On Mon, Mar 03, 2014 at 02:01:00PM +, Anton Ivanov (antivano) wrote:
> >> On 03/03/14 13:27, Stefan Hajnoczi wrote:
> >>> On Fri, Feb 28, 2014 at 08:28:11AM +, Anton Ivan
Il 05/03/2014 09:24, Markus Armbruster ha scritto:
Paolo Bonzini writes:
Il 28/02/2014 23:08, Eric Blake ha scritto:
Use the fact that we are calling the next release "2.0" to actually kill
qemu disk encryption as a horribly botched feature, on the grounds that
we are doing users a favor by n
On Tue, Mar 04, 2014 at 11:32:26AM +, Anton Ivanov (antivano) wrote:
> > If you really *need* the page size, please use sysconf(_SC_PAGESIZE).
>
> I like to have it page aligned and if possible page sized so I can later
> extend to do jumbo frame support via a vector. If this is the wrong way
Il 05/03/2014 02:00, Huangpeng (Peter) ha scritto:
One question:
Can post-copy fallback if exceptions happen during post-copy?
What do you mean by 'exceptions' here? Generally postcopy can't fall back to
precopy because once you're in postcopy mode the state is split between the
two machines.
On Tue, Mar 04, 2014 at 01:32:54PM +0100, Paolo Bonzini wrote:
> Il 04/03/2014 05:10, Alexey Kardashevskiy ha scritto:
> >This reworks/adds traces for migration.
> >v2 is rework of an original single patch with the same subject.
> >
> >Alexey Kardashevskiy (3):
> > vl: add system_wakeup_request tr
I think the would be nice if we add a command-line option (or maybe even an
option that can be changed dinamically) for the net backend that
enables/disables the use of the CORK flag, so that the device emulation can
use it anyways, but backend does really use it (and so there are real
effects) onl
Il 05/03/2014 06:15, Alexey Kardashevskiy ha scritto:
Normally VIOSRP_OK (0) means success and non-zero value means error
except VIOSRP_OK2 (0x99) which is another success code by weird accident.
This uses 0 as success code always as some guests do not cope with
the 0x99 value well. The existing
Handle the new CCW_CMD_SET_IND_ADAPTER command enabling adapter interrupts
on guest request. When active, host->guest notifications will be handled
via global_indicator -> queue indicators instead of queue indicators +
subchannel I/O interrupt. Indicators for virtqueues may be present at an
offset.
The following changes since commit f55ea6297cc0224fe4934b90ff5343b620b14669:
block/gluster: Add missing argument to qemu_gluster_init() call (2014-03-04
20:20:57 +)
are available in the git repository at:
git://github.com/cohuck/qemu.git tags/virtio-ccw-20140305
for you to fetch
Il 05/03/2014 09:43, Markus Armbruster ha scritto:
Or we can do our users a favor and kill support for encrypted images
dead (except in qemu-img, of course). Revive when we have encryption
that actually works, both in the safety and security sense.
I think this is okay, since the patch should
Am 05.03.2014 09:14, schrieb Paolo Bonzini:
> Il 04/03/2014 22:45, Stefan Hajnoczi ha scritto:
>> There are two problems with QOM link properties:
>>
>> 1. There are refcount leaks in many object_property_add_link() callers.
>> 2. There is no way to prevent link properties from being set after a
>>
Am 04.03.2014 22:45, schrieb Stefan Hajnoczi:
> The path resolution logic in object_property_set_link() should be a
> separate function. This makes the code easier to read and maintain.
>
> More importantly, the error behavior of object_property_set_link() is
> dangerous. It sets the link proper
Hi,
> I can't see why QMP commands would ever want to create in state NEEDKEY.
> We could easily avoid it there: give QMP commands creating
> BlockDriverStates an optional password parameter, fail the command if
> the BDS is encrypted and the password parameter is missing.
Fully agree.
The cha
Il 05/03/2014 10:24, Andreas Färber ha scritto:
Am 05.03.2014 09:14, schrieb Paolo Bonzini:
Il 04/03/2014 22:45, Stefan Hajnoczi ha scritto:
There are two problems with QOM link properties:
1. There are refcount leaks in many object_property_add_link() callers.
2. There is no way to prevent li
Am 05.03.2014 09:43, schrieb Markus Armbruster:
> Kevin Wolf writes:
>
>> 'change' is a bit trickier because it involves several low-level actions
>> at once, and device_add is not one of them.
>
> The problem is that it can run while a device model is attached.
What exactly is the problem here
v2:
* A NULL set() callback should make the property read-only
There are two problems with QOM link properties:
1. There are refcount leaks in many object_property_add_link() callers.
2. There is no way to prevent link properties from being set after a device is
realized.
This patch series f
The path resolution logic in object_property_set_link() should be a
separate function. This makes the code easier to read and maintain.
More importantly, the error behavior of object_property_set_link() is
dangerous. It sets the link property object to NULL if an error occurs.
A setter function
There are currently three types of object_property_add_link() callers:
1. The link property may be set at any time.
2. The link property of a DeviceState instance may only be set before
realize.
3. The link property may never be set, it is read-only.
Something similar can already be achieved w
Some object_property_add_link() callers expect property deletion to
unref the link property object. Other callers expect to manage the
refcount themselves. The former are currently broken and therefore leak
the link property object.
This patch adds the bool unref_on_release argument to
object_pr
QOM child properties take a reference to the object and release it when
the property is deleted. Therefore we should unref the default_backend
after we have added it as a child property.
Cc: KONRAD Frederic
Signed-off-by: Stefan Hajnoczi
---
hw/virtio/virtio-rng.c | 3 +++
1 file changed, 3 in
Paolo Bonzini writes:
> Il 05/03/2014 09:24, Markus Armbruster ha scritto:
>> Paolo Bonzini writes:
>>
>>> Il 28/02/2014 23:08, Eric Blake ha scritto:
Use the fact that we are calling the next release "2.0" to actually kill
qemu disk encryption as a horribly botched feature, on the gro
Il 19/02/2014 10:05, Mark Cave-Ayland ha scritto:
+#define CG3_REG_SIZE0x20
+
+#define CG3_REG_FBC_CTRL0x10
+#define CG3_REG_FBC_STATUS 0x11
+#define CG3_REG_FBC_CURSTART0x12
+#define CG3_REG_FBC_CUREND 0x13
+#define CG3_REG_FBC_VCTRL 0x14
+
+typedef struct
Am 04.03.2014 15:00, schrieb Paolo Bonzini:
> From: Igor Mammedov
>
> Adds option to -m
> "mem" - startup memory amount
Sorry for jumping in late, but assuming that -m is for "memory" already,
wouldn't it make more sense to name it "size" instead of "mem"?
>
> For compatibility with legacy CL
Am 04.03.2014 15:00, schrieb Paolo Bonzini:
> Reviewed-by: Laszlo Ersek
> Signed-off-by: Paolo Bonzini
Reviewed-by: Andreas Färber
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Am 05.03.2014 um 09:15 hat Markus Armbruster geschrieben:
> Eric Blake writes:
> > Uggh - so there's no current way to hot-plug a device in state GOTKEY
> > short of using a two-command sequence? It would be nicer if hot-plug
> > had a way to fail to add encrypted devices unless the user also pas
Il 05/03/2014 11:06, Andreas Färber ha scritto:
Am 04.03.2014 15:00, schrieb Paolo Bonzini:
From: Igor Mammedov
Adds option to -m
"mem" - startup memory amount
Sorry for jumping in late, but assuming that -m is for "memory" already,
wouldn't it make more sense to name it "size" instead of "
Andreas Färber writes:
> Am 05.03.2014 09:43, schrieb Markus Armbruster:
>> Kevin Wolf writes:
>>
>>> 'change' is a bit trickier because it involves several low-level actions
>>> at once, and device_add is not one of them.
>>
>> The problem is that it can run while a device model is attached.
Il 05/03/2014 11:36, Markus Armbruster ha scritto:
Andreas Färber writes:
Am 05.03.2014 09:43, schrieb Markus Armbruster:
Kevin Wolf writes:
'change' is a bit trickier because it involves several low-level actions
at once, and device_add is not one of them.
The problem is that it can run
On Di, 2014-03-04 at 14:20 -0500, Gabriel L. Somlo wrote:
>- deprecate passing individual smbios fields (SMBIOS_FIELD_ENTRY)
>- added functionality to build full tables instead, and pass them
> to the bios via fw_cfg as SMBIOS_TABLE_ENTRY blobs
>- added code to optionally build typ
Am 04.03.2014 15:00, schrieb Paolo Bonzini:
> This series includes all the pending work on QOMifying the memory
> backends.
[snip]
There's also a recent RFC from Chen Fan about how to model the
association between NUMA nodes and CPU socket/core/thread that
would/should influence this series if we'
Hi Gibson,
I noticed your patch http://git.qemu.org/?p=qemu.git;a=commitdiff;h=89dfd6e1
and have some question about PCI bus name on PowerPC.
When I use libvirt to start VM on PowerPC platforms, it failed as below:
# virsh start sdk
error: Failed to start domain sdk
error: internal error: early
Hi,
Am 05.03.2014 08:27, schrieb Praveen Bajantri:
> I am not sure whether I should post my query here.
> I want to try and boot android on top of a linux for intel BayTrail
> processor using KVM-QEMU. I had hard time in finding any tablet/board for
> this purpose. Does anyone has tried it before
Hi all,
This is a functional driver which will interoperate versus most L2TPv3
implementations. It cannot be split into smaller patches - this is an
entire transport.
It will get one small incremental update at a later date. Some broken
l2tpv3 implementations require a counter field but do not
Hi,
Am 05.03.2014 05:27, schrieb Eric Auger:
> Hi Kim,
>
> - Parameter 'driver' expects pluggable device type
> this can be fixed setting dc->cannot_instantiate_with_device_add_yet to
> false in vfio_platform_dev_class_init. You do not get the error anymore.
> However I must aknowledge I have not
On 03/05/2014 07:30 PM, Andreas Färber wrote:
> Am 05.03.2014 03:50, schrieb Alexey Kardashevskiy:
>> On 03/04/2014 01:55 PM, Andreas Färber wrote:
>>> Hello,
>>>
>>> Prompted by Alexey's desire for tweakable PowerPCCPU properties but also by
>>> Peter's wish for ARMCPU properties, this series sets
Am 05.03.2014 02:23, schrieb Alex Williamson:
> On Tue, 2014-03-04 at 18:24 -0600, Kim Phillips wrote:
>> On Fri, 28 Feb 2014 11:03:18 -0700
>> Alex Williamson wrote:
>>
>>> This all looks reasonable, but I suspect it would be cleaner if
>>> vfio_find_get_group() was in a common file along with ba
Il 05/03/2014 12:05, Andreas Färber ha scritto:
Am 04.03.2014 15:00, schrieb Paolo Bonzini:
This series includes all the pending work on QOMifying the memory
backends.
[snip]
There's also a recent RFC from Chen Fan about how to model the
association between NUMA nodes and CPU socket/core/threa
Il 05/03/2014 12:28, Andreas Färber ha scritto:
Am 05.03.2014 02:23, schrieb Alex Williamson:
On Tue, 2014-03-04 at 18:24 -0600, Kim Phillips wrote:
On Fri, 28 Feb 2014 11:03:18 -0700
Alex Williamson wrote:
This all looks reasonable, but I suspect it would be cleaner if
vfio_find_get_group()
On 5 March 2014 08:49, Anton Ivanov (antivano) wrote:
> On 04/03/14 15:53, Eric Blake wrote:
>> Missing a commit message and a Signed-off-by line, so it can't be
>> applied as-is. Also, we prefer inline patches (as sent by 'git
>> send-email') over attached patches; I suggest using 'git send-emai
On 03/05/2014 09:42 PM, hong-hua@freescale.com wrote:
> Hi Gibson,
>
> I noticed your patch http://git.qemu.org/?p=qemu.git;a=commitdiff;h=89dfd6e1
> and have some question about PCI bus name on PowerPC.
>
> When I use libvirt to start VM on PowerPC platforms, it failed as below:
> # virsh s
Hi,
Am 05.03.2014 12:20, schrieb Anton Ivanov (antivano):
> This is a functional driver which will interoperate versus most L2TPv3
> implementations. It cannot be split into smaller patches - this is an
> entire transport.
[snip]
Please see http://wiki.qemu.org/Contribute/SubmitAPatch - in part
Hi,
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 it easier to integrate with qmp some day.
Porting work has only be d
legacy kbd event handlers are registered in the new core,
so they receive events from the new input core code.
keycode -> scancode translation needed here.
legacy kbd_put_keycode() sends events to the new core.
scancode -> keycode translation needed here.
So with this patch the new input core is
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 a lot easier.
Types are modeled after the linux input layer. There are separate
event types for each value. There is a sync to indicate the
It's missing.
Signed-off-by: Gerd Hoffmann
Reviewed-by: Eric Blake
---
qapi-schema.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 609d576..6c381b7 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3556,7 +3556,7 @@
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/
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
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 9d8583c..e78e020 100644
--- a/ui/sdl.c
+++ b/ui/sdl.c
@@ -30,6 +30,7 @@
#include "qemu-common.h"
#include "ui/console.h"
+#inclu
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
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 | 31 ++
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 @
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
Simplifies building something -> QkeyCode mapping tables.
Uninitialized entries can easily identified then.
Signed-off-by: Gerd Hoffmann
Reviewed-by: Eric Blake
---
qapi-schema.json | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index
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 fcdd570..744563c 100644
--- a/trace-events
+++ b/trace-events
@@ -1027,6 +1027,7 @@ input_event_btn(int conidx, const char *btn, bool down)
"c
Signed-off-by: Gerd Hoffmann
---
ui/input-legacy.c | 23 ---
ui/input.c| 29 +
2 files changed, 29 insertions(+), 23 deletions(-)
diff --git a/ui/input-legacy.c b/ui/input-legacy.c
index 7f8e72b..7843482 100644
--- a/ui/input-legacy.c
+++ b
Signed-off-by: Gerd Hoffmann
---
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
Signed-off-by: Gerd Hoffmann
---
ui/cocoa.m | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/ui/cocoa.m b/ui/cocoa.m
index 8661777..d4af3e5 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -514,16 +514,14 @@ QemuCocoaView *cocoaView;
if (keycode) {
Signed-off-by: Gerd Hoffmann
---
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
@@ -5
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 a633d89..74c0936 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -59,6 +59,7 @@
#include "trace.h"
#include "ui/console.h"
+#include "ui/input.h
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
---
trace-events | 8
ui/input.c | 48
2 files changed, 56 insertions(+)
diff --git a/trace-events b/trace-events
index d86f98c..fcdd570 100644
--- a/trace-events
+++ b/trace-events
@@ -1020,6 +1020,14 @@ g
Likewise a bunch of helper functions to manage mouse button
and movement events, again to make life easier for the ui code.
Signed-off-by: Gerd Hoffmann
---
include/ui/input.h | 14 +++
ui/input.c | 71 ++
2 files changed, 85 in
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
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
---
ui/sdl.c | 84 ++--
1 file changed, 39 insertions(+), 45 deletions(-)
diff --git a/ui/sdl.c b/ui/sdl.c
index e78e020..b80b3df 100644
--- a/ui/sdl.c
+++ b/ui/sdl.c
@@ -351,7 +351,7 @@ static void sdl_hide
Signed-off-by: Gerd Hoffmann
---
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"
#incl
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
Build fixes by Peter Maydell.
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.
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
Richard Henderson writes:
> Removed from other targets in 56bbc2f967ce185fa1c5c39e1aeb5b68b26242e9.
>
> Signed-off-by: Richard Henderson
Reviewed-by: Alex Bennée
> ---
> tcg/aarch64/tcg-target.c | 6 --
> 1 file changed, 6 deletions(-)
>
> diff --git a/tcg/aarch64/tcg-target.c b/tcg/aarc
From: Dave Airlie
I've ported the SDL1.2 code over, and rewritten it to use the SDL2 interface.
The biggest changes were in the input handling, where SDL2 has done a major
overhaul, and I've had to include a generated translation file to get from
SDL2 codes back to qemu compatible ones. I'm stil
Signed-off-by: Gerd Hoffmann
---
ui/gtk.c | 58 +++---
1 file changed, 19 insertions(+), 39 deletions(-)
diff --git a/ui/gtk.c b/ui/gtk.c
index 74c0936..1851495 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -194,7 +194,7 @@ static void gd_update_curs
Richard Henderson writes:
> Signed-off-by: Richard Henderson
Reviewed-by: Alex Bennée
> ---
> configure | 6 ++
> 1 file changed, 6 insertions(+)
>
> diff --git a/configure b/configure
> index 8ad03ea..d303ffc 100755
> --- a/configure
> +++ b/configure
> @@ -4868,6 +4868,12 @@ for i in $
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 12
ui/console.c | 17 +
2 files changed, 29 insertions(+)
diff --git a/include/ui/console.h b/include/ui/console.h
index b2af53e..08a38ea 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@
Signed-off-by: Gerd Hoffmann
---
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.
Richard Henderson writes:
> This reduces the code size of the function significantly.
>
> Signed-off-by: Richard Henderson
> ---
> tcg/aarch64/tcg-target.c | 95
> +---
> 1 file changed, 50 insertions(+), 45 deletions(-)
>
> diff --git a/tcg/aarch64
Richard Henderson writes:
> Signed-off-by: Richard Henderson
Subject looks a little space mangled. Otherwise:
Reviewed-by: Alex Bennée
> ---
> tcg/aarch64/tcg-target.c | 28 +++-
> 1 file changed, 7 insertions(+), 21 deletions(-)
>
> diff --git a/tcg/aarch64/tcg-ta
Richard Henderson writes:
> It was unused. Let's not overcomplicate things before we need them.
>
> Signed-off-by: Richard Henderson
Reviewed-by: Alex Bennée
> ---
> tcg/aarch64/tcg-target.c | 11 +--
> 1 file changed, 5 insertions(+), 6 deletions(-)
>
> diff --git a/tcg/aarch64/tcg
Richard Henderson writes:
> Signed-off-by: Richard Henderson
> ---
> tcg/aarch64/tcg-target.c | 20 +++-
> 1 file changed, 7 insertions(+), 13 deletions(-)
>
>
> +case INDEX_op_mov_i64:
> +case INDEX_op_mov_i32:
> +case INDEX_op_movi_i64:
> +case INDEX_op_mov
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
Kevin Wolf writes:
> Am 05.03.2014 um 09:15 hat Markus Armbruster geschrieben:
>> Eric Blake writes:
>> > Uggh - so there's no current way to hot-plug a device in state GOTKEY
>> > short of using a two-command sequence? It would be nicer if hot-plug
>> > had a way to fail to add encrypted devic
Paolo Bonzini writes:
> Il 05/03/2014 11:36, Markus Armbruster ha scritto:
>> Andreas Färber writes:
>>
>>> Am 05.03.2014 09:43, schrieb Markus Armbruster:
Kevin Wolf writes:
> 'change' is a bit trickier because it involves several low-level actions
> at once, and device_add i
Signed-off-by: Gerd Hoffmann
---
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/incl
Signed-off-by: Gerd Hoffmann
---
ui/vnc.c | 46 ++
ui/vnc.h | 1 +
2 files changed, 23 insertions(+), 24 deletions(-)
diff --git a/ui/vnc.c b/ui/vnc.c
index 4658559..7dfc94a 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -1484,7 +1484,7 @@ static void client
Same as kbd_mouse_is_absolute(), but using new input core.
Signed-off-by: Gerd Hoffmann
---
include/ui/input.h | 1 +
ui/input.c | 8
2 files changed, 9 insertions(+)
diff --git a/include/ui/input.h b/include/ui/input.h
index c6f50c2..28afc45 100644
--- a/include/ui/input.h
+++
Signed-off-by: Gerd Hoffmann
---
hw/arm/musicpal.c| 2 +-
hw/display/blizzard.c| 2 +-
hw/display/cg3.c | 2 +-
hw/display/cirrus_vga.c | 4 ++--
hw/display/exynos4210_fimd.c | 2 +-
hw/display/g364fb.c | 2 +-
hw/display/jazz_led.c| 2
Signed-off-by: Gerd Hoffmann
---
monitor.c | 31 ++-
1 file changed, 26 insertions(+), 5 deletions(-)
diff --git a/monitor.c b/monitor.c
index 3863d83..342e83b 100644
--- a/monitor.c
+++ b/monitor.c
@@ -39,6 +39,7 @@
#include "monitor/monitor.h"
#include "qemu/readl
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 4
include/ui/input.h | 4
ui/input-legacy.c| 34 +-
ui/input.c | 30 ++
4 files changed, 35 insertions(+), 37 deletions(-)
diff --git a/include/ui/cons
1 - 100 of 283 matches
Mail list logo