From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
target-arm/cpu-qom.h | 1 +
target-arm/cpu.c | 2 ++
target-arm/cpu.h | 3 ++-
target-arm/helper.c | 64
4 files changed, 69 insertions(+), 1 deletion(-)
diff --git a
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
hw/arm/virt.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 6e939d8..e85d118 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -397,6 +397,9 @@ static void create_gic(VirtBoardInfo *vbi,
On Fri, May 29, 2015 at 04:28:51PM +1000, Alistair Francis wrote:
> Firstly this patch series tidies up some code and removes
> a "xlnx." prefix.
>
> Then it moves the Microblaze PVR registers to the end
> of the CPUMBState to preserve them during reset. This
> allows most of the operations on the
On Fri, May 29, 2015 at 4:58 PM, Edgar E. Iglesias
wrote:
> On Fri, May 29, 2015 at 04:28:51PM +1000, Alistair Francis wrote:
>> Firstly this patch series tidies up some code and removes
>> a "xlnx." prefix.
>>
>> Then it moves the Microblaze PVR registers to the end
>> of the CPUMBState to preser
I did some tests and comparisons between my new Cortex-M implementation and the
existing lm3s6965evb and netduino2 boards, and it seems the stm32f205 does not
enable the SysTick device, since my simple seconds counting application hangs.
exactly the same application works properly on lm3s6965evb
On 2015/5/21 18:56, Daniel P. Berrange wrote:
> Switch the qcow/qcow2 block driver over to use the generic cipher
> API, this allows it to use the pluggable AES implementations,
> instead of being hardcoded to use QEMU's built-in impl.
>
> Signed-off-by: Daniel P. Berrange
> ---
> block/qcow.c
On Thu, May 28, 2015 at 10:17:25PM -0700, Peter Crosthwaite wrote:
> On Wed, May 20, 2015 at 10:02 PM, Bharata B Rao
> wrote:
> > Move cpu_exec_init() call from instance_init to realize. This allows
> > any failures from cpu_exec_init() to be handled appropriately.
> > Also add corresponding cpu_e
On 17.04.2015 10:53, Chen Fan wrote:
> via initialize callback to create bond device.
>
> Signed-off-by: Chen Fan
> ---
> src/qemu/qemu_agent.c | 118
>
> src/qemu/qemu_agent.h | 10
> src/qemu/qemu_domain.c | 70 +
Make features 64bit wide everywhere. Exception: command line flags
remain 32bit and are copyed into the lower 32 host_features at
initialization time.
On migration a full 64bit guest_features field is sent if one of the
high bits is set, additionally to the lower 32bit guest_features field
which
"Dr. David Alan Gilbert" writes:
> * John Snow (js...@redhat.com) wrote:
>>
>>
>> On 05/21/2015 09:19 AM, Kevin Wolf wrote:
>> > The floppy controller spec describes three different controller phases,
>> > which are currently not explicitly modelled in our emulation. Instead,
>> > each phase is
Make features 64bit wide everywhere. Exception: command line flags
remain 32bit and are copyed into the lower 32 host_features at
initialization time.
On migration a full 64bit guest_features field is sent if one of the
high bits is set, additionally to the lower 32bit guest_features field
which
On Fr, 2015-05-29 at 09:48 +0200, Gerd Hoffmann wrote:
> Make features 64bit wide everywhere. Exception: command line flags
> remain 32bit and are copyed into the lower 32 host_features at
> initialization time.
Oops, forgot to "git commit --amend", scratch this, v2 coming.
sorry,
Gerd
Bandan Das writes:
> Eric Blake writes:
>
>> On 05/28/2015 12:48 PM, Bandan Das wrote:
>>> Markus Armbruster writes:
>>>
Bandan Das writes:
> There's too much going on in monitor_parse_command().
> Split up the arguments parsing bits into a separate function
> monitor_pa
Shannon Zhao writes:
> From: Shannon Zhao
>
> Signed-off-by: Shannon Zhao
> Signed-off-by: Shannon Zhao
Suffering an identity crisis? ;)
> ---
> hw/display/cg3.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/hw/display/cg3.c b/hw/display/cg3.c
> index 1e6ff2b..
* Wen Congyang (we...@cn.fujitsu.com) wrote:
> On 05/29/2015 12:24 AM, Dr. David Alan Gilbert wrote:
> > * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
> >> This is the 5th version of COLO, here is only COLO frame part, include: VM
> >> checkpoint,
> >> failover, proxy API, block replicat
On 2015/5/29 9:29, Wen Congyang wrote:
On 05/29/2015 12:24 AM, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
This is the 5th version of COLO, here is only COLO frame part, include: VM
checkpoint,
failover, proxy API, block replication API, not include bl
Luiz Capitulino writes:
> On Tue, 26 May 2015 17:20:39 +0200
> Markus Armbruster wrote:
>
>> Signed-off-by: Markus Armbruster
>> Reviewed-by: Eric Blake
[...]
>> index 8170309..38ff972 100644
>> --- a/monitor.c
>> +++ b/monitor.c
>> @@ -1032,39 +1032,33 @@ static void hmp_info_trace_events(Mon
Luiz Capitulino writes:
> On Tue, 26 May 2015 17:20:48 +0200
> Markus Armbruster wrote:
>
>> The previous commits narrowed use of QError to handle_qmp_command()
>> and its helpers monitor_protocol_emitter(), build_qmp_error_dict().
>> Narrow it further to just the command handler call: instead o
Luiz Capitulino writes:
> On Tue, 26 May 2015 17:20:35 +0200
> Markus Armbruster wrote:
>
>> Command handlers still use QError. Left for another day.
>
> Great work! I've found one bug that has to be addressed before merging.
> Also, for the error conversions you're doing you're going from
> qe
-05-28
16:57:35 +0100)
are available in the git repository at:
git://anongit.freedesktop.org/spice/qemu tags/pull-spice-20150529-1
for you to fetch changes up to f7a8beb5e6a13dc924895244777d9ef08b23b367:
spice: fix spice_chr_add_watch() pre-condition (2015-05-29 09:5
From: Marc-André Lureau
The spice server is polling on write, unless
SPICE_CHAR_DEVICE_NOTIFY_WRITABLE flag is set. In this case, qemu must
call spice_server_char_device_wakeup() when the frontend is writable.
Signed-off-by: Marc-André Lureau
Signed-off-by: Gerd Hoffmann
---
spice-qemu-char.c
From: Marc-André Lureau
Since e02bc6de30c44fd668dc0d6e1cd1804f2eed3ed3, add_watch() is called
with G_IO_HUP. Even if spice-qemu-char ignores this flag, the
precondition must be changed.
https://bugzilla.redhat.com/show_bug.cgi?id=1128992
Signed-off-by: Gerd Hoffmann
---
spice-qemu-char.c | 2
Skip mm_time updates (in qxl device memory) in case the guest is stopped.
Guest isn't able to look anyway, and it causes problems with migration.
Also make sure the initial state for spice server is stopped.
Reported-by: Dr. David Alan Gilbert
Signed-off-by: Gerd Hoffmann
---
hw/display/qxl.c
From: Marc-André Lureau
When the virtio serial is writable, notify the chardev backend
with qemu_chr_accept_input().
Signed-off-by: Marc-André Lureau
Signed-off-by: Gerd Hoffmann
---
hw/char/virtio-console.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/hw/char/virtio-consol
Am 28.05.2015 um 21:41 hat Eric Blake geschrieben:
> On 05/28/2015 09:23 AM, Max Reitz wrote:
>
> Can we mark the parameter optional, and only provide it when it is
> non-zero? That way, qemu-img (which cannot set an interval) will not
> report it, and the only time it will appear
* Markus Armbruster (arm...@redhat.com) wrote:
> "Dr. David Alan Gilbert" writes:
>
> > * John Snow (js...@redhat.com) wrote:
> >>
> >>
> >> On 05/21/2015 09:19 AM, Kevin Wolf wrote:
> >> > The floppy controller spec describes three different controller phases,
> >> > which are currently not ex
On Fri, 22 May 2015 13:32:54 +0300
Pavel Fedin wrote:
> This is an improved and KVM-aware alternative to
> https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg00942.html. Changes
> are:
> 1. MPIDR value (minus feature bits) is now directly stored in CPU instance.
> 2. Default assignment is
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
> On 2015/5/29 9:29, Wen Congyang wrote:
> >On 05/29/2015 12:24 AM, Dr. David Alan Gilbert wrote:
> >>* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
> >>>This is the 5th version of COLO, here is only COLO frame part, include: VM
> >>
Am 28.05.2015 um 14:21 hat Markus Armbruster geschrieben:
> Touches vl.c, which gives me pretext to ask Paolo: would you be
> willing to take this through your tree? Or should I take it through
> mine?
After this series we have an ugly half-converted state where
qemu_opts_foreach() has both a ret
On Wed, 27 May 2015 18:29:17 +0200
Radim Krčmář wrote:
> In the old times, we always had pvpanic in ACPI and a _STA function told
> the guest not to use it. Now, we only include pvpanic in ACPI if it is
> enabled, so the _STA function is useless from qemu's point of view, but
> guests still want
Hello!
> > +/*
> > + * When KVM is in use, psci is emulated in-kernel and not by qemu.
> > + * In order for it to work correctly we should use correct MPIDR
> > values,
> > + * which appear to be inherited from the host.
> why it must be inherited from host?
> Could you point out
- Mail original -
> De: "Paolo Bonzini"
> À: "Victor CLEMENT" , qemu-devel@nongnu.org
> Cc: "francois guerret"
> Envoyé: Mercredi 27 Mai 2015 14:52:55
> Objet: Re: [Qemu-devel] [PATCH 0/3] implement a new icount_no_rt mode
>
> [...] Or are there other cases besides RTC devices?
>
> Paol
On Wed, 27 May 2015 19:55:52 +0200
Markus Armbruster wrote:
> Markus Armbruster (3):
> Revert "aml-build: fix build for glib < 2.22"
> acpi: Drop superfluous GLIB_CHECK_VERSION()
> acpi: Simplify printing to dynamic string
>
> hw/acpi/aml-build.c | 34 +++---
>
- Mail original -
> De: "Paolo Bonzini"
> À: "Victor CLEMENT" , qemu-devel@nongnu.org
> Cc: "francois guerret"
> Envoyé: Mercredi 27 Mai 2015 14:52:00
> Objet: Re: [Qemu-devel] [PATCH 1/3] icount: implement a new icount_no_rt mode
> without real time cpu sleeping
>
>
>
> On 27/05/2015
The brazilian computer keyboard layout has two extra keys (compared to
the usual 105-key intl ps/2 keyboard). This patch makes these two keys
known to qemu.
For historic reasons qemu has two ways to specify a key: A QKeyCode
(name-based) or a number (ps/2 scancode based). Therefore we have to
u
This patch adds the virtio-input-hid base class and
virtio-{keyboard,mouse,tablet} subclasses building on the base class.
They are hooked up to the qemu input core and deliver input events
to the guest like all other hid devices (ps/2 kbd, usb tablet, ...).
Using them is as simple as adding "-devi
ce0274f730eacbd24c706523ddbbabb6b95d0659:
Revert "gdbstub: Do not kill target in system emulation mode" (2015-05-28
16:57:35 +0100)
are available in the git repository at:
git://git.kraxel.org/qemu tags/pull-input-20150529-1
for you to fetch changes up to 55a1d80a41032d6133adec041c0096820beaa1b7:
virtio-input
On Fri, 29 May 2015 01:11:30 +0300
Liviu Ionescu wrote:
> for more flexibility, in the new Cortex-M implementation I'm working on, I
> can overwrite the vendor defined MCU internal SRAM size by using:
>
> -m sizeK
>
> I'm trying to find a way to also overwrite the internal flash size an
This patch adds the two extra brazilian keys to the evdev keymap for
X11. This patch gets the two keys going with the vnc, gtk and sdl1
UIs.
The SDL2 library complains it doesn't know these keys, so the SDL2
library must be fixed before we can update ui/sdl2-keymap.h
Cc: qemu-sta...@nongnu.org
S
This patch adds virtio-input support to qemu. It brings a abstract
base class providing core support, other classes can build on it to
actually implement input devices.
virtio-input basically sends linux input layer events (evdev) over
virtio.
Signed-off-by: Gerd Hoffmann
---
hw/input/Makefile
Linux input layer (evdev) header file.
Signed-off-by: Gerd Hoffmann
---
include/standard-headers/linux/input.h | 1198
scripts/update-linux-headers.sh|4 +-
2 files changed, 1201 insertions(+), 1 deletion(-)
create mode 100644 include/standard-header
Am 29.05.2015 um 10:33 hat Dr. David Alan Gilbert geschrieben:
> * Markus Armbruster (arm...@redhat.com) wrote:
> > "Dr. David Alan Gilbert" writes:
> >
> > > * John Snow (js...@redhat.com) wrote:
> > >>
> > >>
> > >> On 05/21/2015 09:19 AM, Kevin Wolf wrote:
> > >> > The floppy controller spec
On Fri, 29 May 2015 11:53:38 +0300
Pavel Fedin wrote:
> Hello!
>
> > > +/*
> > > + * When KVM is in use, psci is emulated in-kernel and not by qemu.
> > > + * In order for it to work correctly we should use correct MPIDR
> > > values,
> > > + * which appear to be inherited from
Changing the current ordering saves 8 bytes per cache entry in x86_64.
Signed-off-by: Alberto Garcia
Reviewed-by: Max Reitz
Reviewed-by: Eric Blake
---
block/qcow2-cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/qcow2-cache.c b/block/qcow2-cache.c
index a215f5
After having emptied the cache, the data in the cache tables is no
longer useful, so we can tell the kernel that we are done with it. In
Linux this frees the resources associated with it.
The effect of this can be seen in the HMP commit operation: it moves
data from the top to the base image (and
This adds a new 'cache-clean-interval' option that cleans all qcow2
cache entries that haven't been used in a certain interval, given in
seconds.
This allows setting a large L2 cache size so it can handle scenarios
with lots of I/O and at the same time use little memory during periods
of inactivit
v4:
- Revert the 'cache-clean-interval' change. This should probably go
into a new BlockDeviceInfoSpecific struct (along with other
settings), but is out of the scope for this series.
v3: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg05473.html
- Add 'cache-clean-interval' field to
This was copied from virtio-pci, but it doesn't make much sense for
ccw, as it doesn't have to handle the broken implementations this bit
is supposed to deal with. Remove it.
Signed-off-by: Cornelia Huck
---
hw/s390x/virtio-ccw.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/s390x/virtio
We can git rid of most of the feature bit manipulation by transports
(except virtio-pci needing to advertise BAD_FEATURE).
Passed sniff tests with virtio-ccw and s390-virtio.
Patches are on top of "virtio: move host_features".
Cornelia Huck (2):
virtio-ccw: Don't advertise VIRTIO_F_BAD_FEATURE
Nearly all transports have been offering VIRTIO_F_NOTIFY_ON_EMPTY,
s390-virtio being the exception. There's no reason why it shouldn't
offer it as well, though (handling is done in core anyway), so let's
move it to the common virtio features.
While we're changing it anyway, fix the indentation for
* Kevin Wolf (kw...@redhat.com) wrote:
> Am 29.05.2015 um 10:33 hat Dr. David Alan Gilbert geschrieben:
> > * Markus Armbruster (arm...@redhat.com) wrote:
> > > "Dr. David Alan Gilbert" writes:
> > >
> > > > * John Snow (js...@redhat.com) wrote:
> > > >>
> > > >>
> > > >> On 05/21/2015 09:19 AM
Command handlers still use QError. Left for another day.
v3:
* Trivially rebased, R-bys retained.
* PATCH 11: New [Luiz]
v2:
* Trivially rebased, R-bys retained.
* PATCH 01: Drop another async remnant [Eric]
* PATCH 01+02+18: Improve commit messages
* PATCH 03+04: client_migrate_info still hasn'
Inline qmp_call_cmd() along with its helper handler_audit() into its
only caller handle_qmp_command(), and simplify the result.
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Luiz Capitulino
---
monitor.c | 40 +++-
1 file changed, 11
Protocol must be spice, vnc isn't implemented. Fix up documentation.
Attempts to use vnc or any other unknown protocol yield the misleading
error message "Invalid parameter 'protocol'". Improve it to
"Parameter 'protocol' expects spice".
Cc: Gerd Hoffmann
Signed-off-by: Markus Armbruster
Revi
All QMP commands use the "new" handler interface (mhandler.cmd_new).
Most HMP commands still use the traditional interface (mhandler.cmd),
but a few use the "new" one. Complicates handle_user_command() for no
gain, so I'm converting these to the traditional interface.
For device_add, that's easy:
All QMP commands use the "new" handler interface (mhandler.cmd_new).
Most HMP commands still use the traditional interface (mhandler.cmd),
but a few use the "new" one. Complicates handle_user_command() for no
gain, so I'm converting these to the traditional interface.
For drive_del, that's easy:
Signed-off-by: Markus Armbruster
---
monitor.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/monitor.c b/monitor.c
index 61ea346..d336b8f 100644
--- a/monitor.c
+++ b/monitor.c
@@ -4708,19 +4708,20 @@ static int monitor_can_read(void *opaque)
return
All QMP commands use the "new" handler interface (mhandler.cmd_new).
Most HMP commands still use the traditional interface (mhandler.cmd),
but a few use the "new" one. Complicates handle_user_command() for no
gain, so I'm converting these to the traditional interface.
pcie_aer_inject_error's impl
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Luiz Capitulino
---
monitor.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/monitor.c b/monitor.c
index 56564d5..91f8a4e 100644
--- a/monitor.c
+++ b/monitor.c
@@ -377,11 +377,6 @@ static int GCC_F
The previous commits narrowed use of QError to handle_qmp_command()
and its helpers monitor_protocol_emitter(), build_qmp_error_dict().
Narrow it further to just the command handler call: instead of
converting Error to QError throughout handle_qmp_command(), convert
the QError gotten from the comma
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Luiz Capitulino
---
monitor.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/monitor.c b/monitor.c
index 0afcf60..61ea346 100644
--- a/monitor.c
+++ b/monitor.c
@@ -4929,14 +4929,14 @
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Luiz Capitulino
---
monitor.c | 65 ---
1 file changed, 33 insertions(+), 32 deletions(-)
diff --git a/monitor.c b/monitor.c
index 9403c2c..0afcf60 100644
--- a/mon
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Luiz Capitulino
---
monitor.c | 22 +-
1 file changed, 1 insertion(+), 21 deletions(-)
diff --git a/monitor.c b/monitor.c
index 85bb71e..9403c2c 100644
--- a/monitor.c
+++ b/monitor.c
@@ -123,7 +123,6 @@
Superfluous since commit 30f5041 removed it from HMP.
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Luiz Capitulino
---
monitor.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/monitor.c b/monitor.c
index 187ccdb..d01d270 100644
--- a/monitor.c
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Luiz Capitulino
---
include/monitor/monitor.h | 2 +-
monitor.c | 6 --
stubs/mon-is-qmp.c| 4 ++--
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/include/monitor/monitor.h b/includ
Move mon->error handling to its caller handle_qmp_command().
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Luiz Capitulino
---
monitor.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/monitor.c b/monitor.c
index d336b8f..56564d5 100644
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Luiz Capitulino
---
hmp-commands.hx | 3 +--
hmp.c| 17 +
hmp.h| 1 +
monitor.c| 42 ++
qapi-schema.json | 19 +++
qmp
... to monitor_qmp_read(), monitor_qmp_event().
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Luiz Capitulino
---
monitor.c | 14 --
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/monitor.c b/monitor.c
index ac7d851..cf80d10 100644
--- a/moni
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Luiz Capitulino
---
monitor.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/monitor.c b/monitor.c
index 16bd567..ac7d851 100644
--- a/monitor.c
+++ b/monitor.c
@@ -574,7 +574,7 @@ static int d
The asynchronous monitor command interface goes back to commit 940cc30
(Jan 2010). Added a third case to command execution. The hope back
then according to the commit message was that all commands get
converted to the asynchronous interface, killing off the other two
cases. Didn't happen.
The i
While there, inline the pointless qmp_cmd_mode() wrapper.
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Luiz Capitulino
---
monitor.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/monitor.c b/monitor.c
index d01d270..75ae0
While there, rename its type as well, from MonitorControl to
MonitorQMP.
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Luiz Capitulino
---
monitor.c | 33 +++--
1 file changed, 15 insertions(+), 18 deletions(-)
diff --git a/monitor.c b/monit
... and change return type to bool.
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Luiz Capitulino
---
monitor.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/monitor.c b/monitor.c
index 75ae035..3426bdc 100644
--- a/monitor.c
+++ b/m
From: Max Reitz
gdk_cursor_new() has been deprecated in GTK 3.16, it is recommended to
use gdk_cursor_new_for_display() instead, so do that.
Signed-off-by: Max Reitz
Reviewed-by: Cole Robinson
Signed-off-by: Gerd Hoffmann
---
ui/gtk.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
On 29/05/15 01:56, Eric Blake wrote:
On 05/28/2015 12:41 PM, Kirk Allan wrote:
By default, IP addresses and prefixes will be derived from information
obtained by various calls and structures. IPv4 prefixes can be found
by matching the address to those returned by GetAdaptersInfo. IPv6
prefixes
Add helper functions to initialize OpenGL using egl.
Signed-off-by: Gerd Hoffmann
Reviewed-by: Max Reitz
---
configure| 2 +-
include/ui/egl-helpers.h | 16 +
ui/Makefile.objs | 3 +
ui/egl-helpers.c | 148 +++
Signed-off-by: Gerd Hoffmann
Reviewed-by: Max Reitz
---
include/ui/shader.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/ui/shader.h b/include/ui/shader.h
index 992cde6..8509596 100644
--- a/include/ui/shader.h
+++ b/include/ui/shader.h
@@ -1,3 +1,6 @@
+#ifndef QEMU_SHADER_H
ository at:
git://git.kraxel.org/qemu tags/pull-gtk-20150529-1
for you to fetch changes up to 63c67b6d4462b6589b371d55e3740e9f0dba3281:
gtk: Replace gdk_cursor_new() (2015-05-29 11:43:29 +0200)
gtk: add opengl rendering supp
This adds opengl rendering support to the gtk ui, using egl.
It's off by default for now, use 'qemu -display gtk,gl=on'
to play with this.
Note that gtk got native opengl support with release 3.16.
There most likely will be a separate implementation for 3.16+,
using the native gtk opengl support.
libepoxy does the opengl extension handling for us.
It also is helpful for trouble-shooting as it prints nice error messages
instead of silently failing or segfaulting in case we do something
wrong, like using gl commands not supported by the current context.
Signed-off-by: Gerd Hoffmann
Reviewe
babb6b95d0659:
>
> Revert "gdbstub: Do not kill target in system emulation mode" (2015-05-28
> 16:57:35 +0100)
>
> are available in the git repository at:
>
> git://anongit.freedesktop.org/spice/qemu tags/pull-spice-20150529-1
>
> for you to fetch changes
Am 29.05.2015 um 11:38 hat Dr. David Alan Gilbert geschrieben:
> * Kevin Wolf (kw...@redhat.com) wrote:
> > Am 29.05.2015 um 10:33 hat Dr. David Alan Gilbert geschrieben:
> > > * Markus Armbruster (arm...@redhat.com) wrote:
> > > > "Dr. David Alan Gilbert" writes:
> > > >
> > > > > * John Snow (j
* Kevin Wolf (kw...@redhat.com) wrote:
> Am 29.05.2015 um 11:38 hat Dr. David Alan Gilbert geschrieben:
> > * Kevin Wolf (kw...@redhat.com) wrote:
> > > Am 29.05.2015 um 10:33 hat Dr. David Alan Gilbert geschrieben:
> > > > * Markus Armbruster (arm...@redhat.com) wrote:
> > > > > "Dr. David Alan Gi
On 28/05/15 23:54, Denis V. Lunev wrote:
On 28/05/15 21:41, Kirk Allan wrote:
By default, IP addresses and prefixes will be derived from information
obtained by various calls and structures. IPv4 prefixes can be found
by matching the address to those returned by GetAdaptersInfo. IPv6
prefixes c
This is the partial work to introduce bdrv_lock / bdrv_unlock and use them in
block jobs where exclusive access to a BDS is necessary. It address the same
category of problems as [1] with a different API, as the idea proposed by Paolo
and Kevin.
What's implemented in this series is also very close
Forward the call to bdrv_add_lock_unlock_notifier.
Signed-off-by: Fam Zheng
---
block/block-backend.c | 6 ++
include/sysemu/block-backend.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/block/block-backend.c b/block/block-backend.c
index 93e46f3..79fdf75 100644
--- a/block/
Lock immediately follows aio_context_acquire, so unlock right before
the corresponding aio_context_release.
Signed-off-by: Fam Zheng
---
blockdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/blockdev.c b/blockdev.c
index 46f8d60..1c3946a 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -1
For various purposes, BDS users call bdrv_drain or bdrv_drain_all to make sure
there are no pending requests duringA a series of operations on the BDS. But in
the middle of operations, the caller may 1) yield from a coroutine (mirror_run);
2) defer the next part of work to a BH (mirror_run); 3) cal
There callers work on a single BlockDriverState subtree, where using
bdrv_drain() is more accurate.
Signed-off-by: Fam Zheng
---
block.c | 6 +++---
block/snapshot.c | 2 +-
migration/block.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/block.c b/block.c
inde
virtio-blk now listens to locking and unlocking of the associated block
backend.
Up on locking:
non-dataplane:
1) Set VirtIOBlock.paused
2) In virtio_blk_handle_output, do nothing if VirtIOBlock.paused
dataplane:
1) Clear the host event notifier
2) In handle_notify, do nothing if
So that NBD export will not process more requests.
Signed-off-by: Fam Zheng
---
nbd.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/nbd.c b/nbd.c
index 06b501b..854d6a5 100644
--- a/nbd.c
+++ b/nbd.c
@@ -160,6 +160,8 @@ struct NBDExport {
uint32_t nbdflags;
On 29 May 2015 at 11:34, Dr. David Alan Gilbert wrote:
> It's the destination I'm worried about here, not the source; lets say
> you have two devices, a & b. 'a' gets serialised, but then 'b' finds
> it has to wait, so we return to running the source and sending pages
> across. However the dest
Signed-off-by: Fam Zheng
---
blockdev.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/blockdev.c b/blockdev.c
index 5eaf77e..46f8d60 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -1262,6 +1262,7 @@ typedef struct InternalSnapshotState {
BlockDriverState *bs;
AioContext *aio_co
When a disk is attached to scsi-bus, virtio_scsi_hotplug will take care
of protecting the block device with op blockers. Currently we haven't
enabled block jobs (like what's done in virtio_blk_data_plane_create),
but it is better to disable ioeventfd when backend is locked. This is
useful to make
To save the bs pointer for drive_backup_clean, pull the assignment to
state->bs up. It will not be a problem for drive_backup_abort because
state->job will still be NULL.
Signed-off-by: Fam Zheng
---
blockdev.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/blockdev.c b/b
Source and target are in sync when we leave the mirror_run loop, they
should remain so until bdrv_swap. Before block_job_defer_to_main_loop
was introduced, it has been easy to prove that. Now that tricky things
can happen after mirror_run returns and before mirror_exit runs, for
example, ioeventfd
The change is similar to drive-backup in last patch.
Signed-off-by: Fam Zheng
---
blockdev.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/blockdev.c b/blockdev.c
index 517def4..80cf7d5 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -1669,6 +1669,8 @@ static void blockdev_b
If your trying to debug and want to force -O0 then don't allow the
configure script to try and set -O2. You can use --enable-debug but that
enables a lot more stuff by default.
Signed-off-by: Alex Bennée
---
configure | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/config
In preparation for adding the GICv2m which requires address specifiers
and is a subnode of the gic, we extend the gic DT definition to specify
the #address-cells and #size-cells properties and add an empty ranges
property properties of the DT node, since this is required to add the
v2m node as a ch
Should more ops be added to differentiate code between dataplane and
non-dataplane, the new saved_ops approach will be cleaner than messing
with N pointers.
Signed-off-by: Fam Zheng
Reviewed-by: Max Reitz
---
hw/block/dataplane/virtio-blk.c | 13 -
hw/block/virtio-blk.c |
1 - 100 of 293 matches
Mail list logo