Signed-off-by: Markus Armbruster arm...@redhat.com
---
hw/block/virtio-blk.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c
index 8a568e5..f2b4dca 100644
--- a/hw/block/virtio-blk.c
+++
This file holds some functions that do not need to be generated.
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
Reviewed-by: Eric Blake ebl...@redhat.com
---
include/qapi/qmp-event.h | 27 +
qapi/Makefile.objs |1 +
qapi/qmp-event.c | 74
The Tuesday 29 Apr 2014 à 08:21:16 (+0200), Stefan Weil wrote :
Those options were not enabled by default, even when the build
environment would have supported them, so the corresponding
code was not compiled in normal test builds like on build bots.
Signed-off-by: Stefan Weil
qapi-event.py will parse the schema and generate qapi-event.c, then
the API in qapi-event.c can be used to handle event in qemu code.
All API have prefix qapi_event.
The script mainly includes two parts: generate API for each event
define, generate an enum type for all defined events.
Since in
This series add support for tag/keyword 'event' in qapi-schema.
A new file was created to store some helper functions in patch 2, patch 4 is
the test case, patch 5 is a convert example.
The implemention is done by generate API and a batch of parameters for each
event define, it doesn't generate a
This patch also eliminates build time warning caused by
QAPI_EVENT_MAX = 0.
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
docs/qmp/qmp-events.txt | 15 ---
qapi-event.json | 12
vl.c|3 ++-
3 files changed, 14 insertions(+), 16
These cases will verify whether the expected qdict is built.
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
tests/Makefile | 16 ++-
tests/qapi-schema/qapi-schema-test.json | 12 ++
tests/qapi-schema/qapi-schema-test.out | 10 +-
tests/test-qmp-event.c
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
docs/qmp/qmp-events.txt | 12
qapi-event.json |9 +
vl.c|2 +-
3 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/docs/qmp/qmp-events.txt b/docs/qmp/qmp-events.txt
index
Now monitor has been hooked on the new event mechanism, so the patches
later can convert event callers one by one. Most code are copied from
old monitor_protocol_* functions with some modification.
Note that two build time warnings will be raised after this patch. One is
caused by no caller of
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
cpus.c |5 +++--
docs/qmp/qmp-events.txt | 12
qapi-event.json |9 +
3 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/cpus.c b/cpus.c
index dd7ac13..28abb11 100644
---
In order to let event defines use existing types later, instead of
redefine new ones, some old type defines for spice and vnc are changed,
and BlockErrorAction is moved from block.h to qapi schema. Note that
BlockErrorAction is not merged with BlockdevOnError.
One thing not perfect is that,
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
docs/qmp/qmp-events.txt | 18 --
hw/core/qdev.c | 12 ++--
qapi-event.json | 16
3 files changed, 18 insertions(+), 28 deletions(-)
diff --git a/docs/qmp/qmp-events.txt
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
docs/qmp/qmp-events.txt | 12
qapi-event.json | 10 ++
vl.c|2 +-
3 files changed, 11 insertions(+), 13 deletions(-)
diff --git a/docs/qmp/qmp-events.txt b/docs/qmp/qmp-events.txt
index
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
Makefile | 12
qapi-schema.json |2 ++
2 files changed, 10 insertions(+), 4 deletions(-)
create mode 100644 qapi-event.json
diff --git a/Makefile b/Makefile
index 237657e..554fb2d 100644
--- a/Makefile
+++
There is no existing comments for POWERDOWN in doc/qmp/qmp-events.txt,
so no change on it like other conversion patch.
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
qapi-event.json | 10 ++
vl.c|2 +-
2 files changed, 11 insertions(+), 1 deletions(-)
diff --git
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
docs/qmp/qmp-events.txt | 12
qapi-event.json |9 +
vl.c|2 +-
3 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/docs/qmp/qmp-events.txt b/docs/qmp/qmp-events.txt
index
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
docs/qmp/qmp-events.txt | 14 --
hw/acpi/core.c |4 ++--
qapi-event.json | 12
3 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/docs/qmp/qmp-events.txt b/docs/qmp/qmp-events.txt
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
block.c | 36 +++--
blockjob.c|6 -
docs/qmp/qmp-events.txt | 47 -
include/block/block_int.h |3 --
qapi-event.json
Since BLOCK_JOB_COMPLETED, BLOCK_JOB_CANCELLED, BLOCK_JOB_READY are
related, converts them in one patch. The block_job_event_* functions
are used to keep encapsulation of BlockJob structure.
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
block/mirror.c |2 +-
blockdev.c
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
balloon.c | 13 -
docs/qmp/qmp-events.txt| 17 -
hw/virtio/virtio-balloon.c |6 --
include/sysemu/balloon.h |2 --
monitor.c |3 +--
qapi-event.json
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
include/monitor/monitor.h | 40
monitor.c | 216 +---
stubs/Makefile.objs|1 -
stubs/mon-protocol-event.c |6 --
4 files changed, 3 insertions(+), 260
On 02/03/14 18:46, Peter Maydell wrote:
On 3 February 2014 16:04, Christophe Lyon christophe.l...@st.com wrote:
From: Christophe Lyon christophe.l...@linaro.org
mmap_flags_tbl contains a list of mmap flags, and how to map them to
the target. This patch adds MAP_NORESERVE, which was missing to
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
block/quorum.c | 25 -
docs/qmp/qmp-events.txt | 41 -
monitor.c |6 +++---
qapi-event.json | 38 ++
4
For the background I am trying to make networking work on Octeon Linux
guest(run on QEMU) and using e1000 ethernet iface for this purpose. At the
moment if I ping bridge iface (running command on guest), bridge iface
receives ICMP echo request message but does not reply(I have observed using
On 06/05/2014 04:10 AM, Igor Mammedov wrote:
And my question in 4/5 remains - should 'source' and/or 'status' be
defined as an enum rather than an open-coded int?
Using enum for 'source' event, might be possible if we restrict ourselves
to a limit set of supported values and ignore the rest
On 5 June 2014 13:23, Christophe Lyon christophe.l...@st.com wrote:
On 02/03/14 18:46, Peter Maydell wrote:
On 3 February 2014 16:04, Christophe Lyon christophe.l...@st.com wrote:
From: Christophe Lyon christophe.l...@linaro.org
mmap_flags_tbl contains a list of mmap flags, and how to map
There patch protects vmstop_requested with a lock and introduces
qemu_system_vmstop_request_prepare.
Together with the new call to qemu_vmstop_requested in vm_start,
qemu_system_vmstop_request_prepare avoids a race where the VM could remain
stopped even though the iostatus of a block device has
With virtio-blk dataplane, I/O errors might occur while QEMU is
not in the main I/O thread. This makes the block layer's
bdrv_error_action() function thread-safe (modulo changes in
the monitor to make QMP events thread-safe too, already posted).
Thanks to Kevin for discussing v1, the ideas are
With virtio-blk dataplane, I/O errors might occur while QEMU is
not in the main I/O thread. However, it's invalid to call vm_stop
when we're neither in a VCPU thread nor in the main I/O thread,
even if we were to take the iothread mutex around it.
To avoid this problem, we can raise a request to
SPICE_INITIALIZED, SPICE_CONNECTED, SPICE_DISCONNECTED and
SPICE_MIGRATE_COMPLETED are converted in one patch, since they
use some common functions. inet_strfamily() is removed since no
more caller exist now.
Note that there is no existing doc for SPICE_MIGRATE_COMPLETED
in
On 05.06.2014 12:02, Alex Bennée wrote:
Chaos Shu writes:
Hi
I'm running SPEC CPU2006 on three kinds of situation, native aarch64 binary
and emulator x86_64 system running SPEC CPU2006 and linux user mode level
running x86_64 SPEC CPU2006 binary.
To find where the performance lose,
On 05.06.14 08:53, Gavin Shan wrote:
The patch implements sPAPRPHBClass::eeh_handler so that the
EEH RTAS requests can be routed to VFIO for further handling.
Signed-off-by: Gavin Shan gws...@linux.vnet.ibm.com
Just to make sure I grasp this correctly.
We have PHBs that are VFIO PHBs and
On 05.06.14 08:43, Alexey Kardashevskiy wrote:
On 06/05/2014 03:49 PM, Alexey Kardashevskiy wrote:
POWER KVM supports an KVM_CAP_SPAPR_TCE capability which allows allocating
TCE tables in the host kernel memory and handle H_PUT_TCE requests
targeted to specific LIOBN (logical bus number) right
On 5 June 2014 14:00, Sergey Fedorov serge.f...@gmail.com wrote:
Thanks for replying! I used to think about Drystone, gzim, gcc in user
mode. In system mode, Linux boot up and, again, Drystone, gzim, gcc.
Probably worth making sure you also test workloads that do different
things in multiple
On 06/05/2014 11:06 PM, Alexander Graf wrote:
On 05.06.14 08:43, Alexey Kardashevskiy wrote:
On 06/05/2014 03:49 PM, Alexey Kardashevskiy wrote:
POWER KVM supports an KVM_CAP_SPAPR_TCE capability which allows allocating
TCE tables in the host kernel memory and handle H_PUT_TCE requests
Hi,
On Tue, Jun 03, 2014 at 03:07:59PM +0100, Peter Maydell wrote:
Ping!
Looks good, I'll collect this and other linux-user patches and submit
linux-user update
by tomorrow.
Riku
thanks
-- PMM
On 10 May 2014 12:25, Peter Maydell peter.mayd...@linaro.org wrote:
We were returning the
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
docs/qmp/qmp-events.txt | 19 ---
hw/watchdog/watchdog.c | 23 +++
monitor.c |2 +-
qapi-event.json | 15 +++
qapi-schema.json| 24
On 06/05/2014 11:00 PM, Alexander Graf wrote:
On 05.06.14 08:53, Gavin Shan wrote:
The patch implements sPAPRPHBClass::eeh_handler so that the
EEH RTAS requests can be routed to VFIO for further handling.
Signed-off-by: Gavin Shan gws...@linux.vnet.ibm.com
Just to make sure I grasp this
On 05.06.14 15:10, Alexey Kardashevskiy wrote:
On 06/05/2014 11:06 PM, Alexander Graf wrote:
On 05.06.14 08:43, Alexey Kardashevskiy wrote:
On 06/05/2014 03:49 PM, Alexey Kardashevskiy wrote:
POWER KVM supports an KVM_CAP_SPAPR_TCE capability which allows allocating
TCE tables in the host
On 5 June 2014 14:11, Riku Voipio riku.voi...@iki.fi wrote:
Hi,
On Tue, Jun 03, 2014 at 03:07:59PM +0100, Peter Maydell wrote:
Ping!
Looks good, I'll collect this and other linux-user patches and submit
linux-user update
by tomorrow.
Does that include the set you did fixing gcc 4.9
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
block/qcow2-refcount.c | 14 --
docs/qmp/qmp-events.txt | 22 --
qapi-event.json | 22 ++
3 files changed, 30 insertions(+), 28 deletions(-)
diff --git a/block/qcow2-refcount.c
Since gettimeofday() is used in this header file as a macro define,
include the function's define header file, to avoid compile warning
when other file include os-posix.h.
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
Reviewed-by: Eric Blake ebl...@redhat.com
---
include/sysemu/os-posix.h |
On Thu, Jun 05, 2014 at 05:20:39PM +0800, Chunyan Liu wrote:
This patch series is to replace QEMUOptionParameter with QemuOpts, so that
only
one Qemu Option structure is kept in QEMU code.
---
Changes to v27:
* rebase to git master (code has been updated in this part since v27 sent
Am 03.06.2014 um 17:43 hat Benoît Canet geschrieben:
The Tuesday 03 Jun 2014 à 15:10:56 (+0200), Kevin Wolf wrote :
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
block.c | 21 +++--
docs/qmp/qmp-events.txt | 18 --
qapi-event.json | 15 +++
3 files changed, 22 insertions(+), 32 deletions(-)
diff --git a/block.c b/block.c
index
On Thu, Jun 05, 2014 at 11:27:49AM +0200, Paolo Bonzini wrote:
Il 05/06/2014 10:12, Stefan Hajnoczi ha scritto:
On Wed, Jun 04, 2014 at 08:02:06PM +0200, Paolo Bonzini wrote:
Il 04/06/2014 14:37, Stefan Hajnoczi ha scritto:
Why is this design cleaner? Because NBD code doesn't have to worry
On 06/05/2014 11:15 PM, Alexander Graf wrote:
On 05.06.14 15:10, Alexey Kardashevskiy wrote:
On 06/05/2014 11:06 PM, Alexander Graf wrote:
On 05.06.14 08:43, Alexey Kardashevskiy wrote:
On 06/05/2014 03:49 PM, Alexey Kardashevskiy wrote:
POWER KVM supports an KVM_CAP_SPAPR_TCE capability
On 05.06.14 07:50, Alexey Kardashevskiy wrote:
The patch adds a spapr-pci-vfio-host-bridge device type
which is a PCI Host Bridge with VFIO support. The new device
inherits from the spapr-pci-host-bridge device and adds an iommu
property which is an IOMMU id. This ID represents a minimal entity
Am 03.06.2014 um 17:46 hat Benoît Canet geschrieben:
The Tuesday 03 Jun 2014 à 15:10:55 (+0200), Kevin Wolf wrote :
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations
This patch also eliminates build time warning caused by no caller
of monitor_qapi_event_throttle().
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
docs/qmp/qmp-events.txt | 16
hw/ppc/spapr_rtas.c |3 ++-
hw/timer/mc146818rtc.c |3 ++-
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the parallels block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the bochs block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the cloop block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
A not too small part of the recent CVEs were DoS scenarios by letting
qemu abort with too large memory allocations. We generally fixed these
cases by setting some limits on values read from image files that
influence the size of allocations.
Because we still need to allow reading large images,
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the raw-win32 block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
'monitor.h' is still included in target-s390x/kvm.c, since I have
no good way to verify whether other code need it on my x86 host.
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
docs/qmp/qmp-events.txt | 14 --
hw/misc/pvpanic.c | 13 ++---
qapi-event.json
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the vmdk block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the qcow1 block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the vhdx block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the rbd block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
This function returns NULL instead of aborting when an allocation fails.
Signed-off-by: Kevin Wolf kw...@redhat.com
Reviewed-by: Benoit Canet ben...@irqsave.net
---
block.c | 13 +
include/block/block.h | 1 +
include/qemu/osdep.h | 1 +
util/oslib-posix.c| 16
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the vdi block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
Param name is declared as optional, since in code it is an optional
one.
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
docs/qmp/qmp-events.txt | 17 -
hw/net/virtio-net.c | 13 +++--
qapi-event.json | 15 +++
3 files changed, 18
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the vpc block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
Reviewed by: Greg Bellows greg.bell...@linaro.org
On 5 June 2014 05:39, Fabian Aggeler aggel...@ethz.ch wrote:
Corrected handling of writes to TTBCR for ARMv8 (previously UNK/SBZP
bits are not RES0) and ARMv7 (new bits PD0/PD1 for CPUs with Security
Extensions).
Bits PD0/PD1 are now
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the qcow2 block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the raw-posix block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
Since VNC_CONNECTED, VNC_DISCONNECTED, VNC_INITIALIZED share some
common functions, converts them in one patch.
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
docs/qmp/qmp-events.txt | 90 --
qapi-event.json | 49 +
On 2014-03-14 13:29, Paolo Bonzini wrote:
Il 13/03/2014 19:48, Peter Maydell ha scritto:
Yep, here we are:
LIBSSH2_LIBS=-L/opt/local/lib -lssh2 -Wl,-headerpad_max_install_names
-arch x86_64
CURL_LIBS=-L/opt/local/lib -lcurl
rules.mak is incorrectly reordering the contents of
these and
Signed-off-by: Wenchao Xia wenchaoq...@gmail.com
---
docs/qmp/qmp-events.txt | 12
qapi-event.json |9 +
vl.c|2 +-
3 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/docs/qmp/qmp-events.txt b/docs/qmp/qmp-events.txt
index
On Thu, Jun 05, 2014 at 10:13:04AM +0200, Kevin Wolf wrote:
Am 05.06.2014 um 10:09 hat Peter Lieven geschrieben:
On 05.06.2014 09:53, Stefan Hajnoczi wrote:
On Wed, Jun 04, 2014 at 05:31:48PM +0200, Peter Lieven wrote:
Am 04.06.2014 17:12, schrieb Stefan Hajnoczi:
On Fri, May 30, 2014 at
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the curl block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
Signed-off-by: Kevin Wolf kw...@redhat.com
---
block/rbd.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/block/rbd.c b/block/rbd.c
index 09af484..94e2bfd 100644
--- a/block/rbd.c
+++ b/block/rbd.c
@@ -684,13 +684,16 @@ static BlockDriverAIOCB
From: Max Reitz mre...@redhat.com
If bdrv_pread() returns an error, it is very unlikely that it was
ENOMEM. In this case, the return value should be passed along; as
bdrv_pread() will always either return the number of bytes read or a
negative value (the error code), the condition for checking
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the dmg block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the qed block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the mirror block job.
Signed-off-by: Kevin Wolf kw...@redhat.com
Il 27/05/2014 14:03, Nikolay Nikolaev ha scritto:
Add a function to check if the eventfd capability is present in KVM in
the host kernel.
Signed-off-by: Antonios Motakis a.mota...@virtualopensystems.com
Signed-off-by: Nikolay Nikolaev n.nikol...@virtualopensystems.com
---
include/sysemu/kvm.h
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the iscsi block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
Acked-by:
On Thu, Jun 05, 2014 at 12:49:36PM +0400, M.Kustova wrote:
On Wed, Jun 4, 2014 at 6:26 PM, Stefan Hajnoczi stefa...@gmail.com wrote:
On Sat, May 31, 2014 at 01:56:46PM +0400, Maria Kustova wrote:
+def execute(self, q_args, seed, size=8*512):
+ Execute a test.
+
+The
Stefan Hajnoczi stefa...@gmail.com writes:
On Thu, Jun 05, 2014 at 05:20:39PM +0800, Chunyan Liu wrote:
This patch series is to replace QEMUOptionParameter with QemuOpts, so that
only
one Qemu Option structure is kept in QEMU code.
---
Changes to v27:
* rebase to git master (code has
On 05.06.14 15:33, Alexey Kardashevskiy wrote:
On 06/05/2014 11:15 PM, Alexander Graf wrote:
On 05.06.14 15:10, Alexey Kardashevskiy wrote:
On 06/05/2014 11:06 PM, Alexander Graf wrote:
On 05.06.14 08:43, Alexey Kardashevskiy wrote:
On 06/05/2014 03:49 PM, Alexey Kardashevskiy wrote:
POWER
The Thursday 05 Jun 2014 à 15:55:27 (+0200), Kevin Wolf wrote :
Signed-off-by: Kevin Wolf kw...@redhat.com
---
block/rbd.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/block/rbd.c b/block/rbd.c
index 09af484..94e2bfd 100644
--- a/block/rbd.c
+++ b/block/rbd.c
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses the allocations in the nfs block driver.
Signed-off-by: Kevin Wolf kw...@redhat.com
Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.
This patch addresses bounce buffer allocations in block.c. While at it,
convert bdrv_commit() from plain g_malloc()
Am 05.06.2014 um 16:15 hat Benoît Canet geschrieben:
The Thursday 05 Jun 2014 à 15:55:27 (+0200), Kevin Wolf wrote :
Signed-off-by: Kevin Wolf kw...@redhat.com
---
block/rbd.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/block/rbd.c b/block/rbd.c
index
Signed-off-by: Kevin Wolf kw...@redhat.com
---
block/rbd.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/block/rbd.c b/block/rbd.c
index 09af484..898fcfe 100644
--- a/block/rbd.c
+++ b/block/rbd.c
@@ -684,13 +684,16 @@ static BlockDriverAIOCB
From: Stefan Weil s...@weilnetz.de
Commit 0f842f8a246f2b5b51a11c13f933bf7a90ae8e96 replaced GETPC_EXT() which
was derived from GETPC() by GETRA_EXT() without fixing cputlb.c. A later
patch replaced GETRA_EXT() by GETRA() in exec/softmmu_template.h which
is included in cputlb.c.
The TCG
It is only included in cputlb.c now.
Reviewed-by: Richard Henderson r...@twiddle.net
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
cputlb.c | 16
include/exec/softmmu_template.h = softmmu_template.h | 0
2 files changed, 8
These will soon require cpu_ldst.h, so move them out of cpu.h.
Reviewed-by: Richard Henderson r...@twiddle.net
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
target-arm/arm_ldst.h | 47 ++
target-arm/cpu.h | 22
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
target-i386/helper.c | 127 ++-
1 file changed, 44 insertions(+), 83 deletions(-)
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 7b3819b..cf18336 100644
--- a/target-i386/helper.c
Unify pieces of cpu-all.h, exec-all.h, softmmu_exec.h and tcg/tcg.h
into a single new header file with all helpers.
Reviewed-by: Richard Henderson r...@twiddle.net
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
include/exec/cpu-all.h | 119 ---
With SMAP, implicit kernel accesses from user mode always behave as
if AC=0. To do this, kernel mode is not anymore a separate MMU mode.
Instead, KERNEL_IDX is renamed to KSMAP_IDX and the kernel mode accessors
wrap KSMAP_IDX and KNOSMAP_IDX.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
This is the mode where SMAP is overridden, put NO in its name.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
target-i386/cpu.h| 6 +++---
target-i386/helper.c | 8
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index
Prepare for adding _kernel accessors there in the next patch.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
target-i386/misc_helper.c | 42 --
target-i386/seg_helper.c | 42 ++
2 files changed, 42
Prepare for moving softmmu_header.h inclusion out of .c files
Reviewed-by: Richard Henderson r...@twiddle.net
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
target-alpha/cpu.h | 1 +
target-alpha/mem_helper.c | 1 -
target-mips/cpu.h | 1 +
target-mips/op_helper.c| 1
The following changes since commit e00fcfeab3d452cba3d0a08991a39ab15df66424:
Merge remote-tracking branch
'remotes/awilliam/tags/vfio-pci-for-qemu-20140602.0' into staging (2014-06-03
14:37:43 +0100)
are available in the git repository at:
git://github.com/bonzini/qemu.git softmmu-smap
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
target-i386/helper.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/target-i386/helper.c b/target-i386/helper.c
index d10de26..7b3819b 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -670,8
This will help adding 1GB page support in the next patch.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
target-i386/helper.c | 74 +++-
1 file changed, 38 insertions(+), 36 deletions(-)
diff --git a/target-i386/helper.c
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/arm/nseries.c | 272 +--
1 file changed, 145 insertions(+), 127 deletions(-)
diff --git a/hw/arm/nseries.c b/hw/arm/nseries.c
index
101 - 200 of 414 matches
Mail list logo