Actually I have found this problem running iotest 132 for active async
mirror I have sent yesturday. Anyway, the problem is actual for current
backup/mirror implementation.
bdrv_co_discard must mark areas dirty after writing zeroes, it must call
before_write_notifier chain to push underlying data
Actually we must set dirty bitmap dirty after we have written all our
zeroes for correct processing in drive mirror code. In the other case
we can face not zeroes in this dirty area there in mirror_iteration.
Signed-off-by: Denis V. Lunev
CC: Vladimir Sementsov-Ogievskiy
CC: Stefan Hajnoczi
CC:
This is mandatory for correct backup creation. In the other case the
content under this area would be lost.
Dirty bits are set exactly like in bdrv_aligned_pwritev, i.e. they are set
even if notifier has returned a error.
Signed-off-by: Denis V. Lunev
CC: Vladimir Sementsov-Ogievskiy
CC: Stefan
The request is area is specified in bytes, not in sectors.
Signed-off-by: Denis V. Lunev
CC: Vladimir Sementsov-Ogievskiy
CC: Stefan Hajnoczi
CC: Fam Zheng
CC: Kevin Wolf
CC: Max Reitz
---
block/io.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/block/io.c b/block/i
On 06/15/2016 03:41 PM, marcin.krzemin...@nokia.com wrote:
> From: Marcin Krzeminski
>
> Allow to have more than four 16MiB regions for bigger flash devices.
>
> Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
> ---
> hw/block/m25p80.c | 5 ++---
> 1 file changed, 2 insertio
On 06/15/2016 03:41 PM, marcin.krzemin...@nokia.com wrote:
> From: Marcin Krzeminski
>
> Some flash allows to stop read at any time.
> Allow framework to support this.
>
> Signed-off-by: Marcin Krzeminski
> ---
> hw/block/m25p80.c | 5 +
> 1 file changed, 5 insertions(+)
>
> diff --git a/
On 06/15/2016 03:41 PM, marcin.krzemin...@nokia.com wrote:
> From: Marcin Krzeminski
>
> Page program 4byte/quad and erase 32K sectors 4 bytes.
Reviewed-by: Cédric Le Goater
C.
>
> Signed-off-by: Marcin Krzeminski
> ---
> hw/block/m25p80.c | 9 +
> 1 file changed, 9 insertions(+)
Changes from v6:
- changed order of patches 1 & 2
Changes from v5:
- added missed hunk into patch #7
Changes from v4:
- synced help descriprion for --trace with man for qemu.1/qemu-img.1/qemu-nbd.8
- moved @findex from qemu-option-trace.texi
Changes from v3:
- fixed difference in help/man for qe
This text will be included to qemu-nbd/qemu-img mans in the next patches.
Signed-off-by: Denis V. Lunev
Reviewed-by: Eric Blake
CC: Paolo Bonzini
CC: Stefan Hajnoczi
CC: Kevin Wolf
---
Makefile| 3 ++-
qemu-options.hx | 27 +--
2 files changed, 3 insertions(+
The patch also creates trace_opt_parse() helper in trace/control.c to reuse
this code in next patches for qemu-nbd and qemu-io.
The patch also makes trace_init_events() static, as this call is not used
outside the module anymore.
Signed-off-by: Denis V. Lunev
Reviewed-by: Eric Blake
CC: Paolo B
Signed-off-by: Denis V. Lunev
Reviewed-by: Eric Blake
CC: Paolo Bonzini
CC: Stefan Hajnoczi
CC: Kevin Wolf
---
qemu-options.hx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index 0e42ba5..bee246e 100644
--- a/qemu-options.hx
+++ b/qemu-o
The command will work this way:
qemu-img --trace qcow2* create -f qcow2 1.img 64G
Signed-off-by: Denis V. Lunev
Suggested by: Daniel P. Berrange
Reviewed-by: Eric Blake
CC: Paolo Bonzini
CC: Stefan Hajnoczi
CC: Kevin Wolf
---
Makefile | 2 +-
qemu-img.c| 18 +-
Please note, trace_init_backends() must be called in the final process,
i.e. after daemonization. This is necessary to keep tracing thread in
the proper process.
Signed-off-by: Denis V. Lunev
Reviewed-by: Eric Blake
CC: Paolo Bonzini
CC: Stefan Hajnoczi
CC: Kevin Wolf
---
Makefile | 2
Moving trace_init_backends() into trace_opt_parse() is not possible. This
should be called after daemonize() in vl.c.
Signed-off-by: Denis V. Lunev
Reviewed-by: Eric Blake
CC: Paolo Bonzini
CC: Stefan Hajnoczi
CC: Kevin Wolf
---
qemu-io.c | 17 +
1 file changed, 13 insertions
On 06/15/2016 03:41 PM, marcin.krzemin...@nokia.com wrote:
> From: Marcin Krzeminski
>
> Macronix: mx66u51235f and mx66u1g45g
> Micron: mt25ql01g and mt25qu01g
> Spansion: s25fs512s and s70fs01gs
>
> Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
> ---
> hw/block/m25p80.c |
On 06/15/2016 03:41 PM, marcin.krzemin...@nokia.com wrote:
> From: Marcin Krzeminski
>
> Add support for Spansion and Macronix flashes.
> Additionally Numonyx(Micron) move from default
> in fast read commands family.
maybe we could start adding sub routines to decode some of the
larger commands
This is necessary to enable creation of common qemu-img options which will
be specified before command.
The patch also enables '-V' alias to '--version' (exactly like in other
block utilities) and documents this change.
Signed-off-by: Denis V. Lunev
Reviewed-by: Eric Blake
CC: Paolo Bonzini
CC
On 06/15/2016 06:56 PM, Alex Williamson wrote:
We don't currently support the MemoryRegionIOMMUOps notifier, so throw
an error should a device require it.
Signed-off-by: Alex Williamson
---
hw/i386/intel_iommu.c | 12
1 file changed, 12 insertions(+)
diff --git a/hw/i386/inte
Eric Blake writes:
> If a QAPI struct has a mandatory alternate member which is not
> present on input, the input visitor reports an error for the
> missing alternate without setting the discriminator, but the
> cleanup code for the struct still tries to use the dealloc
> visitor to clean up the
On 06/15/2016 08:56 PM, Markus Armbruster wrote:
Range pci_info.w32 records the location of the PCI hole.
It's initialized to empty when QOM zeroes I440FXState. That's a fine
value for a still unknown PCI hole.
i440fx_init() sets pci_info.w32.begin = below_4g_mem_size. Changes
the PCI hole fr
On 06/15/2016 03:41 PM, marcin.krzemin...@nokia.com wrote:
> From: Marcin Krzeminski
>
> Configuration registers for Spansion and Macronix devices.
>
> Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
I don't think we can define a property array. can we ?
> ---
> hw/block/m
On 06/15/2016 08:56 PM, Markus Armbruster wrote:
PcPciInfo has two (ill-named) members: Range w32 is the PCI hole, and
w64 is the PCI64 hole.
Three users:
* I440FXState and MCHPCIState have a member PcPciInfo pci_info, but
only pci_info.w32 is actually used. This is confusing. Replace by
On Thu, 06/16 09:58, Denis V. Lunev wrote:
> The request is area is specified in bytes, not in sectors.
s/request is/request/
>
> Signed-off-by: Denis V. Lunev
> CC: Vladimir Sementsov-Ogievskiy
> CC: Stefan Hajnoczi
> CC: Fam Zheng
> CC: Kevin Wolf
> CC: Max Reitz
> ---
> block/io.c | 4 +
On Thu, 06/16 09:58, Denis V. Lunev wrote:
> Actually we must set dirty bitmap dirty after we have written all our
> zeroes for correct processing in drive mirror code. In the other case
> we can face not zeroes in this dirty area there in mirror_iteration.
>
> Signed-off-by: Denis V. Lunev
> CC:
Eric Blake writes:
> On 06/15/2016 11:27 AM, Markus Armbruster wrote:
>> g_error() is not an acceptable way to report errors to the user:
>>
>> $ qemu-system-x86_64 -dfilter 1000+0
>>
>> ** (process:17187): ERROR **: Failed to parse range in: 1000+0
>> Trace/breakpoint trap (core du
On Thu, 06/16 09:58, Denis V. Lunev wrote:
> This is mandatory for correct backup creation. In the other case the
> content under this area would be lost.
>
> Dirty bits are set exactly like in bdrv_aligned_pwritev, i.e. they are set
> even if notifier has returned a error.
>
> Signed-off-by: Den
The SCU is a collection of chip-level control registers that manage the
various functions supported by the AST2400. Typically the bits control
interactions with clocks, external hardware or reset behaviour, and we
can largly take a hands-off approach to reads and writes.
Firmware makes heavy use o
Almost all configured reset values are specified by the datasheet. The
notable exception is ASPEED_SCU_SOC_SCRATCH1, where we mark the DRAM as
successfully initialised by the SoC to avoid unnecessary dark corners in
the SoC's u-boot support.
Signed-off-by: Andrew Jeffery
Reviewed-by: Cédric Le Go
Hi all,
These are two patches implementing minimal functionality for the ASPEED System
Control Unit device and integrating it into the AST2400 SoC model. The device is
critical for initialisation of u-boot and the kernel as it provides chip level
control registers, influencing the configuration of
Eric Blake writes:
> On 06/15/2016 02:41 PM, Markus Armbruster wrote:
>> Users of struct Range mess liberally with its members, which makes
>> refactoring hard. Create a set of methods, and convert all users to
>> call them instead of accessing members. The methods have carefully
>> worded cont
> -Original Message-
> From: Cédric Le Goater [mailto:c...@kaod.org]
> Sent: Thursday, June 16, 2016 9:25 AM
> To: Krzeminski, Marcin (Nokia - PL/Wroclaw)
> ; qemu-devel@nongnu.org
> Cc: crosthwaitepe...@gmail.com; pawel.len...@itlen.com;
> peter.mayd...@linaro.org
> Subject: Re: [PATCH 7
The address of the mailing list is qemu-devel@nongnu.org
instead of qemu-de...@savannah.nongnu.org. And while we're
at it, also mention the qemu-block mailing list here.
Signed-off-by: Thomas Huth
---
tests/qemu-iotests/README | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a
> -Original Message-
> From: Cédric Le Goater [mailto:c...@kaod.org]
> Sent: Thursday, June 16, 2016 9:20 AM
> To: Krzeminski, Marcin (Nokia - PL/Wroclaw)
> ; qemu-devel@nongnu.org
> Cc: crosthwaitepe...@gmail.com; pawel.len...@itlen.com;
> peter.mayd...@linaro.org
> Subject: Re: [PATCH 8
> -Original Message-
> From: Cédric Le Goater [mailto:c...@kaod.org]
> Sent: Thursday, June 16, 2016 9:14 AM
> To: Krzeminski, Marcin (Nokia - PL/Wroclaw)
> ; qemu-devel@nongnu.org
> Cc: crosthwaitepe...@gmail.com; pawel.len...@itlen.com;
> peter.mayd...@linaro.org
> Subject: Re: [PATCH 4
* Stefan Berger (stef...@linux.vnet.ibm.com) wrote:
> On 06/15/2016 03:30 PM, Dr. David Alan Gilbert wrote:
> > So what was the multi-instance vTPM proxy driver patch set about?
>
> That's for containers.
Why have the two mechanisms? Can you explain how the multi-instance
proxy works; my brief
Eric Blake writes:
> On 06/15/2016 02:41 PM, Markus Armbruster wrote:
>> Range represents a range as follows. Member @start is the inclusive
>> lower bound, member @end is the exclusive upper bound. Zero @end is
>> special: if @start is also zero, the range is empty, else @end is to
>> be inter
On 06/16/2016 09:52 AM, Krzeminski, Marcin (Nokia - PL/Wroclaw) wrote:
>
>
>> -Original Message-
>> From: Cédric Le Goater [mailto:c...@kaod.org]
>> Sent: Thursday, June 16, 2016 9:25 AM
>> To: Krzeminski, Marcin (Nokia - PL/Wroclaw)
>> ; qemu-devel@nongnu.org
>> Cc: crosthwaitepe...@gmai
Keep track of button changes. Send the extended 4-byte messages for
three button mice only in case we have something to report for the
middle button. Use the short 3-byte messages (original protocol for
two-button microsoft mouse) otherwise.
Signed-off-by: Gerd Hoffmann
---
backends/msmouse.c
Am 16.06.2016 um 09:53 hat Thomas Huth geschrieben:
> The address of the mailing list is qemu-devel@nongnu.org
> instead of qemu-de...@savannah.nongnu.org. And while we're
> at it, also mention the qemu-block mailing list here.
>
> Signed-off-by: Thomas Huth
Thanks, applied to the block branch.
Hi,
Two more msmouse patches, applying on top of the other msmouse patches
sent a few days ago.
cheers,
Gerd
Gerd Hoffmann (2):
msmouse: switch to new input interface
msmouse: send short messages if possible.
backends/msmouse.c | 81 -
Signed-off-by: Gerd Hoffmann
---
backends/msmouse.c | 68 --
1 file changed, 56 insertions(+), 12 deletions(-)
diff --git a/backends/msmouse.c b/backends/msmouse.c
index 9ade31b..b1e1bea 100644
--- a/backends/msmouse.c
+++ b/backends/msmouse.c
On 06/16/2016 09:43 AM, Krzeminski, Marcin (Nokia - PL/Wroclaw) wrote:
>
>
>> -Original Message-
>> From: Cédric Le Goater [mailto:c...@kaod.org]
>> Sent: Thursday, June 16, 2016 9:14 AM
>> To: Krzeminski, Marcin (Nokia - PL/Wroclaw)
>> ; qemu-devel@nongnu.org
>> Cc: crosthwaitepe...@gmai
On 16 June 2016 at 09:07, Gerd Hoffmann wrote:
> Keep track of button changes. Send the extended 4-byte messages for
> three button mice only in case we have something to report for the
> middle button. Use the short 3-byte messages (original protocol for
> two-button microsoft mouse) otherwise.
On 06/15/2016 06:14 PM, Laurent Vivier wrote:
> This patch is the result of coccinelle script
> scripts/coccinelle/typecast.cocci
>
> CC: Bastian Koppelmann
> Signed-off-by: Laurent Vivier
> ---
> hw/tricore/tricore_testboard.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed
On Thu, Jun 16, 2016 at 09:05:20AM +0100, Dr. David Alan Gilbert wrote:
> * Stefan Berger (stef...@linux.vnet.ibm.com) wrote:
> > On 06/15/2016 03:30 PM, Dr. David Alan Gilbert wrote:
>
>
>
> > > So what was the multi-instance vTPM proxy driver patch set about?
> >
> > That's for containers.
>
This is a followup to:
v1: https://lists.gnu.org/archive/html/qemu-devel/2016-06/msg02537.html
To quote Peter:
pm215: "trace-events: causing merge conflicts since 2010"
There's really no good reason why we should continue
to suffer from this. Even if the trace tool generator
can't yet gener
Move all trace-events for files in the io/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
io/trace-events | 63 +
trace-events| 62
3 f
Switch make rules over to use trace-events-all as the
master trace events input file. Add rule that will
construct trace-events-all from $(trace-events-y).
Signed-off-by: Daniel P. Berrange
---
.gitignore | 1 +
Makefile| 2 +-
Makefile.objs | 4
Makefile.targe
Move all trace-events for files in the block/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
block/trace-events | 116 +
trace-events | 115 --
Move all trace-events for files in the crypto/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
crypto/trace-events | 19 +++
trace-events| 18 --
3 files changed, 20 insertions(+), 18 deletions(-)
create mode
Move all trace-events for files in the util/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
trace-events | 12
util/trace-events | 13 +
3 files changed, 14 insertions(+), 12 deletions(-)
create mode 100644 util/trace-e
Move all trace-events for files in the hw/char/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs| 1 +
hw/char/trace-events | 49 +
trace-events | 48
Move all trace-events for files in the migration/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
migration/trace-events | 208 +
trace-events | 207 --
Move all trace-events for files in the hw/nvram/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/nvram/trace-events | 10 ++
trace-events | 9 -
3 files changed, 11 insertions(+), 9 deletions(-)
create mode 100644 hw/
Move all trace-events for files in the hw/virtio/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/virtio/trace-events | 16
trace-events | 14 --
3 files changed, 17 insertions(+), 14 deletions(-)
create
Move all trace-events for files in the hw/block/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/block/trace-events | 17 +
trace-events | 16
3 files changed, 18 insertions(+), 16 deletions(-)
create
Move all trace-events for files in the hw/intc/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs| 1 +
hw/intc/trace-events | 82
trace-events | 81 --
Move all trace-events for files in the hw/audio/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/audio/trace-events | 19 +++
trace-events | 18 --
3 files changed, 20 insertions(+), 18 deletions(-)
cre
Move all trace-events for files in the hw/display/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/display/trace-events | 122
trace-events| 121 ---
Move all trace-events for files in the hw/misc/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs| 1 +
hw/misc/trace-events | 52
trace-events | 51 --
Move all trace-events for files in the hw/net/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/net/trace-events | 272
trace-events| 271 ---
Move all trace-events for files in the hw/scsi/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs| 1 +
hw/scsi/trace-events | 204 +++
trace-events | 203
Move all trace-events for files in the hw/timer/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/timer/trace-events | 51 +++
trace-events | 50 ---
Move all trace-events for files in the hw/input/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/input/trace-events | 25 +
trace-events | 24
3 files changed, 26 insertions(+), 24 delet
Move all trace-events for files in the hw/sparc/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/sparc/trace-events | 11 +++
trace-events | 10 --
3 files changed, 12 insertions(+), 10 deletions(-)
create mode 100644
Move all trace-events for files in the hw/isa/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/isa/trace-events | 9 +
trace-events| 8
3 files changed, 10 insertions(+), 8 deletions(-)
create mode 100644 hw/isa/trace-eve
Move all trace-events for files in the hw/9pfs/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs| 1 +
hw/9pfs/trace-events | 47 +++
trace-events | 46 --
3 f
Move all trace-events for files in the hw/usb/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/usb/trace-events | 268
trace-events| 267 ---
Move all trace-events for files in the hw/s390x/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/s390x/trace-events | 15 +++
trace-events | 14 --
3 files changed, 16 insertions(+), 14 deletions(-)
create mode
Move all trace-events for files in the hw/pci/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/pci/trace-events | 9 +
trace-events| 8
3 files changed, 10 insertions(+), 8 deletions(-)
create mode 100644 hw/pci/trace-eve
Move all trace-events for files in the hw/vfio/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs| 1 +
hw/vfio/trace-events | 116 +++
trace-events | 116
Move all trace-events for files in the hw/ppc/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/ppc/trace-events | 39 +++
trace-events| 38 --
3 files changed, 40 ins
Move all trace-events for files in the hw/sd/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/sd/trace-events | 5 +
trace-events | 4
3 files changed, 6 insertions(+), 4 deletions(-)
create mode 100644 hw/sd/trace-events
diff --gi
Move all trace-events for files in the net/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs| 1 +
net/trace-events | 4
trace-events | 3 ---
3 files changed, 5 insertions(+), 3 deletions(-)
create mode 100644 net/trace-events
diff --git a/Makefile
Move all trace-events for files in the ui/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
trace-events| 47 ---
ui/trace-events | 48
3 files changed, 49 i
Move all trace-events for files in the audio/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
audio/trace-events | 17 +
trace-events | 16
3 files changed, 18 insertions(+), 16 deletions(-)
create mode 100644
Move all trace-events for files in the hw/dma/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/dma/trace-events | 32
trace-events| 31 ---
3 files changed, 33 insertions(+), 31
Move all trace-events for files in the target-sparc/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
target-sparc/trace-events | 28
trace-events | 27 ---
3 files changed, 29 i
Move all trace-events for files in the hw/i386/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs| 1 +
hw/i386/trace-events | 12
trace-events | 11 ---
3 files changed, 13 insertions(+), 11 deletions(-)
create mode 100644 hw
Move all trace-events for files in the target-s390x/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
target-s390x/trace-events | 21 +
trace-events | 21 -
3 files changed, 22 insertions(+),
Move all trace-events for files in the target-ppc/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
target-ppc/trace-events | 5 +
trace-events| 4
3 files changed, 6 insertions(+), 4 deletions(-)
create mode 100644 target-pp
Move all trace-events for files in the hw/acpi/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs| 1 +
hw/acpi/trace-events | 18 ++
trace-events | 17 -
3 files changed, 19 insertions(+), 17 deletions(-)
create mo
Move all trace-events for files in the qom/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs| 1 +
qom/trace-events | 5 +
trace-events | 4
3 files changed, 6 insertions(+), 4 deletions(-)
create mode 100644 qom/trace-events
diff --git a/Makefi
On Fri, Jun 10, 2016 at 06:05:20PM +0200, Kevin Wolf wrote:
> +static int coroutine_fn
> +bdrv_co_rw_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos,
> + bool is_read)
> +{
> +BlockDriver *drv = bs->drv;
> +
> +if (!drv) {
> +return -ENOMEDIUM;
> +
Move all trace-events for files in the linux-user/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
linux-user/trace-events | 12
trace-events| 11 ---
3 files changed, 13 insertions(+), 11 deletions(-)
create mo
ping
On Wed, Apr 6, 2016 at 5:38 PM, wrote:
> From: Marc-André Lureau
>
> The following 2 one-liners remove the chardev from the vhost-user
> netdev it is attached to. This prevents from further reuse of the
> chardev that would likely fail to setup again with the slave.
>
> Related to:
> https
On Fri, Jun 10, 2016 at 06:05:16PM +0200, Kevin Wolf wrote:
> This series contains a few cleanups with respect to the vmstate I/O functions.
> Apart from making the interface more consistent (writes were already vectored,
> but not reads), this makes use of the new byte-based .bdrv_co_preadv/pwrite
Move all trace-events for files in the hw/arm/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/arm/trace-events | 4
trace-events| 3 ---
3 files changed, 5 insertions(+), 3 deletions(-)
create mode 100644 hw/arm/trace-events
diff -
Improve capability checks (count keys and buttons), store results.
Merge the input_linux_event_mouse and input_linux_event_keyboard
functions into one, dispatch into input_linux_handle_mouse and
input_linux_handle_keyboard depending on device capabilities.
Allow calling both handle functions, so
Move all trace-events for files in the hw/alpha/ directory to
their own file.
Signed-off-by: Daniel P. Berrange
---
Makefile.objs | 1 +
hw/alpha/trace-events | 4
trace-events | 3 ---
3 files changed, 5 insertions(+), 3 deletions(-)
create mode 100644 hw/alpha/trace-even
No functional change.
Signed-off-by: Gerd Hoffmann
---
ui/input-linux.c | 103 +--
1 file changed, 54 insertions(+), 49 deletions(-)
diff --git a/ui/input-linux.c b/ui/input-linux.c
index a932290..97f 100644
--- a/ui/input-linux.c
+++ b/ui
"Daniel P. Berrange" writes:
> On Thu, Jun 09, 2016 at 03:20:47PM +0200, Markus Armbruster wrote:
>> I apologize for the lateness of this review.
>>
>> "Daniel P. Berrange" writes:
>>
>> > The qdict_flatten() method will take a dict whose elements are
>> > further nested dicts/lists and flatte
Juan Quintela writes:
> Eric Blake wrote:
>> On 05/04/2016 05:20 AM, Juan Quintela wrote:
>>> - migration capabilities and parameters
>>> this is a mess. Not, is worse than that. I don't know who is to
>>> blame here, but something needs to be done:
>>>
>>> void qmp_migrate_set_param
Hi,
> > -if (mouse->outlen <= sizeof(mouse->outbuf) - 4) {
> > +if (mouse->outlen <= sizeof(mouse->outbuf) - count) {
> > /* We always send the packet of, so that we do not have to keep
> > track
> > of previous state of the middle button. This can potentially
> >
Am 10.06.2016 um 18:05 hat Kevin Wolf geschrieben:
> This series contains a few cleanups with respect to the vmstate I/O functions.
> Apart from making the interface more consistent (writes were already vectored,
> but not reads), this makes use of the new byte-based .bdrv_co_preadv/pwritev
> callb
Hi,
Patches 1+2 just factor out code to make patch 3 smaller and easier to
review. Patch 3 refines the device detection and also allows devices
to be treated as both mouse and keyboard. The later should improve
handling of programmable mice which can also send keyboard events.
cheers,
Gerd
No functional change.
Signed-off-by: Gerd Hoffmann
---
ui/input-linux.c | 102 +--
1 file changed, 53 insertions(+), 49 deletions(-)
diff --git a/ui/input-linux.c b/ui/input-linux.c
index 1d33b5c..a932290 100644
--- a/ui/input-linux.c
+++ b/ui
On 16.06.2016 09:58, Denis V. Lunev wrote:
Actually we must set dirty bitmap dirty after we have written all our
zeroes for correct processing in drive mirror code. In the other case
we can face not zeroes in this dirty area there in mirror_iteration.
Signed-off-by: Denis V. Lunev
CC: Vladimir
"Daniel P. Berrange" writes:
> 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, a
On 06/16/2016 12:34 PM, Vladimir Sementsov-Ogievskiy wrote:
On 16.06.2016 09:58, Denis V. Lunev wrote:
Actually we must set dirty bitmap dirty after we have written all our
zeroes for correct processing in drive mirror code. In the other case
we can face not zeroes in this dirty area there in mi
1 - 100 of 430 matches
Mail list logo