Implement the CPU interface registers for the GICv3; these are
CPU system registers, not MMIO registers.
This commit implements all the registers which are simple
accessors for GIC state, but not those which act as interfaces
for acknowledging, dismissing or generating interrupts. (Those
will be a
Now we have an emulated GICv3, remove the restriction in
gicv3_class_name() so that the user can request a GICv3 with
-machine gic-version=3 even when not using KVM.
Signed-off-by: Peter Maydell
Reviewed-by: Shannon Zhao
---
target-arm/machine.c | 3 +--
1 file changed, 1 insertion(+), 2 deleti
Eric Blake writes:
> A future patch will add support for passing a qapi union
> type as the 'data' of a command. But to do that, the user
> function for implementing the command, as called by the
> generated marshal command, must take the corresponding C
> struct as a single boxed pointer, rathe
On 06/14/2016 07:32 AM, Kevin Wolf wrote:
> The raw-posix block driver actually supports byte-aligned requests now
> on non-O_DIRECT images, like it already (and previously incorrectly)
> claimed in bs->request_alignment.
>
> For some block drivers this means that a RMW cycle can be avoided when
>
A half-shuffle operation takes a word with zeros in the high half:
ABCD EFGH IJKL MNOP
and spreads the bits out so they are in every other bit of the word:
0A0B 0C0D 0E0F 0G0H 0I0J 0K0L 0M0N 0O0P
A half-unshuffle performs the reverse operation.
Provide functions in bitops.h w
On Jun 14, 2016, at 7:39 AM, qemu-ppc-requ...@nongnu.org wrote:
> On 13/06/2016 22:35, Andrew Jones wrote:
>> On Mon, Jun 13, 2016 at 07:04:01PM +0200, Paolo Bonzini wrote:
>>> On 10/06/2016 19:40, Andrew Jones wrote:
+if (sockets == -1 || cores == -1 || threads == -1 ||
+ma
From: KONRAD Frederic
This introduces dpcd module.
It wires on a aux-bus and can be accessed by the driver to get lane-speed, etc.
Signed-off-by: KONRAD Frederic
Reviewed-by: Alistair Francis
Reviewed-by: Peter Crosthwaite
Tested-By: Hyun Kwon
Message-id: 1465833014-21982-6-git-send-email-fr
On Fri, Jun 10, 2016 at 09:12:12PM +0100, Maciej W. Rozycki wrote:
> On Fri, 10 Jun 2016, Aleksandar Markovic wrote:
>
> > The changes that make QEMU behavior the same as hardware behavior (in
> > relation to CEIL, CVT, FLOOR, ROUND, TRUNC Mips instructions) are
> > already contained in this pat
Implement the registers in the GICv3 CPU interface which generate
new SGI interrupts.
Signed-off-by: Peter Maydell
Reviewed-by: Shannon Zhao
---
hw/intc/arm_gicv3_cpuif.c | 125 +
hw/intc/arm_gicv3_redist.c | 40 +++
hw/intc/gicv3_intern
From: xiaoqiang zhao
Drop the old SysBus init function and use instance_init
Signed-off-by: xiaoqiang zhao
Message-id: 1465815255-21776-8-git-send-email-zxq_yx_...@163.com
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
hw/gpio/zaurus.c | 14 ++
1 file changed, 6 inse
> > On 13.06.2016 12:16, Liang Li wrote:
> > > The implementation of the current virtio-balloon is not very
> > > efficient, Bellow is test result of time spends on inflating the
> > > balloon to 3GB of a 4GB idle guest:
> > >
> > > a. allocating pages (6.5%, 103ms)
> > > b. sending PFNs to host (6
From: KONRAD Frederic
This introduces a new bus: aux-bus.
It contains an address space for aux slaves devices and a bridge to an I2C bus
for I2C through AUX transactions.
Signed-off-by: KONRAD Frederic
Tested-By: Hyun Kwon
Reviewed-by: Alistair Francis
Message-id: 1465833014-21982-5-git-send
From: KONRAD Frederic
This does a write to every slaves when the I2C bus get a write to address 0.
Signed-off-by: KONRAD Frederic
Reviewed-by: Alistair Francis
Reviewed-by: Peter Crosthwaite
Tested-By: Hyun Kwon
Message-id: 1465833014-21982-3-git-send-email-fred.kon...@greensocs.com
Signed-o
From: KONRAD Frederic
This adds the DP and the DPDMA to the Zynq MP platform.
Signed-off-by: KONRAD Frederic
Reviewed-by: Peter Crosthwaite
Reviewed-by: Alistair Francis
Tested-By: Hyun Kwon
Message-id: 1465833014-21982-10-git-send-email-fred.kon...@greensocs.com
Signed-off-by: Peter Maydell
From: xiaoqiang zhao
split the old SysBus init function into an instance_init
and a Device realize function
Signed-off-by: xiaoqiang zhao
Message-id: 1465815255-21776-13-git-send-email-zxq_yx_...@163.com
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
hw/sd/pl181.c | 26 +
From: xiaoqiang zhao
Drop the old SysBus init function and use instance_init
Signed-off-by: xiaoqiang zhao
Message-id: 1465815255-21776-10-git-send-email-zxq_yx_...@163.com
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
hw/misc/exynos4210_pmu.c | 11 +--
1 file changed,
From: Shannon Zhao
Add PMU IRQ number in ACPI table, then we can use PMU in guest through
ACPI.
Signed-off-by: Shannon Zhao
Reviewed-by: Andrew Jones
Message-id: 1465267577-1808-4-git-send-email-zhaoshengl...@huawei.com
Signed-off-by: Peter Maydell
---
hw/arm/virt-acpi-build.c | 4
1 fi
On Tue, 14 Jun 2016, Peter Maydell wrote:
> On 30 May 2016 at 16:54, Stefano Stabellini wrote:
> > On Tue, 24 May 2016, Peter Maydell wrote:
> >> Clean up includes so that osdep.h is included first and headers
> >> which it implies are not included manually.
> >>
> >> This commit was created with
From: KONRAD Frederic
The dev field in i2cbus is not used.
So just drop it.
Signed-off-by: KONRAD Frederic
Reviewed-by: Alistair Francis
Reviewed-by: Peter Crosthwaite
Tested-By: Hyun Kwon
Message-id: 1465833014-21982-2-git-send-email-fred.kon...@greensocs.com
Signed-off-by: Peter Maydell
-
From: Peter Crosthwaite
Most of the control flow logic between send and recv (error checking
etc) is the same. Factor this out into a common send_recv() API.
This is then usable by clients, where the control logic for send
and receive differs only by a boolean. E.g.
if (send)
i2c_send(...):
e
From: xiaoqiang zhao
split the old SysBus init function into an instance_init
and a Device realize function
Signed-off-by: xiaoqiang zhao
Message-id: 1465815255-21776-12-git-send-email-zxq_yx_...@163.com
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
hw/dma/pxa2xx_dma.c | 38 +++
From: xiaoqiang zhao
* Split the omap_i2c_init into an instance_init and realize function
* Drop the old SysBus init function and use instance_init
Signed-off-by: xiaoqiang zhao
Message-id: 1465815255-21776-4-git-send-email-zxq_yx_...@163.com
Reviewed-by: Peter Maydell
Signed-off-by: Peter May
From: Andrew Jones
Use DEFINE_VIRT_MACHINE to generate versioned machine type info.
Signed-off-by: Andrew Jones
Reviewed-by: Peter Maydell
Message-id: 1465746713-30414-3-git-send-email-drjo...@redhat.com
Signed-off-by: Peter Maydell
---
hw/arm/virt.c | 41
> Subject: Re: [QEMU 1/7] balloon: speed up inflating & deflating process
>
> On 13.06.2016 12:16, Liang Li wrote:
> > The implementation of the current virtio-balloon is not very
> > efficient, Bellow is test result of time spends on inflating the
> > balloon to 3GB of a 4GB idle guest:
> >
> > a
From: Andrew Jones
Signed-off-by: Andrew Jones
Message-id: 1465746713-30414-5-git-send-email-drjo...@redhat.com
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
hw/arm/virt.c | 20 ++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/hw/arm/virt.c b/h
From: Shannon Zhao
Add a virtual PMU device for virt machine while use PPI 7 for PMU
overflow interrupt number.
Signed-off-by: Shannon Zhao
Reviewed-by: Andrew Jones
Message-id: 1465267577-1808-3-git-send-email-zhaoshengl...@huawei.com
Signed-off-by: Peter Maydell
---
hw/arm/virt.c |
From: KONRAD Frederic
This is the implementation of the DisplayPort.
It has an aux-bus to access dpcd and edid.
Graphic plane is connected to the channel 3.
Video plane is connected to the channel 0.
Audio stream are connected to the channels 4 and 5.
Signed-off-by: KONRAD Frederic
Tested-By:
From: xiaoqiang zhao
* Merge the pl061_initfn into pl061_init
* Drop the old SysBus init function and use instance_init
Signed-off-by: xiaoqiang zhao
Message-id: 1465815255-21776-7-git-send-email-zxq_yx_...@163.com
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
hw/gpio/pl061.c |
From: Andrew Jones
Create two variants of DEFINE_VIRT_MACHINE. One, just called
DEFINE_VIRT_MACHINE, that does not set properties that only
the latest machine type should have, and another that does.
This will hopefully reduce potential for errors when adding
new versions.
Signed-off-by: Andrew
target-arm queue; quite a lot of patches but nothing earthshaking.
thanks
-- PMM
The following changes since commit d32490ca74c700edc74f0b2f6b7536b52a644739:
Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20160614' into
staging (2016-06-14 13:14:55 +0100)
are available
The Neon instructions VCVTA, VCVTM, VCVTN, VCVTP, VRINTA, VRINTM,
VRINTN, VRINTP, VRINTX, and VRINTZ were only introduced with ARMv8,
so they need a guard to make them UNDEF if the CPU only supports ARMv7.
(We got this right for all the other new-in-v8 insns, but forgot
it for these Neon 2-reg-misc
From: xiaoqiang zhao
Drop the old SysBus init function and use instance_init
Signed-off-by: xiaoqiang zhao
Message-id: 1465815255-21776-11-git-send-email-zxq_yx_...@163.com
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
hw/misc/mst_fpga.c | 13 ++---
1 file changed, 6 in
From: KONRAD Frederic
This is the implementation of the DPDMA.
Signed-off-by: KONRAD Frederic
Reviewed-by: Alistair Francis
Tested-By: Hyun Kwon
Message-id: 1465833014-21982-8-git-send-email-fred.kon...@greensocs.com
Signed-off-by: Peter Maydell
---
hw/dma/Makefile.objs| 1 +
hw/d
Commit 6459b94c26dd666badb3 broke reset and migration of the AArch32
TTBCR(S) register if the guest used non-LPAE page tables. This is
because the AArch32 TTBCR register definition is marked as ARM_CP_ALIAS,
meaning that the AArch64 variant has to handle migration and reset.
Although AArch64 TCR_EL
From: Shannon Zhao
Check if kvm supports guest PMUv3. If so, set the corresponding feature
bit for vcpu.
Signed-off-by: Shannon Zhao
Reviewed-by: Andrew Jones
Message-id: 1465267577-1808-2-git-send-email-zhaoshengl...@huawei.com
Signed-off-by: Peter Maydell
---
target-arm/cpu.h | 2 ++
tar
On Wed, Jun 08, 2016 at 02:01:23PM +0200, Paolo Bonzini wrote:
>
>
> On 02/06/2016 18:46, Daniel P. Berrange wrote:
> > Currently the QmpInputVisitor assumes that all scalar
> > values are directly represented as their final types.
> > ie it assumes an 'int' is using QInt, and a 'bool' is
> > usi
From: Andrew Jones
Rename machvirt_info (which is specifically for 2.6 TypeInfo)
to machvirt_2_6_info, and separate the type registration of the
abstract machine type from the versioned type.
Signed-off-by: Andrew Jones
Reviewed-by: Peter Maydell
Message-id: 1465746713-30414-2-git-send-email-d
From: xiaoqiang zhao
* Split the old SysBus init into an instance_init and
DeviceClass::realize function
* Drop the SysBus init function
Signed-off-by: xiaoqiang zhao
Message-id: 1465815255-21776-6-git-send-email-zxq_yx_...@163.com
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
Le 14/06/2016 à 15:59, Peter Maydell a écrit :
On 13 June 2016 at 16:50, wrote:
From: KONRAD Frederic
This is the 10th version of this patch-set of the implementation of the Xilinx
DisplayPort and DPDMA.
This 10th version fixes one bug with the I2C broadcast patch.
Applied to target-a
Implement an I2C slave which implements DDC and returns the
EDID data for an attached monitor.
Signed-off-by: Peter Maydell
Reviewed-by: Alistair Francis
Tested-by: Hyun Kwon
Signed-off-by: KONRAD Frederic
Message-id: 1465833014-21982-7-git-send-email-fred.kon...@greensocs.com
- Rebased on
On 30 May 2016 at 16:54, Stefano Stabellini wrote:
> On Tue, 24 May 2016, Peter Maydell wrote:
>> Clean up includes so that osdep.h is included first and headers
>> which it implies are not included manually.
>>
>> This commit was created with scripts/clean-includes.
>>
>> Signed-off-by: Peter May
From: xiaoqiang zhao
* Rename the exynos4210_i2c_realize to exynos4210_i2c_init
* Drop the old SysBus init function and use instance_init
Signed-off-by: xiaoqiang zhao
Message-id: 1465815255-21776-3-git-send-email-zxq_yx_...@163.com
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
On 13.06.2016 14:38, Denis V. Lunev wrote:
> From: Vladimir Sementsov-Ogievskiy
>
> Fix the following bug:
>
> # virsh start test
> Domain test started
>
> # virsh qemu-monitor-command test \
> '{"execute":"block-dirty-bitmap-add",\
> "arguments":{"node":"drive0","name":"ab"}}'
>
On Fri, Jun 10, 2016 at 11:57:37AM +0200, Aleksandar Markovic wrote:
> From: Aleksandar Markovic
>
> Add preprocessor definition of FCR31's FS bit, and update related
> code for setting this bit.
>
> Signed-off-by: Aleksandar Markovic
> ---
> target-mips/cpu.h | 3 ++-
> 1 file changed, 2 inse
From: xiaoqiang zhao
Drop the old SysBus init function and use instance_init
Signed-off-by: xiaoqiang zhao
Message-id: 1465815255-21776-5-git-send-email-zxq_yx_...@163.com
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
hw/i2c/versatile_i2c.c | 19 ++-
1 file chan
From: xiaoqiang zhao
Drop the old SysBus init function and use instance_init
Signed-off-by: xiaoqiang zhao
Message-id: 1465815255-21776-9-git-send-email-zxq_yx_...@163.com
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
hw/misc/arm_l2x0.c | 11 +--
1 file changed, 5 inser
From: xiaoqiang zhao
Drop the old SysBus init function and use instance_init
Signed-off-by: xiaoqiang zhao
Message-id: 1465815255-21776-2-git-send-email-zxq_yx_...@163.com
Reviewed-by: Peter Maydell
Signed-off-by: Peter Maydell
---
hw/i2c/bitbang_i2c.c | 14 ++
1 file changed, 6
On 14/06/2016 16:03, Andrew Jones wrote:
> However, I just chatted with Igor, and he says cpu hotplug operates
> on logical processors, and thus it's fine to talk about hotplugging
> threads. Even real hardware does this. Real hardware will plug a
> socket full of threads, but then the firmware m
On Fri, Jun 10, 2016 at 11:57:28AM +0200, Aleksandar Markovic wrote:
> From: Aleksandar Markovic
>
> This patch modifies SoftFloat library so that it can be configured in
> run-time in relation to the meaning of signaling NaN bit, while, at the
> same time, strictly preserving its behavior on all
On 06/14/2016 07:32 AM, Kevin Wolf wrote:
> In order to use the modern byte-based .bdrv_co_preadv/pwritev()
> interface, this patch switches raw-posix to coroutine-based interfaces
> as a first step. In terms of semantics and performance, it doesn't make
> a difference with the existing code whethe
On Fri, Jun 10, 2016 at 11:57:36AM +0200, Aleksandar Markovic wrote:
> From: Aleksandar Markovic
>
> This patch implements read and write access rules for Mips floating
> point control and status register (FCR31). The change can be divided
> into following parts:
>
> - Add fields that will keep
On Tue, Jun 14, 2016 at 03:56:30PM +0200, Max Reitz wrote:
> On 07.06.2016 12:11, Daniel P. Berrange wrote:
> > The 'qemu-img info' tool has ability to print format specific
> > information, eg with qcow2 it reports two extra items:
> >
> > $ qemu-img info ~/VirtualMachines/demo.qcow2
> > imag
Eric Blake writes:
> And use it in qapi-types and qapi-event. In the near future, we
> want to lift our artificial restriction of no variants at the
> top level of an event, at which point, inlining our check for
> whether members is empty will no longer be sufficient; but
> adding an inline che
Since the mac99 and g3beige PowerPC machines recently broke without
being noticed, it would be good to have a tester for "make check"
that detects such issues immediately. A simple way to test the firmware
of these machines is to use the "-prom-env" parameter of QEMU. This
parameter can be used to
On Tue, Jun 14, 2016 at 01:53:05PM +0200, Paolo Bonzini wrote:
>
>
> On 14/06/2016 13:39, Andrew Jones wrote:
> > On Tue, Jun 14, 2016 at 10:17:49AM +0200, Paolo Bonzini wrote:
> >> On 13/06/2016 22:35, Andrew Jones wrote:
> >>> On Mon, Jun 13, 2016 at 07:04:01PM +0200, Paolo Bonzini wrote:
> >>>
On 13 June 2016 at 16:50, wrote:
> From: KONRAD Frederic
>
> This is the 10th version of this patch-set of the implementation of the Xilinx
> DisplayPort and DPDMA.
>
> This 10th version fixes one bug with the I2C broadcast patch.
Applied to target-arm.next, thanks.
-- PMM
> On 20 May 2016 at 13:48, Riku Voipio wrote:
>> On torstaina 12. toukokuuta 2016 17.34.42 EEST, Peter Maydell wrote:
>>> We should either fix our unicore32 support to use the real
>>> syscall numbers, or just drop it; since nobody has touched
>>> linux-user/unicore32 since 2012, and there have be
On 07.06.2016 12:11, Daniel P. Berrange wrote:
> The 'qemu-img info' tool has ability to print format specific
> information, eg with qcow2 it reports two extra items:
>
> $ qemu-img info ~/VirtualMachines/demo.qcow2
> image: /home/berrange/VirtualMachines/demo.qcow2
> file format: qcow2
>
From: Marc-André Lureau
In virgl_cmd_resource_flush(), when several consoles are updated, it
needs to keep blocking until all spice gl draws are done. This fixes an
assert() in spice when using multiple monitors with virgl.
Signed-off-by: Marc-André Lureau
---
hw/display/virtio-gpu.c|
The raw-posix block driver actually supports byte-aligned requests now
on non-O_DIRECT images, like it already (and previously incorrectly)
claimed in bs->request_alignment.
For some block drivers this means that a RMW cycle can be avoided when
they write sub-sector metadata e.g. for cluster alloc
On 06/14/2016 07:24 AM, Markus Armbruster wrote:
> Eric Blake writes:
>
>> We were previously enforcing that all flat union branches were
>> found in the corresponding enum, but not that all enum values
>> were covered by branches. The resulting generated code would
>> abort() if the user passes
On 14/06/2016 14:51, Gerd Hoffmann wrote:
> Add struct to track serial mouse state. Store mouse event handler
> there. Unregister properly on chardev close.
>
> Signed-off-by: Gerd Hoffmann
> ---
> backends/msmouse.c | 22 +-
> 1 file changed, 17 insertions(+), 5 deletion
In a first step to convert the common I/O path to work on bytes rather
than sectors, this converts the copy-on-read logic that is used by
bdrv_aligned_preadv().
Signed-off-by: Kevin Wolf
Reviewed-by: Eric Blake
Reviewed-by: Stefan Hajnoczi
---
block/io.c| 63 +++
On 14.06.2016 13:31, Markus Armbruster wrote:
> Thomas Huth writes:
>[...]
>> diff --git a/tests/prom-env-test.c b/tests/prom-env-test.c
>> new file mode 100644
>> index 000..b4d5d68
>> --- /dev/null
>> +++ b/tests/prom-env-test.c
>> @@ -0,0 +1,93 @@
>> +/*
>> + * Test OpenBIOS-based machines.
From: Marc-André Lureau
Spice client needs the whole GL texture dimension to be able to show a
scanout with a monitor offset (different than +0+0).
Furthermore, this fixes a crash when calling surface_{width,height}()
after dpy_gfx_replace_surface(con, NULL) was called in
virgl_cmd_set_scanout()
Signed-off-by: Kevin Wolf
Reviewed-by: Eric Blake
Reviewed-by: Stefan Hajnoczi
---
block/io.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/block/io.c b/block/io.c
index e75bce2..b261cc6 100644
--- a/block/io.c
+++ b/block/io.c
@@ -1249,11 +1249,9 @@ static i
On 13/06/2016 23:41, Alex Bligh wrote:
> That's one of the reasons that there is a proposal to add
> STRUCTURED_READ to the spec (although I still haven't had time to
> implement that for qemu), so that we have a newer approach that allows
> for proper error handling without ambiguity on whether
From: Marc-André Lureau
Hi
Here are a few fixes for virtio-gpu multihead & spice support. To
actually test this, you also need pending kernel fixes, and a small
fix in spice-gtk for the virgl case.
Marc-André Lureau (3):
virgl: count the calls to gl_block
spice: use the right head for multi
From: Marc-André Lureau
Look up the associated head monitor config.
Signed-off-by: Marc-André Lureau
---
ui/spice-display.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/ui/spice-display.c b/ui/spice-display.c
index 34095fb..142c941 100644
--- a/ui/spice-dis
If block drivers say that they can do an alignment < 512 bytes, let's
just suppose they mean it. raw-posix used to be an offender with respect
to this, but it can actually deal with byte-aligned requests now.
The default is still 512 bytes for any drivers that only implement
sector-based interface
On Thu, Jun 09, 2016 at 04:03:50PM +0200, Markus Armbruster wrote:
> "Daniel P. Berrange" writes:
>
> > Currently the QmpInputVisitor assumes that all scalar
> > values are directly represented as their final types.
> > ie it assumes an 'int' is using QInt, and a 'bool' is
> > using QBool.
> >
>
On 14.06.2016 11:33, Kevin Wolf wrote:
> If no -t option is specified, bool writethrough stayed uninitialised.
> Initialise it as false, which makes cache=writeback the default cache
> mode.
>
> Signed-off-by: Kevin Wolf
> ---
> qemu-img.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
This patch makes bdrv_aligned_preadv() ready to accept byte-aligned
requests. Note that this doesn't mean that such requests are actually
made. The caller still ensures that all requests are aligned to at least
512 bytes.
Signed-off-by: Kevin Wolf
Reviewed-by: Eric Blake
Reviewed-by: Stefan Hajn
Previous series have already converted some block drivers to byte-based rather
than sector-based interfaces. However, the common I/O path as well as raw-posix
still enforced a minimum alignment of 512 bytes because some sector-based logic
was involved.
This patch series removes these limitations a
On 10.06.2016 23:59, John Snow wrote:
> If a device still has an attached BDS because the medium has not yet
> been removed, we will be unable to migrate to a new host because
> blk_flush will return an error for that backend.
>
> Replace the call to blk_is_available to blk_is_inserted to weaken
>
Eric Blake writes:
> Clean up the only remaining external use of the tag_name field of
> QAPISchemaObjectTypeVariants, by explicitly listing the generated
> 'type' tag for all variants in the testsuite. Then we can mark the
> tag_name field as private by adding a leading underscore to prevent
>
On 06/06/2016 09:06, Gerd Hoffmann wrote:
> +while (resource_id != 0) {
> +res = g_new0(struct virtio_gpu_simple_resource, 1);
> +res->resource_id = resource_id;
> +res->width = qemu_get_be32(f);
> +res->height = qemu_get_be32(f);
> +res->format = qemu_
In order to use the modern byte-based .bdrv_co_preadv/pwritev()
interface, this patch switches raw-posix to coroutine-based interfaces
as a first step. In terms of semantics and performance, it doesn't make
a difference with the existing code whether we go from a coroutine to a
callback-based inter
On 14 June 2016 at 14:07, Laurent Vivier wrote:
> Reported-by: Peter Maydell
> Signed-off-by: Laurent Vivier
> ---
> linux-user/syscall.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index 71ccbd9..0b937ca 100644
> --- a/linux-user/sysca
Events with the 'vcpu' property are conditionally emitted according to
their per-vCPU state. Other events are emitted normally based on their
global tracing state.
Note that the per-vCPU condition check applies to all tracing backends.
Signed-off-by: Lluís Vilanova
Reviewed-by: Stefan Hajnoczi
From: Marc-André Lureau
Define QEMU_SRC_PATH in config-host.h, to ease accessing of tests data
files.
Signed-off-by: Marc-André Lureau
---
scripts/create_config | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/create_config b/scripts/create_config
index 1dd6a35..2fbe126 100755
--
On 13 June 2016 at 11:54, xiaoqiang zhao wrote:
> This patch series QOM'ify ARM platform related devices.
> Where we drop the sysbus init function if possible and use
> instance_init and DeviceClass::realize function.
>
> xiaoqiang zhao (12):
> hw/i2c: QOM'ify bitbang_i2c.c
> hw/i2c: QOM'ify e
Signed-off-by: Lluís Vilanova
Reviewed-by: Stefan Hajnoczi
---
trace/control-internal.h |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/trace/control-internal.h b/trace/control-internal.h
index 0ba10fe..3f368fd 100644
--- a/trace/control-internal.h
+++ b/trace/contr
Eric Blake writes:
> We were previously enforcing that all flat union branches were
> found in the corresponding enum, but not that all enum values
> were covered by branches. The resulting generated code would
> abort() if the user passes the uncovered enum value.
>
> Signed-off-by: Eric Blake
From: Marc-André Lureau
Do not create a leaking temporary file, but use a static file instead.
Signed-off-by: Marc-André Lureau
Reported-by: Peter Maydell
---
tests/test-qga-config | 8
tests/test-qga.c | 27 ---
2 files changed, 12 insertions(+), 23 del
Eliminates a future compilation error when UI code includes the tracing
headers (indirectly pulling "disas/bfd.h" through "qom/cpu.h") and
GLib's i18n '_' macro.
Signed-off-by: Lluís Vilanova
---
disas/alpha.c |6 +++---
disas/arm.c |2 +-
disas/i386.c|2 +-
dis
A new event attribute 'cpu_id' is added to have a separate ID
space ('TRACE_VCPU_*') for all events with the 'vcpu' property.
These are later used to identify which events are enabled on each vCPU.
Signed-off-by: Lluís Vilanova
Reviewed-by: Stefan Hajnoczi
---
scripts/tracetool/format/events_c
On Mon, 06/13 18:05, Stefan Hajnoczi wrote:
> v3:
> * Push infrastructure down into blockjob.c so other jobs can reuse it
> [Stefan]
> * Tested with drive_mirror + migration [Stefan]
Looks good to me apart from the question raised by Paolo. I'm looking forward
to v4. Thanks!
Fam
NOTE: This series applies on top of "trace: Show vCPU info in guest code events"
Provides per-vCPU dynamic controls of the tracing state of events with the
"vcpu" property.
A later series proposes an optimization where tracing code can be elided for
dynamically disabled events (it uses multiple v
Eric Blake writes:
> From: Kővágó, Zoltán
First posted almost a year ago. I'm glad we're finally ready for this
work. Zoltán, I'm sorry it has taken us so long.
> This way we no longer need NetClientOptions and can convert Netdev
> into a flat union.
That's work enabled by this patch, not d
From: Marc-André Lureau
Hi,
Here are 2 small patches to remove the need for temporary file
creation in test-qga.
Marc-André Lureau (2):
build-sys: define QEMU_SRC_PATH
tests: use static qga config file
scripts/create_config | 3 +++
tests/test-qga-config | 8
tests/test-qga.c
alvise rigo writes:
> 1. LL(x) // x requires a flush
> 2. query flush to all the n VCPUs
> 3. exit from the CPU loop and wait until all the flushes are done
> 4. enter the loop to re-execute LL(x). This time no flush is required
>
> Now, points 2. and 3. can be done either with
Signed-off-by: Lluís Vilanova
Reviewed-by: Stefan Hajnoczi
---
monitor.c |4 +-
qapi/trace.json | 20 ++--
qmp-commands.hx | 17 ++-
trace/qmp.c | 143 ---
4 files changed, 147 insertions(+), 37 deletions(-)
diff --g
Each vCPU gets a 'trace_dstate' bitmap to control the per-vCPU dynamic
tracing state of events with the 'vcpu' property.
Signed-off-by: Lluís Vilanova
---
Makefile.objs|1 +
bsd-user/main.c |2 ++
include/qom/cpu.h|6 +
linux-user/main.c|2
On 14 June 2016 at 13:13, Cornelia Huck wrote:
> The following changes since commit a28aae041aa76a779df6467a7fe68b9e8a8b2c0a:
>
> Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.7-20160614'
> into staging (2016-06-14 09:30:05 +0100)
>
> are availa
Am 14.06.2016 um 14:09 hat Stefan Hajnoczi geschrieben:
> On Wed, Jun 08, 2016 at 04:10:11PM +0200, Kevin Wolf wrote:
> > diff --git a/block.c b/block.c
> > index f54bc25..3d850a2 100644
> > --- a/block.c
> > +++ b/block.c
> > @@ -937,7 +937,7 @@ static int bdrv_open_common(BlockDriverState *bs,
>
Reported-by: Peter Maydell
Signed-off-by: Laurent Vivier
---
linux-user/syscall.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 71ccbd9..0b937ca 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -1688,6 +1688,7 @@ static abi_l
On 12.06.2016 06:17, Fam Zheng wrote:
> On Fri, 06/10 20:57, Max Reitz wrote:
>> +import os
>> +import stat
>> +import time
>
> Unused import 'stat' and 'time'?
That happens when you copy old tests and don't check stuff like this...
Well, it won't hurt, but I guess now I may have enough reason to
On 12 June 2016 at 16:51, Andrew Jones wrote:
> v2:
> - drop 'is_default' setting [Peter]
> - fix checkpatch warning [Peter]
> - add a couple R-b's
>
> This is the first new machine type mach-virt has received
> (2.6 being the first versioned machine type), so we need to
> do a bit more than th
On 12.06.2016 06:08, Fam Zheng wrote:
> On Fri, 06/10 20:57, Max Reitz wrote:
>> Signed-off-by: Max Reitz
>
> The commit message could go a little more informative. Seems nothing special
> in
> the added callback, aren't things supposed to just work without this patch?
> What is missing?
If you
301 - 400 of 558 matches
Mail list logo