On 05/06/2020 17.49, Alex Bennée wrote:
> Hi,
>
> These are all the patches I've currently got which are ready for a
> pull request next week. I've included some patches which are destined
> to go in via other trees so I can keep the testing green on the CI.
>
> In summary:
>
> Some simple plug
Hi David,
could you maybe take this through your ppc tree?
Thanks,
Thomas
On 01/06/2020 13.28, Claudio Fontana wrote:
> Hello all,
>
> is this queued somewhere?
>
> Thanks,
>
> Claudio
>
> On 5/18/20 6:03 PM, Claudio Fontana wrote:
>> v4 -> v5:
>>
>> * include the dtc submodule update c
On 06/06/2020 09.02, Philippe Mathieu-Daudé wrote:
> Replace a deprecated DPRINTF() call by qemu_log_mask(LOG_UNIMP).
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> hw/misc/auxbus.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/misc/auxbus.c b/hw/misc/auxbus.c
>
On 06/06/2020 14.38, Sam Eiderman wrote:
> Thanks for the link
>
> I do believe that the correct approach for me is to rename
> BITS_PER_LONG to __BITS_PER_LONG (I just added a sed command in my
> Dockerfile) and move on with my particular usage, however I am just
> wondering whether dropping debi
The file tests/qtest/bios-tables-test-allowed-diff.h is currently only
assigned to the qtest section according MAINTAINERS. However, this file
normally only gets updated when the ACPI tables changed - something the
qtest maintainers don't have much clue of. Thus this file should rather
be assigned
On Sat, Jun 06, 2020 at 04:21:31PM -0400, Michael S. Tsirkin wrote:
> On Thu, May 21, 2020 at 01:43:04PM +1000, David Gibson wrote:
> > The default behaviour for virtio devices is not to use the platforms normal
> > DMA paths, but instead to use the fact that it's running in a hypervisor
> > to dir
On Sat, Jun 6, 2020 at 4:01 AM Aleksandar Markovic
wrote:
>
> суб, 6. јун 2020. у 09:32 Aleksandar Markovic
> је написао/ла:
> >
> > уто, 2. јун 2020. у 04:40 Huacai Chen је написао/ла:
> > >
> > > Add Loongson-3 based machine support, it use i8259 as the interrupt
> > > controler and use GPEX a
суб, 6. јун 2020. у 15:24 Laurent Vivier је написао/ла:
>
> Le 06/06/2020 à 15:14, Laurent Vivier a écrit :
> > The following changes since commit ddc760832fa8cf5e93b9d9e6e854a5114ac63510:
> >
> > Merge remote-tracking branch 'remotes/gkurz/tags/9p-next-2020-05-26' into
> > s=
> > taging (2020-
On Thu, May 21, 2020 at 01:43:04PM +1000, David Gibson wrote:
> The default behaviour for virtio devices is not to use the platforms normal
> DMA paths, but instead to use the fact that it's running in a hypervisor
> to directly access guest memory. That doesn't work if the guest's memory
> is pro
On Thu, 4 Jun 2020 16:55:32 +0800
Zhang Chen wrote:
> From: Zhang Chen
>
> No need to reuse MIGRATION_STATUS_ACTIVE boot COLO.
>
> Signed-off-by: Zhang Chen
> Reviewed-by: zhanghailiang
> ---
> migration/colo.c | 2 --
> migration/migration.c | 17 ++---
> 2 files changed
On Thu, 4 Jun 2020 16:55:33 +0800
Zhang Chen wrote:
> From: Zhang Chen
>
> Previous operation(like vm_start and replication_start_all) will consume
> extra time for first forced synchronization, so reduce it in this patch.
>
> Signed-off-by: Zhang Chen
> Reviewed-by: zhanghailiang
> ---
Hi
On Wed, 3 Jun 2020 16:49:02 +0200
David Hildenbrand wrote:
> COLO will copy all memory in a RAM block, disable discarding of RAM.
>
> Reviewed-by: Dr. David Alan Gilbert
> Cc: "Michael S. Tsirkin"
> Cc: Hailiang Zhang
> Cc: Juan Quintela
> Cc: "Dr. David Alan Gilbert"
> Signed-off-by: Davi
While I'm not going to have much time for this, I'll still
try to test and review patches.
Signed-off-by: Lukas Straub
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 8cbc1fac2b..4c623a96e1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2
Add high-level test relying on the colo resource-agent to test
all failover cases while checking guest network connectivity.
Signed-off-by: Lukas Straub
---
scripts/colo-resource-agent/crm_master | 44 ++
scripts/colo-resource-agent/crm_resource | 12 +
tests/acceptance/colo.py
On Mon, 25 May 2020 17:44:12 +0200
Lukas Straub wrote:
> Hello Everyone,
> In many cases, if qemu has a network connection (qmp, migration, chardev,
> etc.)
> to some other server and that server dies or hangs, qemu hangs too.
> These patches introduce the new 'yank' out-of-band qmp command to r
We don't need a separate variable to keep track if we allocated memory
that needs to be freed as we can test the pointer itself.
Signed-off-by: BALATON Zoltan
---
hw/display/sm501.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/hw/display/sm501.c b/hw/display/sm501.c
i
We don't need to add width to pitch when calculating last point, that
would reject valid ops within the card's local_mem.
Fixes: b15a22bbcbe6a78dc3d88fe3134985e4cdd87de4
Signed-off-by: BALATON Zoltan
---
hw/display/sm501.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
Some small fixes and optimisations for hw/display/sm501.c.
BALATON Zoltan (4):
sm501: Fix bounds checks
sm501: Drop unneded variable
sm501: Ignore no-op blits
sm501: Optimise 1 pixel 2d ops
hw/display/sm501.c | 58 ++
1 file changed, 48 inserti
Optionally install the resouce-agent so it gets picked up by
pacemaker.
Signed-off-by: Lukas Straub
---
Makefile | 5 +
configure | 10 ++
2 files changed, 15 insertions(+)
diff --git a/Makefile b/Makefile
index 8a9113e666..2ebffc4465 100644
--- a/Makefile
+++ b/Makefile
@@ -973,6
Introduce a resource agent which can be used to manage qemu COLO
in a pacemaker cluster.
Signed-off-by: Lukas Straub
---
scripts/colo-resource-agent/colo | 1466 ++
1 file changed, 1466 insertions(+)
create mode 100755 scripts/colo-resource-agent/colo
diff --git a/s
Some guests seem to try source copy blits with same source and dest
which are no-op so avoid calling pixman for these.
Signed-off-by: BALATON Zoltan
---
hw/display/sm501.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/hw/display/sm501.c b/hw/display/sm501.c
index 85d54b598f..3397ca9fb
Replace duplicate code with pick_qemu_util.
Signed-off-by: Lukas Straub
---
tests/acceptance/boot_linux.py | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/tests/acceptance/boot_linux.py b/tests/acceptance/boot_linux.py
index 075a386300..6b99112cad 100644
--- a/tes
Some guests do 1x1 blits which is faster to do directly than calling a
function for it so avoid overhead in this case.
Signed-off-by: BALATON Zoltan
---
hw/display/sm501.c | 40 +---
1 file changed, 37 insertions(+), 3 deletions(-)
diff --git a/hw/display/sm5
This introduces a generic function to pick qemu utility binaries
from the build dir, system or via test parameter.
Signed-off-by: Lukas Straub
---
tests/acceptance/avocado_qemu/__init__.py | 15 +++
1 file changed, 15 insertions(+)
diff --git a/tests/acceptance/avocado_qemu/__init__
If we remove the child with the highest index from the quorum,
decrement s->next_child_index. This way we get stable children
names as long as we only remove the last child.
Signed-off-by: Lukas Straub
Fixes: https://bugs.launchpad.net/bugs/1881231
Reviewed-by: Zhang Chen
Reviewed-by: Alberto Ga
Hello Everyone,
So here is v2. Patch 1 can already be merged independently of the others.
Regards,
Lukas Straub
Changes:
v2:
-use new yank api
-drop disk_size parameter
-introduce pick_qemu_util function and use it
Overview:
Hello Everyone,
These patches introduce a resource agent for fully
On 6/5/20 12:02 PM, Joseph Myers wrote:
> The x87 fprem1 emulation is currently based around conversion to
> double, which is inherently unsuitable for a good emulation of any
> floatx80 operation. Reimplement using the soft-float floatx80
> remainder operations.
>
> Signed-off-by: Joseph Myers
On 6/5/20 12:01 PM, Joseph Myers wrote:
> Both x87 and m68k need the low parts of the quotient for their
> remainder operations. Arrange for floatx80_modrem to track those bits
> and return them via a pointer.
>
> The architectures using float32_rem and float64_rem do not appear to
> need this in
On 6/5/20 12:01 PM, Joseph Myers wrote:
> The floatx80 remainder implementation unnecessarily sets the high bit
> of bSig explicitly. By that point in the function, arguments that are
> invalid, zero, infinity or NaN have already been handled and
> subnormals have been through normalizeFloatx80Sub
On 6/5/20 12:00 PM, Joseph Myers wrote:
> The floatx80 remainder implementation sometimes returns the numerator
> unchanged when the denominator is sufficiently larger than the
> numerator. But if the value to be returned unchanged is a
> pseudo-denormal, that is incorrect. Fix it to normalize th
On 6/5/20 12:00 PM, Joseph Myers wrote:
> The floatx80 remainder implementation ignores the high bit of the
> significand when checking whether an operand (numerator) with zero
> exponent is zero. This means it mishandles a pseudo-denormal
> representation of 0x1p-16382L by treating it as zero. F
On 6/5/20 11:59 AM, Joseph Myers wrote:
> The m68k-specific softfloat code includes a function floatx80_mod that
> is extremely similar to floatx80_rem, but computing the remainder
> based on truncating the quotient toward zero rather than rounding it
> to nearest integer. This is also useful for
On Mon, 18 May 2020 09:38:24 +
"Zhang, Chen" wrote:
> > -Original Message-
> > From: Lukas Straub
> > Sent: Monday, May 11, 2020 8:27 PM
> > To: qemu-devel
> > Cc: Alberto Garcia ; Dr. David Alan Gilbert
> > ; Zhang, Chen
> > Subject: [PATCH 0/5] colo: Introduce resource agent and
On 6/6/20 12:02 AM, Philippe Mathieu-Daudé wrote:
> Replace a deprecated DPRINTF() call by qemu_log_mask(LOG_UNIMP).
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> hw/misc/auxbus.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Richard Henderson
r~
From: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
Reviewed-by: Laurent Vivier
Tested-by: Laurent Vivier
Signed-off-by: Philippe Mathieu-Daudé
Message-Id: <20200522172510.25784-8-phi...@redhat.com>
Signed-off-by: Laurent Vivier
---
target/riscv/cpu.c
From: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
Reviewed-by: Laurent Vivier
Tested-by: Laurent Vivier
Signed-off-by: Philippe Mathieu-Daudé
Message-Id: <20200522172510.25784-4-phi...@redhat.com>
Signed-off-by: Laurent Vivier
---
tests/Makefile.incl
From: Philippe Mathieu-Daudé
In Makefile.objs, the ui/ directory is restricted to system-mode:
43 ifeq ($(CONFIG_SOFTMMU),y)
...
65 common-obj-y += ui/
66 common-obj-m += ui/
...
82 endif # CONFIG_SOFTMMU
Restrict the ui/ stub added in commit 2df9f5718df to only build
it for system-mode e
From: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
Reviewed-by: Cornelia Huck
Reviewed-by: Laurent Vivier
Tested-by: Laurent Vivier
Signed-off-by: Philippe Mathieu-Daudé
Message-Id: <20200522172510.25784-12-phi...@redhat.com>
Signed-off-by: Laurent Vivier
---
target/s390x/cpu.c |
From: Philippe Mathieu-Daudé
Avoid building TCG when building only tools:
./configure --enable-tools --disable-system --disable-user
This saves us from running the soft-float tests enabled since
commit 76170102508.
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Reviewed-by: L
From: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
Reviewed-by: Laurent Vivier
Tested-by: Laurent Vivier
Signed-off-by: Philippe Mathieu-Daudé
Message-Id: <20200522172510.25784-13-phi...@redhat.com>
Signed-off-by: Laurent Vivier
---
hw/core/cpu.c | 2 ++
include/hw/core/cpu
Le 06/06/2020 à 15:14, Laurent Vivier a écrit :
> The following changes since commit ddc760832fa8cf5e93b9d9e6e854a5114ac63510:
>
> Merge remote-tracking branch 'remotes/gkurz/tags/9p-next-2020-05-26' into s=
> taging (2020-05-26 14:05:53 +0100)
>
> are available in the Git repository at:
>
>
From: Sergei Trofimovich
Fix syscall name and parameters priinter.
Before the change:
```
$ alpha-linux-user/qemu-alpha -strace -L /usr/alpha-unknown-linux-gnu/ /tmp/a
...
1274697
%s(%d)(2097152,274903156744,274903156760,274905840712,274877908880,274903235616)
= 3
1274697 exit_group(0)
```
A
From: Philippe Mathieu-Daudé
Commit ffaee83bcb2 moved qmp_query_target but forgot to remove
this include.
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
Reviewed-by: Laurent Vivier
Tested-by: Laurent Vivier
Signed-off-by: Philippe Mathieu-Daudé
Message-Id: <20200522172510.2578
From: Philippe Mathieu-Daudé
In the next commit we are going to remove some objects from the
util-obj-y variable (objects which are not used by user-mode,
when configured with --disable-system).
Then some system-mode tests are going to fail, due to the missing
objects:
$ make check-unit -k
From: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Reviewed-by: Laurent Vivier
Tested-by: Laurent Vivier
Signed-off-by: Philippe Mathieu-Daudé
Message-Id: <20200522172510.25784-9-phi...@redhat.com>
Signed-off-by: Laurent Vivier
---
exec.c | 4 +++-
1
From: Jonathan Marler
Fixes: https://bugs.launchpad.net/bugs/1876373
This code path in mmap occurs when a page size is decreased with mremap. When
a section of pages is shrunk, qemu calls mmap_reserve on the pages that were
released. However, it has the diff operation reversed, subtracting t
From: Andreas Schwab
Signed-off-by: Andreas Schwab
Reviewed-by: Laurent Vivier
Message-Id:
Signed-off-by: Laurent Vivier
---
linux-user/generic/fcntl.h | 4
linux-user/syscall.c | 6 ++
2 files changed, 10 insertions(+)
diff --git a/linux-user/generic/fcntl.h b/linux-user/gen
From: Philippe Mathieu-Daudé
These stubs are not required when configured with --disable-system.
Reviewed-by: Richard Henderson
Reviewed-by: Laurent Vivier
Tested-by: Laurent Vivier
Signed-off-by: Philippe Mathieu-Daudé
Message-Id: <20200522172510.25784-7-phi...@redhat.com>
Signed-off-by: La
From: Helge Deller
Provide our own /proc/cpuinfo file for the hppa (parisc) platform.
Signed-off-by: Helge Deller
Reviewed-by: Richard Henderson
Reviewed-by: Laurent Vivier
Message-Id: <20200424210648.ga26...@ls3530.fritz.box>
[lv: s/an/our/ and add TARGET_HPPA to guard is_proc()]
Signed-off-
When we try to bootstrap debian/lenny for alpha, it fails because
it cannot umount /.root directory:
...
Setting up initscripts (2.86.ds1-61) ...
umount: /.root: Function not implemented
dpkg: error processing initscripts (--configure):
subprocess post-installation script returned error
From: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
Reviewed-by: Laurent Vivier
Tested-by: Laurent Vivier
Signed-off-by: Philippe Mathieu-Daudé
Message-Id: <20200522172510.25784-11-phi...@redhat.com>
Signed-off-by: Laurent Vivier
---
target/i386/cpu.c | 6 +-
1 file changed, 5 i
From: Helge Deller
Return target error codes instead of host error codes.
Signed-off-by: Helge Deller
Reviewed-by: Laurent Vivier
Message-Id: <20200424220033.ga28...@ls3530.fritz.box>
Signed-off-by: Laurent Vivier
---
linux-user/syscall.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletio
The following changes since commit ddc760832fa8cf5e93b9d9e6e854a5114ac63510:
Merge remote-tracking branch 'remotes/gkurz/tags/9p-next-2020-05-26' into s=
taging (2020-05-26 14:05:53 +0100)
are available in the Git repository at:
git://github.com/vivier/qemu.git tags/linux-user-for-5.1-pull-r
When we try to bootstrap debian/lenny for alpha, it fails because
it cannot umount /.root directory:
...
Setting up initscripts (2.86.ds1-61) ...
umount: /.root: Function not implemented
dpkg: error processing initscripts (--configure):
subprocess post-installation script returned error
From: Philippe Mathieu-Daudé
These objects are not required when configured with --disable-system.
Reviewed-by: Richard Henderson
Reviewed-by: Laurent Vivier
Tested-by: Laurent Vivier
Signed-off-by: Philippe Mathieu-Daudé
Message-Id: <20200522172510.25784-6-phi...@redhat.com>
Signed-off-by:
From: Philippe Mathieu-Daudé
Do not build the virtiofsd helper when configured with
--disable-system.
Reviewed-by: Richard Henderson
Acked-by: Dr. David Alan Gilbert
Reviewed-by: Laurent Vivier
Tested-by: Laurent Vivier
Signed-off-by: Philippe Mathieu-Daudé
Message-Id: <20200522172510.25784
From: Helge Deller
Provide our own /proc/cpuinfo file for the hppa (parisc) platform.
Signed-off-by: Helge Deller
Reviewed-by: Richard Henderson
Reviewed-by: Laurent Vivier
Message-Id: <20200424210648.ga26...@ls3530.fritz.box>
[lv: s/an/our/ and add TARGET_HPPA to guard is_proc()]
Signed-off-
From: Helge Deller
Return target error codes instead of host error codes.
Signed-off-by: Helge Deller
Reviewed-by: Laurent Vivier
Message-Id: <20200424220033.ga28...@ls3530.fritz.box>
Signed-off-by: Laurent Vivier
---
linux-user/syscall.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletio
The following changes since commit ddc760832fa8cf5e93b9d9e6e854a5114ac63510:
Merge remote-tracking branch 'remotes/gkurz/tags/9p-next-2020-05-26' into s=
taging (2020-05-26 14:05:53 +0100)
are available in the Git repository at:
git://github.com/vivier/qemu.git tags/linux-user-for-5.1-pull-r
Thanks for the link
I do believe that the correct approach for me is to rename
BITS_PER_LONG to __BITS_PER_LONG (I just added a sed command in my
Dockerfile) and move on with my particular usage, however I am just
wondering whether dropping debian10/ubuntu20 in the official qemu ci/
pipeline until
On 4/18/20 2:25 AM, Marek Vasut wrote:
> The tulip driver claims to emulate dec21143 and it does not emulate dec21142.
> The dec21142 and dec21143 can be discerned by the PCI revision register,
> where dec21142 reports value < 0x20 and dec21143 value >= 0x20. E.g. the
> U-Boot 'tulip' driver also o
Sam Eiderman writes:
> Hi,
>
> I am using debian 10 container to compile qemu too.
>
> I think that what happens here is that
>
> /usr/include/linux/swab.h
>
> Uses BITS_PER_LONG instead of __BITS_PER_LONG which is actually defined before
> in qemu at:
That is indeed the error - we are just
this would be really useful for testing resilliance and auto fall-over
systems in a vm, to be able to quickly virtually "unplug" a network
connection.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/165
Public bug reported:
I have configured 2 ide disks with name starting with hd, but when the
vm boots up, it shows disks whose name starting with sd.
1. ide disks in vm xml:
2. in VM:
sda8:002G 0 disk
sdb
Hi,
I am using debian 10 container to compile qemu too.
I think that what happens here is that
/usr/include/linux/swab.h
Uses BITS_PER_LONG instead of __BITS_PER_LONG which is actually defined before
in qemu at:
include/qemu/bitops.h:#define BITS_PER_LONG (sizeof (unsigned long
The hardware supports configurable descriptor sizes, configured in the DBLAC
register.
Most drivers use the default 4 word descriptor, which is currently hardcoded,
but Aspeed SDK configures 8 words to store extra data.
---
The implementation of the driver in Supermicro BMC SMT_X11_158 adds 4 ext
On Fri, Jun 05, 2020 at 12:55:05PM +0200, Cornelia Huck wrote:
> On Thu, 21 May 2020 13:42:46 +1000
> David Gibson wrote:
>
> > A number of hardware platforms are implementing mechanisms whereby the
> > hypervisor does not have unfettered access to guest memory, in order
> > to mitigate the secur
On Thu, Jun 04, 2020 at 11:08:21AM +0200, Greg Kurz wrote:
> On Thu, 4 Jun 2020 16:44:14 +1000
> David Gibson wrote:
>
> > On Thu, Jun 04, 2020 at 01:39:22AM -0300, Thiago Jung Bauermann wrote:
> > >
> > > Hello David,
> > >
> > > David Gibson writes:
> > >
> > > > A number of hardware platfo
On Fri, Jun 05, 2020 at 05:01:07PM -0300, Thiago Jung Bauermann wrote:
>
> Paolo Bonzini writes:
>
> > On 05/06/20 01:30, Thiago Jung Bauermann wrote:
> >> Paolo Bonzini writes:
> >>> On 04/06/20 23:54, Thiago Jung Bauermann wrote:
> QEMU could always create a PEF object, and if the comman
Hi all!
Here is my suggestion to substitute only first three patches :) of
Andrey's [PATCH v3 0/6] iotests: Dump QCOW2 dirty bitmaps metadata
v5:
01: - typo in commit message
- fix over-79 lines
02: new, specify GPL license
03: specify GPL license
04-06: add Andrey's r-b
07: - grammar in comm
Add class for bitmap extension and dump its fields. Further work is to
dump bitmap directory.
Test new functionality inside 291 iotest.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Andrey Shinkevich
---
tests/qemu-iotests/291 | 4 +++
tests/qemu-iotests/291.out
Suggested-by: Andrey Shinkevich
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
tests/qemu-iotests/031.out | 22 +++---
tests/qemu-iotests/036.out | 4 ++--
tests/qemu-iotests/061.out | 14 +++---
tests/qemu-iotests/qcow2_format.py | 17 ++
Only two fields we can parse by generic code, but that is better than
nothing. Keep further refactoring of variable-length fields for another
day.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Andrey Shinkevich
---
tests/qemu-iotests/qcow2_format.py | 53 +
We are going to move field-parsing to super-class, this will be simpler
with simple string specifiers instead of variables.
For some reason, python doesn't allow the definition of ctypes variable
in the class alongside fields: it would not be available then for use
by the 'for' operator. Don't wor
Obviously, for-loop body in dump_extensions should be the dump method
of extension.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Andrey Shinkevich
---
tests/qemu-iotests/qcow2_format.py | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/test
We are going to enhance qcow2 format parsing by adding more structure
classes. Let's split format parsing from utility code.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
tests/qemu-iotests/qcow2.py| 160 +-
tests/qemu-iotests/qcow2_format.py | 173 +
We are going to introduce more Qcow2 structure types, defined like
QcowHeader. Move generic functionality into base class to be reused for
further structure classes.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Andrey Shinkevich
---
tests/qemu-iotests/qcow2_format.py | 101 +
Allow formatter class in structure definition instead of hacking with
'mask'. This will simplify further introduction of new formatters.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Andrey Shinkevich
---
tests/qemu-iotests/qcow2_format.py | 35 +-
1 file
Add classic heading, which is missing here. Keep copyright place empty,
for anyone who have added (or will add) some intellectual property
here.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
tests/qemu-iotests/qcow2.py | 16
1 file changed, 16 insertions(+)
diff --git a/tests
This will simplify further conversion. To compensate, print this empty
line directly in cmd_dump_header().
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Andrey Shinkevich
---
tests/qemu-iotests/qcow2.py| 1 +
tests/qemu-iotests/qcow2_format.py | 1 -
2 files changed, 1 insert
Fix flake8 complaints. Leave the only chunk of lines over 79 characters:
initialization of cmds variable. Leave it for another day, when it
should be refactored to utilize argparse instead of hand-written
parsing.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
tests/qemu-iotests/qcow2.py | 95 +
Use .format and f-strings instead of old %style. Also, the file uses
both '' and "" quotes, for consistency let's use '', except for cases
when we need '' inside the string (use "" to avoid extra escaping).
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Andrey Shinkevich
---
tests/qem
No need in lists: it's a constant variable.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Andrey Shinkevich
---
tests/qemu-iotests/qcow2_format.py | 40 +++---
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/tests/qemu-iotests/qcow2_format.py
суб, 6. јун 2020. у 09:32 Aleksandar Markovic
је написао/ла:
>
> уто, 2. јун 2020. у 04:40 Huacai Chen је написао/ла:
> >
> > Add Loongson-3 based machine support, it use i8259 as the interrupt
> > controler and use GPEX as the pci controller. Currently it can only
> > work with KVM, but we will
уто, 2. јун 2020. у 04:40 Huacai Chen је написао/ла:
>
> Add Loongson-3 based machine support, it use i8259 as the interrupt
> controler and use GPEX as the pci controller. Currently it can only
> work with KVM, but we will add TCG support in future.
>
> We already have a full functional Linux ker
уто, 2. јун 2020. у 04:39 Huacai Chen је написао/ла:
>
> Loongson-3 CPU family include Loongson-3A R1/R2/R3/R4 and Loongson-3B
> R1/R2. Loongson-3A R1 is the oldest and its ISA is the smallest, while
> Loongson-3A R4 is the newest and its ISA is almost the superset of all
> others. To reduce compl
05.06.2020 23:16, Eric Blake wrote:
On 6/4/20 12:41 PM, Vladimir Sementsov-Ogievskiy wrote:
No need in lists: it's a constant variable.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
tests/qemu-iotests/qcow2_format.py | 40 +++---
1 file changed, 20 insertions(+), 2
05.06.2020 23:14, Eric Blake wrote:
On 6/4/20 12:41 PM, Vladimir Sementsov-Ogievskiy wrote:
We are going to enhance qcow2 format parsing by adding more structure
classes. Let's split format parsing from utility code.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
tests/qemu-iotests/qcow2.py
Replace a deprecated DPRINTF() call by qemu_log_mask(LOG_UNIMP).
Signed-off-by: Philippe Mathieu-Daudé
---
hw/misc/auxbus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/misc/auxbus.c b/hw/misc/auxbus.c
index f8e7b97971..06aabf20c5 100644
--- a/hw/misc/auxbus.c
+++ b/hw/
05.06.2020 22:43, Eric Blake wrote:
On 6/4/20 12:41 PM, Vladimir Sementsov-Ogievskiy wrote:
Fix flake8 complains. Leave the only chunk of lines over 79 characters:
complaints
initialization of cmds variable. Leave it for another day, when it
should be refactored to utilize argparse instead o
90 matches
Mail list logo